查看流组表

先不要学查看流组表,最好的方法就是在界面上查看再在线路侧抓包分析,但以下是查看流组表的方法

Xshell 6 (Build 0089)
Copyright (c) 2002 NetSarang Computer, Inc. All rights reserved.

Type `help' to learn how to use Xshell prompt.
[C:\~]$ 

Connecting to 172.16.110.45:22...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.

Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.15.0-29-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

206 个可升级软件包。
0 个安全更新。

Last login: Thu Jul 26 11:08:03 2018 from 172.16.70.15
sdn@sdn-ThinkPad-T460:~$ telnet 10.0.51.47
Trying 10.0.51.47...
telnet: Unable to connect to remote host: No route to host
sdn@sdn-ThinkPad-T460:~$ 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-hide 0906
Raisecom(debug)#flowtable dump

Table ID 10 (VLAN):   Retrieving up to 200 entries. Max entries = 128, Current entries = 6 ,offset = 0.
-- index(0) inPort = 4 vlanId:mask = 0x1002:0x1fff (VLAN 2) | GoTo = 20 (Termination MAC) | priority = 0 cookie = 15 hard_time = 0 idle_time = 0
##Stats:durationSec = 80367 ,revBytes = 0x0,revPkt = 0x0

-- index(1) inPort = 5 vlanId:mask = 0x1002:0x1fff (VLAN 2) | GoTo = 20 (Termination MAC) | priority = 0 cookie = 21 hard_time = 0 idle_time = 0
##Stats:durationSec = 77244 ,revBytes = 0x0,revPkt = 0x0

-- index(2) inPort = 5 vlanId:mask = 0x1003:0x1fff (VLAN 3) | GoTo = 20 (Termination MAC) | priority = 0 cookie = 39 hard_time = 0 idle_time = 0
##Stats:durationSec = 1888 ,revBytes = 0x0,revPkt = 0x0

-- index(3) inPort = 6 vlanId:mask = 0x102d:0x1fff (VLAN 45) | GoTo = 13 (MPLS L2 Port) mplsL2Port = 0x1 tunnelId = 0x10003 mplsType = 0x1 | priority = 0 cookie = 41 hard_time = 0 idle_time = 0
##Stats:durationSec = 1886 ,revBytes = 0x0,revPkt = 0x0

-- index(4) inPort = 6 vlanId:mask = 0x106e:0x1fff (VLAN 110) | GoTo = 13 (MPLS L2 Port) mplsL2Port = 0x1 tunnelId = 0x10002 mplsType = 0x1 | priority = 0 cookie = 23 hard_time = 0 idle_time = 0
##Stats:durationSec = 77243 ,revBytes = 0x0,revPkt = 0x0

-- index(5) inPort = 6 vlanId:mask = 0x106f:0x1fff (VLAN 111) | GoTo = 13 (MPLS L2 Port) mplsL2Port = 0x1 tunnelId = 0x10001 mplsType = 0x1 | priority = 0 cookie = 17 hard_time = 0 idle_time = 0
##Stats:durationSec = 80365 ,revBytes = 0x0,revPkt = 0x0

Table ID 13 (MPLS L2 Port):   Retrieving up to 194 entries. Max entries = 128, Current entries = 3 ,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 = 18 hard_time = 0 idle_time = 0
##Stats:durationSec = 80380 ,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 = 24 hard_time = 0 idle_time = 0
##Stats:durationSec = 77257 ,revBytes = 0x0,revPkt = 0x0

-- index(2) mplsL2Port:mask = 0x00000001:0xffffffff etherType:mask = 0x00000000:0x00000000 tunnelId = 0x10003 | GoTo = 17 (MPLS L2 Port QoS Class) groupId = 0x91000002 | priority = 0 cookie = 42 hard_time = 0 idle_time = 0
##Stats:durationSec = 1901 ,revBytes = 0x0,revPkt = 0x0

Table ID 20 (Termination MAC):   Retrieving up to 191 entries. Max entries = 64, Current entries = 3 ,offset = 0.
-- index(0) inPort:mask = 4:0xffffffff etherType = 0x8847 destMac:mask = c850.e994.81b3:ffff.ffff.ffff vlanId:mask = 0x1002:0x1fff(VLAN 2) | GoTo = 24 (MPLS 1) outPort = 0 | priority = 0 cookie = 14 hard_time = 0 idle_time = 0
##Stats:durationSec = 80382 ,revBytes = 0x0,revPkt = 0x0

-- index(1) inPort:mask = 5:0xffffffff etherType = 0x8847 destMac:mask = c850.e994.81b3:ffff.ffff.ffff vlanId:mask = 0x1002:0x1fff(VLAN 2) | GoTo = 24 (MPLS 1) outPort = 0 | priority = 0 cookie = 20 hard_time = 0 idle_time = 0
##Stats:durationSec = 77259 ,revBytes = 0x0,revPkt = 0x0

-- index(2) inPort:mask = 5:0xffffffff etherType = 0x8847 destMac:mask = c850.e994.81b3:ffff.ffff.ffff vlanId:mask = 0x1003:0x1fff(VLAN 3) | GoTo = 24 (MPLS 1) outPort = 0 | priority = 0 cookie = 38 hard_time = 0 idle_time = 0
##Stats:durationSec = 1903 ,revBytes = 0x0,revPkt = 0x0

Table ID 24 (MPLS 1):   Retrieving up to 188 entries. Max entries = 192, Current entries = 6 ,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 = 0x006f0006 outPort = 0x00000000 | priority = 0 cookie = 16 hard_time = 0 idle_time = 0
##Stats:durationSec = 80382 ,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 = 13 hard_time = 0 idle_time = 0
##Stats:durationSec = 80385 ,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 = 0x006e0006 outPort = 0x00000000 | priority = 0 cookie = 22 hard_time = 0 idle_time = 0
##Stats:durationSec = 77260 ,revBytes = 0x0,revPkt = 0x0

-- index(3) tableId = 24 etherType = 0x8847 BoS = FALSE mplsLabel = 1027 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 = 13 groupId = 0x00000000 outPort = 0x00000000 | priority = 0 cookie = 19 hard_time = 0 idle_time = 0
##Stats:durationSec = 77262 ,revBytes = 0x0,revPkt = 0x0

-- index(4) tableId = 24 etherType = 0x8847 BoS = TRUE mplsLabel = 1028 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 = 0x10003(65539) popCw popL2Header protectionId = 1 mplsType = 1 groupId = 0x002d0006 outPort = 0x00000000 | priority = 0 cookie = 40 hard_time = 0 idle_time = 0
##Stats:durationSec = 1904 ,revBytes = 0x0,revPkt = 0x0

-- index(5) tableId = 24 etherType = 0x8847 BoS = FALSE mplsLabel = 1029 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 = 15 groupId = 0x00000000 outPort = 0x00000000 | priority = 0 cookie = 37 hard_time = 0 idle_time = 0
##Stats:durationSec = 1905 ,revBytes = 0x0,revPkt = 0x0


Raisecom(debug)# grouptable dump 
 grouptable dump 
      ^
Error input in the position market by '^'.
Raisecom(debug)#
Raisecom(debug)#
Raisecom(debug)# group-table dump groupid  0x91000000

Bucket entry list for group id = 0x91000000 (MPLS Label, Sub-type = MPLS L2 VPN Label, Index = 0):
    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 = 1024
    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)# group-table dump                    

Group Table List:
    groupId = 0x20004 (L2 Interface, VLAN ID = 2, Port ID = 4)
    groupId = 0x20005 (L2 Interface, VLAN ID = 2, Port ID = 5)
    groupId = 0x30005 (L2 Interface, VLAN ID = 3, Port ID = 5)
    groupId = 0x2d0006 (L2 Interface, VLAN ID = 45, Port ID = 6)
    groupId = 0x6e0006 (L2 Interface, VLAN ID = 110, Port ID = 6)
    groupId = 0x6f0006 (L2 Interface, VLAN ID = 111, Port ID = 6)
    groupId = 0x90000000 (MPLS Label, Sub-type = MPLS Interface, Index = 0)
    groupId = 0x90000001 (MPLS Label, Sub-type = MPLS Interface, Index = 1)
    groupId = 0x90000002 (MPLS Label, Sub-type = MPLS Interface, Index = 2)
    groupId = 0x91000000 (MPLS Label, Sub-type = MPLS L2 VPN Label, Index = 0)
    groupId = 0x91000001 (MPLS Label, Sub-type = MPLS L2 VPN Label, Index = 1)
    groupId = 0x91000002 (MPLS Label, Sub-type = MPLS L2 VPN Label, Index = 2)VPN Lable是代表PW标签

    groupId = 0x93000000 (MPLS Label, Sub-type = MPLS Tunnel Label1, Index = 0)
    groupId = 0x93000001 (MPLS Label, Sub-type = MPLS Tunnel Label1, Index = 1)
    groupId = 0x93000002 (MPLS Label, Sub-type = MPLS Tunnel Label1, Index = 2)Tunnel Label代表的lsp标签

Raisecom(debug)#
Raisecom(debug)#
Raisecom(debug)#
Raisecom(debug)# group-table dump

Group Table List:
    groupId = 0x20004 (L2 Interface, VLAN ID = 2, Port ID = 4)
    groupId = 0x20005 (L2 Interface, VLAN ID = 2, Port ID = 5)
    groupId = 0x30005 (L2 Interface, VLAN ID = 3, Port ID = 5)
    groupId = 0x2d0006 (L2 Interface, VLAN ID = 45, Port ID = 6)
    groupId = 0x6e0006 (L2 Interface, VLAN ID = 110, Port ID = 6)
    groupId = 0x6f0006 (L2 Interface, VLAN ID = 111, Port ID = 6)
    groupId = 0x90000000 (MPLS Label, Sub-type = MPLS Interface, Index = 0)
    groupId = 0x90000001 (MPLS Label, Sub-type = MPLS Interface, Index = 1)
    groupId = 0x90000002 (MPLS Label, Sub-type = MPLS Interface, Index = 2)
    groupId = 0x91000000 (MPLS Label, Sub-type = MPLS L2 VPN Label, Index = 0)
    groupId = 0x91000001 (MPLS Label, Sub-type = MPLS L2 VPN Label, Index = 1)
    groupId = 0x91000002 (MPLS Label, Sub-type = MPLS L2 VPN Label, Index = 2)
    groupId = 0x93000000 (MPLS Label, Sub-type = MPLS Tunnel Label1, Index = 0)
    groupId = 0x93000001 (MPLS Label, Sub-type = MPLS Tunnel Label1, Index = 1)
    groupId = 0x93000002 (MPLS Label, Sub-type = MPLS Tunnel Label1, Index = 2)
Raisecom(debug)# group-table dump groupid  0x93000000

Bucket entry list for group id = 0x93000000 (MPLS Label, Sub-type = MPLS Tunnel Label1, Index = 0):
    refCount = 1
    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 = 1025
    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)#
 

猜你喜欢

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