分析組表與流表
[email protected]:~$
[email protected]:~$
[email protected]:~$
進入debug的命令
[email protected]:~$ ssh [email protected](10.0.51.147為源ip)
The authenticity of host '10.0.51.147 (10.0.51.147)' can't be established.
RSA key fingerprint is fa:45:de:b5:50:9b:85:5d:9f:5a:05:ee:a5:e8:1a:60.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.0.51.147' (RSA) to the list of known hosts.
ssh_rsa_verify: RSA modulus too small: 527 < minimum 768 bits
key_verify failed for server_host_key
Trying 10.0.51.147...
Connected to 10.0.51.147.
Escape character is '^]'.
*******************************************************************
* WARNING ! *
* *
* Access to this device is restricted to those individuals *
* with specific Permission. *
* *
* UNAUTHORIZED ACCESS TO THIS DEVICE IS PROHIBITED *
* *
* You must have explicit, authorized permission to access or *
* configure this device. Unauthorized attempts and actions *
* to access or use this system may result in civil and/or *
* criminal penalties. If you are not an authorized user, *
* disconnect now. Any attempts to gain unauthorized access *
* will be prosecuted to the fullest extent of the law. *
*******************************************************************
Login:raisecom
Password:
Raisecom#debug 0906
debug 0906
^
Error input in the position market by '^'.
Raisecom#config
Configuration mode, one command input per times. End with CTRL-Z.
CONFIG-I:Configured from telnet ...
Raisecom(config)#debug-hide 0906
debug-hide 0906
^
Error input in the position market by '^'.
Raisecom(config)#
Raisecom(config)#
Raisecom(config)#
Raisecom(config)#exit
Raisecom#debug-hide 0906
Raisecom(debug)#
Raisecom(debug)#
Raisecom(debug)#flowtable dump(檢視流表)
Table ID 10 (VLAN): Retrieving up to 200 entries. Max entries = 128, Current entries = 3 ,offset = 0.
-- index(0) inPort = 3 vlanId:mask = 0x107b:0x1fff (VLAN 123) | GoTo = 13 (MPLS L2 Port) mplsL2Port = 0x1 tunnelId = 0x10001 mplsType = 0x1 | priority = 0 cookie = 21 hard_time = 0 idle_time = 0
##Stats:durationSec = 3499 ,revBytes = 0x0,revPkt = 0x0
-- index(1) inPort = 3 vlanId:mask = 0x11c8:0x1fff (VLAN 456) | GoTo = 13 (MPLS L2 Port) mplsL2Port = 0x1 tunnelId = 0x10002 mplsType = 0x1 | priority = 0 cookie = 26 hard_time = 0 idle_time = 0(在這些流組表中根據vlanid可以找出所建立的流表,然後根據)
##Stats:durationSec = 2541 ,revBytes = 0x0,revPkt = 0x0
-- index(2) inPort = 4 vlanId:mask = 0x1002:0x1fff (VLAN 2) | GoTo = 20 (Termination MAC) | priority = 0 cookie = 19 hard_time = 0 idle_time = 0
##Stats:durationSec = 3537 ,revBytes = 0x0,revPkt = 0x0
Table ID 13 (MPLS L2 Port): Retrieving up to 197 entries. Max entries = 128, Current entries = 2 ,offset = 0.
-- index(0) mplsL2Port:mask = 0x00000001:0xffffffff etherType:mask = 0x00000000:0x00000000 tunnelId = 0x10001 | GoTo = 17 (MPLS L2 Port QoS Class) groupId = 0x91000000 | priority = 0 cookie = 22 hard_time = 0 idle_time = 0
##Stats:durationSec = 3499 ,revBytes = 0x0,revPkt = 0x0
-- index(1) mplsL2Port:mask = 0x00000001:0xffffffff etherType:mask = 0x00000000:0x00000000 tunnelId = 0x10002 | GoTo = 17 (MPLS L2 Port QoS Class) groupId = 0x91000001 | priority = 0 cookie = 27 hard_time = 0 idle_time = 0
##Stats:durationSec = 2541 ,revBytes = 0x0,revPkt = 0x0
Table ID 20 (Termination MAC): Retrieving up to 195 entries. Max entries = 64, Current entries = 1 ,offset = 0.
-- index(0) inPort:mask = 4:0xffffffff etherType = 0x8847 destMac:mask = c850.e994.81dd:ffff.ffff.ffff vlanId:mask = 0x1002:0x1fff(VLAN 2) | GoTo = 24 (MPLS 1) outPort = 0 | priority = 0 cookie = 18 hard_time = 0 idle_time = 0
##Stats:durationSec = 3538 ,revBytes = 0x0,revPkt = 0x0
Table ID 24 (MPLS 1): Retrieving up to 194 entries. Max entries = 192, Current entries = 3 ,offset = 0.
-- index(0) tableId = 24 etherType = 0x8847 BoS = TRUE mplsLabel = 1024 inPort:mask = 0:0x0 mplsTtl:mask = 0:0x0 mplsDataFirstNibble:mask = 0:0x0 mplsAchChannel:mask = 0x0:0x0 nextLabelIsGal:mask = 0:0x0 dstIp4 = 0.0.0.0/0.0.0.0 dstIp6 = ::/:: ipProto:mask = 0:0x0 udpSrcPort:mask = 0:0x0 udpDstPort:mask = 0:0x0 | GoTo = 29 (MPLS Type) popLabel newEtherType = 0x6558 decrementTtl mplsL2Port = 0x00020001 tunnelId = 0x10001(65537) popCw popL2Header protectionId = 1 mplsType = 1 groupId = 0x007b0003 outPort = 0x00000000 | priority = 0 cookie = 20 hard_time = 0 idle_time = 0
##Stats:durationSec = 3501 ,revBytes = 0x0,revPkt = 0x0
-- index(1) tableId = 24 etherType = 0x8847 BoS = FALSE mplsLabel = 1025 inPort:mask = 0:0x0 mplsTtl:mask = 0:0x0 mplsDataFirstNibble:mask = 0:0x0 mplsAchChannel:mask = 0x0:0x0 nextLabelIsGal:mask = 0:0x0 dstIp4 = 0.0.0.0/0.0.0.0 dstIp6 = ::/:: ipProto:mask = 0:0x0 udpSrcPort:mask = 0:0x0 udpDstPort:mask = 0:0x0 | GoTo = 25 (MPLS 2) popLabel newEtherType = 0x8847 copyTcIn colorBasedCountAction = 1 colorBasedCountId = 11 groupId = 0x00000000 outPort = 0x00000000 | priority = 0 cookie = 17 hard_time = 0 idle_time = 0
##Stats:durationSec = 3538 ,revBytes = 0x0,revPkt = 0x0
-- index(2) tableId = 24 etherType = 0x8847 BoS = TRUE mplsLabel = 1026 inPort:mask = 0:0x0 mplsTtl:mask = 0:0x0 mplsDataFirstNibble:mask = 0:0x0 mplsAchChannel:mask = 0x0:0x0 nextLabelIsGal:mask = 0:0x0 dstIp4 = 0.0.0.0/0.0.0.0 dstIp6 = ::/:: ipProto:mask = 0:0x0 udpSrcPort:mask = 0:0x0 udpDstPort:mask = 0:0x0 | GoTo = 29 (MPLS Type) popLabel newEtherType = 0x6558 decrementTtl mplsL2Port = 0x00020001 tunnelId = 0x10002(65538) popCw popL2Header protectionId = 1 mplsType = 1 groupId = 0x01c80003 outPort = 0x00000000 | priority = 0 cookie = 25 hard_time = 0 idle_time = 0
##Stats:durationSec = 2542 ,revBytes = 0x0,revPkt = 0x0
Raisecom(debug)#grouptable dump gourpid 0x91000001
grouptable dump gourpid 0x91000001
^
Error input in the position market by '^'.
Raisecom(debug)#grouptable dump
grouptable dump
^
Error input in the position market by '^'.
Raisecom(debug)#group-table dump groupid 0x91000001
Bucket entry list for group id = 0x91000001 (MPLS Label, Sub-type = MPLS L2 VPN Label, Index = 1):
refCount = 1
bucket index = 0
RefGroupId = 0x93000000
push L2 header flag = 1
newTpid = 0
push VLAN flag = 0
push MPLS header flag = 1
mplsEtherType = 0x8847
push Control Word flag = 1
MPLS Label = 1026
MPLS mplsEXPAction = 1
MPLS EXP = 0
MPLS EXP = 0
Copy EXP outwards flag = 0
remarkTableIndexAction = 0
remarkTableIndex = 0
mplsTTLAction = 1
mplsTTL = 255
Copy TTL outwards flag = 0
lmepIdAction = 0
lmepId = 0
oamLmTxCountAction = 0
Raisecom(debug)#
Raisecom(debug)#
Raisecom(debug)#
Raisecom(debug)#group-table dump groupid 0x93000000
Bucket entry list for group id = 0x93000000 (MPLS Label, Sub-type = MPLS Tunnel Label1, Index = 0):
refCount = 2
bucket index = 0
RefGroupId = 0x90000000
push L2 header flag = 0
newTpid = 0
push VLAN flag = 0
push MPLS header flag = 1
mplsEtherType = 0x8847
push Control Word flag = 0
MPLS Label = 1026
MPLS mplsEXPAction = 0
MPLS EXP = 0
MPLS EXP = 0
Copy EXP outwards flag = 1
remarkTableIndexAction = 0
remarkTableIndex = 0
mplsTTLAction = 1
mplsTTL = 255
Copy TTL outwards flag = 1
lmepIdAction = 0
lmepId = 0
oamLmTxCountAction = 0
Raisecom(debug)#
Raisecom(debug)#
Raisecom(debug)#
Raisecom(debug)#group-table dump groupid 0x90000000
Bucket entry list for group id = 0x90000000 (MPLS Label, Sub-type = MPLS Interface, Index = 0):
refCount = 1
bucket index = 0
RefGroupId = 0x20004
VLANId = 0x1002(2)
Src MAC: C8:50:E9:94:81:DD
Dst MAC: C8:50:E9:94:81:E4
lmepIdAction = 0
lmepId = 0
oamLmTxCountAction = 0
Raisecom(debug)#
Raisecom(debug)#
Raisecom(debug)#
Raisecom(debug)#
Raisecom(debug)#Connection closed by foreign host.
[email protected]:~$
Broadcast message from [email protected]
(/dev/pts/26) at 11:07 ...
The system is going down for reboot NOW!
Socket error Event: 32 Error: 10053.
Connection closing...Socket close.
Connection closed by foreign host.
Disconnected from remote host(172.16.110.43) at 11:08:03.
Type `help' to learn how to use Xshell prompt.
[C:\~]$
[C:\~]$
[C:\~]$
[C:\~]$
[C:\~]$
[C:\~]$
[C:\~]$
[C:\~]$
[C:\~]$ R
'R' 不是內部或外部命令,也不是可執行的程式
或批處理檔案。
[C:\~]$
[C:\~]$
[C:\~]$ ping 172.16.110.43
正在 Ping 172.16.110.43 具有 32 位元組的資料:
來自 172.16.110.43 的回覆: 位元組=32 時間=1ms TTL=63
172.16.110.43 的 Ping 統計資訊:
資料包: 已傳送 = 1,已接收 = 1,丟失 = 0 (0% 丟失),
往返行程的估計時間(以毫秒為單位):
最短 = 1ms,最長 = 1ms,平均 = 1ms
[C:\~]$ R
Connecting to 172.16.110.43:22...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.
Welcome to Ubuntu 14.04.4 LTS (GNU/Linux 4.2.0-27-generic x86_64)
* Documentation: https://help.ubuntu.com/
437 packages can be updated.
330 updates are security updates.
New release '16.04.4 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
Last login: Sat Jul 21 11:08:31 2018 from 172.16.70.60
[email protected]:~$
[email protected]:~$
[email protected]:~$
[email protected]:~$ telnet 10.0.51.147
Trying 10.0.51.147...
telnet: Unable to connect to remote host: No route to host
[email protected]:~$
[email protected]:~$
[email protected]:~$
[email protected]:~$ ping 10.0.51.147
PING 10.0.51.147 (10.0.51.147) 56(84) bytes of data.
^C
--- 10.0.51.147 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1009ms
相關推薦
分析組表與流表
[email protected]:~$ [email protected]:~$ [email protected]:~$ 進入debug的命令[email protected]:~$ ssh [email prot
Hive中小表與大表關聯(join)的效能分析
經常看到一些Hive優化的建議中說當小表與大表做關聯時,把小表寫在前面,這樣可以使Hive的關聯速度更快,提到的原因都是說因為小表可以先放到記憶體中,然後大表的每條記錄再去記憶體中檢測,最終完成關聯查詢。這樣的原因看似合理,但是仔細推敲,又站不住腳跟。 多小的表算小表?如果所謂的小表在記憶體中放不下怎麼辦
數據結構Java實現01----線性表與順序表
mage itl 順序表的初始化 測試 for html blank 一個數 exc 一、線性結構: 如果一個數據元素序列滿足: (1)除第一個和最後一個數據元素外,每個數據元素只有一個前驅數據元素和一個後繼數據元素; (2)第一個數據元素沒有前驅數據元素; (3)最後一個
縱表與橫表互轉實例
sum 代碼 sql help blog 所有 .cn light div 1.縱表轉橫表: 縱表結構:Table1 轉換後的橫表結構: Sql示例代碼: ? 1 2 3 4 5 6 7 8 9 10 11 select username, sum
臨時表與中間表
原來 初始 log 自增字段 完成 存儲 刪除索引 隱式 臨時 外部臨時表: 通過CREATE TEMPORARY TABLE 創建的臨時表,這種臨時表稱為外部臨時表。這種臨時表只對當前用戶可見,當前會話結束的時候,該臨時表會自動關閉。這種臨時表的命名與非臨時表可以同名(同
SQL縱表與橫表互轉
padding else 結束 esc ase when sum -a order 1.縱表轉橫表: 縱表結構:Table1 轉換後的橫表結構: Sql示例代碼: select username, sum(case Course when ‘語文‘ t
Hive 內部表 與 外部表
Hive中的表又分為內部表和外部表 ,Hive 中的每張表對應於HDFS上的一個資料夾,HDFS目錄為:/user/hadoop/hive/warehouse/[databasename.db]/table 內部表 建立語句 這裡我們採用從之前表中複製表結構和資料 creat
RIB表與FIB表、ARP表與FDB表
1.RIB與FIB的區別: RIB:路由表 FIB:轉發資訊表 FIB表更多是出現在需要快速轉發的路由器上,這種路由器上的路由表條目通常都達成千上萬條,如果按照傳統的檢索路由表進行轉發的方式,其轉發效率很低,FIB表作為路由表的一種精簡形式出現,通常只記錄常用的表項。當需要選
線性表之順序表與單鏈表的區別及優缺點
這裡比較的是基於C語言實現的順序表與單鏈表,與其他語言的實現可能會有差異,但我相信語言是相通的,它們的實現機制應該也差不多。 1、What 什麼是順序表和單鏈表 ①順序表: 順序表是在計算機記憶體中以陣列的形式儲存的線性表,是指用一組地址連續的儲存單元依
作業系統(九) -- 多級頁表與快表
單級頁表的缺點 前面說了為了提高記憶體的利用率,記憶體是分頁管理的,並且有一個頁表用來儲存頁號與頁框的對應關係。這個思想理論上是沒有問題的,但是實際使用的時候就不行了,為什麼? 為了更好的提高記憶體的利用率,每一頁就應該做得足夠小,但是每一頁都要在頁表裡面有一
【TDH】HBase表與Hyperdriver表的問題
最近在使用星環TDH操作HBase表的時候遇到了一些問題,故整理如下,以供後續參考~ 一、底層進位制轉換 【問題描述】 1、在inceptor中建立hyperdriver表,並插入測試資料,如下圖所示: 2、在hbase shell中執行scan命令進行檢
刪除一堆資料中重複資料的兩種方法(單鏈表與線性表)c++
前言 第一次寫部落格,問題雖然簡單,但是我寫的很認真的,,儘量將自己的思路寫的清晰,大神若路過請不要見笑(還望多多指點),真誠的希望我寫的東西能幫助到一些 人,有問題或錯誤都可以提,讓我們共同進步! 1.問題概述 在一堆資料中可能存在重複的資料,請將重
Hive 中內部表與外部表的區別與建立方法
先來說下Hive中內部表與外部表的區別:1)建立表時:建立內部表時,會將資料移動到資料倉庫指向的路徑;若建立外部表,僅記錄資料所在的路徑,不對資料的位置做任何改變。 2)刪除表時:在刪除表的時候,內部表的元資料和資料會被一起刪除,而外部表只刪除元資料,不刪除資料。這樣外部表
Hive內部表與外部表(外部表使用場景)
官網解釋 Managed and External Tables By default Hive creates managed tables, where files, metadata and statistics are managed by inter
對於不能join的表,使用for all entries in語句將該表與內表串聯。
像bseg這樣的表不是transparent table所以不能做inner join。在這種情況下,可以先從其他表中選出資料放到itab中,然後使用for all entries 語句來串聯。 如下: SELECT bseg~kunnr bseg~lifnr bseg~
《MySQL資料庫》之練習表資料:emp表與dept表的指令碼整理
一、Oracle版本 1、dept表 drop table dept; CREATE TABLE dept( deptno NUMBER(2), dname VARCHAR2(14) , loc VA
ABAP 開發系列(05): ABAP 內表與內表結構
2.內表和內表結構 2.1.1 結構體的定義 ABAP 中可以定義結構來包含多個基本型別,便於整理及操作; 結構體不屬於資料字典物件(資料字典中可以定義結構體,但不能儲存資料),在程式執行時會被作為臨時物件儲存在記憶體空間; 在建立內表時,可參考直接定義的結構體作為內表結
hive的內部表與外部表建立
最近才接觸Hive。學到了一些東西,就先記下來,免得以後忘了。 1.建立表的語句:Create [EXTERNAL] TABLE [IF NOT EXISTS] table_name [(col_name data_type [COMMENT col_comment], .
線性表之順序表與單鏈表的區別與優缺點
這裡比較的是基於C語言實現的順序表與單鏈表,與其他語言的實現可能會有差異,但我相信語言是相通的,它們的實現機制應該也差不多。 1、What 什麼是順序表和單鏈表 ①順序表: 順序表是在計算機記憶體中以陣列的形式儲存的線性表,是指用一組地址連續的儲存單元依次儲存資
Hive內部表與外部表
一、在Hive中建立表時,無external修飾的是內部表(managed table),有external修飾的是外部表(external table): 1、內部表的資料是Hive自身管理,外部表資