分析组表与流表

sdn@sdn-VirtualBox:~$ 
sdn@sdn-VirtualBox:~$ 
sdn@sdn-VirtualBox:~$ 

进入debug的命令
sdn@sdn-VirtualBox:~$ 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
sdn@sdn-VirtualBox:~$ telnet 10.0.51.147
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.
sdn@sdn-VirtualBox:~$ 
Broadcast message from sdn@sdn-VirtualBox
    (/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
sdn@sdn-VirtualBox:~$ 
sdn@sdn-VirtualBox:~$ 
sdn@sdn-VirtualBox:~$ 
sdn@sdn-VirtualBox:~$ telnet 10.0.51.147
Trying 10.0.51.147...
telnet: Unable to connect to remote host: No route to host
sdn@sdn-VirtualBox:~$ 
sdn@sdn-VirtualBox:~$ 
sdn@sdn-VirtualBox:~$ 
sdn@sdn-VirtualBox:~$ 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

sdn@sdn-VirtualBox:~$ 
sdn@sdn-VirtualBox:~$ 
 

猜你喜欢

转载自blog.csdn.net/ming1093/article/details/81144146
今日推荐