daily pastebin goal
37%
SHARE
TWEET

Untitled

a guest Jan 16th, 2019 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. user@tar2:~/rt_scripts$ ./p2p_qinq_UNI-to-NNI_debug.sh 172.17.9.42 25 101 1 100cc 910100cc
  2. Table 10
  3. --  inPort = 25 (Physical)  vlanId:mask = 0x1065:0x1fff (VLAN 101) | GoTo = 11 (VLAN 1) popVlanAction ovid = 4197 | priority = 32768 hard_time = 0 idle_time = 0 cookie = 504966108218917075
  4.  
  5. Table 11
  6. --  inPort = 25 (Physical)  vlanId = 0x1001 (VLAN 1) ovid = 0x1065 (VLAN 101) | GoTo = 13 (MPLS L2 Port) newVlanId = 0x1001 (VLAN 1) newTpid2 = 0x8100 newVlanId2 = 0x1065 (VLAN 101) mplsL2Port = 0xcc tunnelId = 0x100cc | priority = 32768 hard_time = 0 idle_time = 0 cookie = 504966108218917068
  7.  
  8. Table 13
  9. --  mplsL2Port:mask = 0x000000cc:0xffffffff tunnelId = 0x100cc | GoTo = 16 (MPLS PCP Trust) QOS Index = 6 groupId = 0x910100cc | priority = 32768 hard_time = 0 idle_time = 0 cookie = 504966108218917068
  10.  
  11. Groups
  12. Switch group types statistics:
  13. Total groups: 1578
  14. Type:MPLS Fast Failover Num: 4
  15. Type:MPLS L2 VPN Label Num: 700
  16. Type:L3 Unicast Num: 3
  17. Type:MPLS Swap Label Num: 4
  18. Type:MPLS VPLS Flood Num: 200
  19. Type:MPLS Tunnel Label1 Num: 8
  20. Type:L2 Interface Num: 256
  21. Type:MPLS Interface Num: 3
  22. Type:MPLS VPLS Customer Num: 200
  23. Type:MPLS VPLS Provider Num: 200
  24.  
  25. Chain for groupId 0x910100cc:
  26. groupId = 0x910100cc (MPLS Label, Sub-type = MPLS L2 VPN Label, Index = 65740): duration: 3167, refCount:1
  27.         bucketIndex = 0: referenceGroupId = 0xa6014030 pushL2Hdr = 1 pushVlan = 1 newTpid = 0x8100 pushMplsHdr = 1 pushCW = 1 mplsLabel = 0xf0114 mplsBOS = 1 mplsEXPAction = 0 mplsEXP = 0 mplsCopyEXPOutwards = 0 remarkTableIndexAction = 1 RemarkTableIndex = 0 mplsTTLAction = 1 mplsTTL = 250 mplsCopyTTLOutwards = 0 lmepIdAction = 0 lmepId = 0 oamLmTxCountAction = 0 colorBasedCountAction = 0 colorBasedCountId = 0
  28.         groupId = 0xa6014030 (MPLS Forwarding, Sub-type = MPLS Fast Failover, Index = 81968): duration: 3170, refCount:600 !!! FF-group for path from switch 5 to switch 3
  29.                 bucketIndex = 0: referenceGroupId = 0x93014030 watchPort = 1 (Physical)
  30.                 groupId = 0x93014030 (MPLS Label, Sub-type = MPLS Tunnel Label1, Index = 81968): duration: 122, refCount:1 !!! MPLS Tunnel group for service from switch 5 to switch 3
  31.                         bucketIndex = 0: referenceGroupId = 0x90000001 pushL2Hdr = 0 pushVlan = 0 newTpid = 0x0000 pushMplsHdr = 1 pushCW = 0 mplsLabel = 0x1f mplsBOS = 0 mplsEXPAction = 0 mplsEXP = 0 mplsCopyEXPOutwards = 0 remarkTableIndexAction = 1 RemarkTableIndex = 0 mplsTTLAction = 0 mplsTTL = 0 mplsCopyTTLOutwards = 0 lmepIdAction = 0 lmepId = 0 oamLmTxCountAction = 0 colorBasedCountAction = 0 colorBasedCountId = 0
  32.                         groupId = 0x90000001 (MPLS Label, Sub-type = MPLS Interface, Index = 1): duration: 3163, refCount:4 !!! MPLS IF group to vlan=0, port=1
  33.                                 bucketIndex = 0: referenceGroupId = 0x03e80001 oamLmTxCountAction = 0 vlanId = 0x13e8 (VLAN 1000) lmepIdAction = 0 lmepId = 0 srcMac: 00:00:00:AB:A6:01 dstMac: 00:00:00:AB:A4:02
  34.                                 groupId = 0x03e80001 (L2 Interface, VLAN ID = 1000, Port ID = 1): duration: 3163, refCount:1
  35.                                         bucketIndex = 0: outputPort = 1 (Physical) popVlanTag = 0 allowVlanTranslation = 0
  36.                 bucketIndex = 1: referenceGroupId = 0x93014031 watchPort = 2 (Physical)
  37.                 groupId = 0x93014031 (MPLS Label, Sub-type = MPLS Tunnel Label1, Index = 81969): duration: 122, refCount:1 !!! MPLS Tunnel group for service from switch 5 to switch 3
  38.                         bucketIndex = 0: referenceGroupId = 0x90000002 pushL2Hdr = 0 pushVlan = 0 newTpid = 0x0000 pushMplsHdr = 1 pushCW = 0 mplsLabel = 0x710 mplsBOS = 0 mplsEXPAction = 0 mplsEXP = 0 mplsCopyEXPOutwards = 0 remarkTableIndexAction = 1 RemarkTableIndex = 0 mplsTTLAction = 0 mplsTTL = 0 mplsCopyTTLOutwards = 0 lmepIdAction = 0 lmepId = 0 oamLmTxCountAction = 0 colorBasedCountAction = 0 colorBasedCountId = 0
  39.                         groupId = 0x90000002 (MPLS Label, Sub-type = MPLS Interface, Index = 2): duration: 3169, refCount:5 !!! MPLS IF group to vlan=0, port=2
  40.                                 bucketIndex = 0: referenceGroupId = 0x03e80002 oamLmTxCountAction = 0 vlanId = 0x13e8 (VLAN 1000) lmepIdAction = 0 lmepId = 0 srcMac: 00:00:00:AB:A6:02 dstMac: 00:00:00:AB:A5:02
  41.                                 groupId = 0x03e80002 (L2 Interface, VLAN ID = 1000, Port ID = 2): duration: 3169, refCount:1
  42.                                         bucketIndex = 0: outputPort = 2 (Physical) popVlanTag = 0 allowVlanTranslation = 0
  43.  
  44.  
  45. user@tar2:~/rt_scripts$ ./p2p_qinq_NNI-to-UNI_debug.sh 172.17.9.43 2 f0114 00650019
  46. Table 10
  47. --  inPort = 2 (Physical)  vlanId:mask = 0x1007:0x1fff (VLAN 7) | GoTo = 20 (Termination MAC) | priority = 1 hard_time = 0 idle_time = 0 cookie = 1152921607686062080
  48. --  inPort = 2 (Physical)  vlanId:mask = 0x13e7:0x1fff (VLAN 999) | GoTo = 20 (Termination MAC) vrf = 2 | priority = 24576 hard_time = 0 idle_time = 0 cookie = 4611686018427387904
  49. --  inPort = 2 (Physical)  vlanId:mask = 0x13e8:0x1fff (VLAN 1000) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 0
  50.  
  51. Table 20
  52. --  inPort:mask = 2:0xffffffff etherType = 0x0800 destMac:mask = 0000.0000.a102:ffff.ffff.ffff vlanId:mask = 0x0000:0x0000 (VLAN 0) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical)  | priority = 24576 hard_time = 0 idle_time = 0 cookie = 4611686018427387904
  53. --  inPort:mask = 2:0xffffffff etherType = 0x8847 destMac:mask = 0000.0000.0000:ffff.ffff.ffff vlanId:mask = 0x13e8:0x1fff (VLAN 1000) | GoTo = 23 (MPLS 0) outPort = 0 (Physical)  | priority = 24576 hard_time = 0 idle_time = 0 cookie = 0
  54. --  inPort:mask = 2:0xffffffff etherType = 0x8847 destMac:mask = 0000.00ab.a402:ffff.ffff.ffff vlanId:mask = 0x13e8:0x1fff (VLAN 1000) | GoTo = 23 (MPLS 0) outPort = 0 (Physical)  | priority = 32768 hard_time = 0 idle_time = 0 cookie = 0
  55.  
  56. Table 23
  57. Table ID 23 (MPLS 0):   Retrieving all entries. Max entries = 512, Current entries = 1.
  58. --  tableId = 23 etherType = 0x8847 BoS = FALSE mplsLabel = 0x1f 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 = 24 (MPLS 1) popLabel newEtherType = 0x8847 groupId = 0x00000000 outPort = 0 (Physical)  | priority = 15 hard_time = 0 idle_time = 0 cookie = 756604737398243328
  59.  
  60.  
  61. Table 24
  62. --  tableId = 24 etherType = 0x8847 BoS = TRUE mplsLabel = 0xf0114 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 = 28 (MPLS Label Trust) popLabel newEtherType = 0x8100 decrementTtl mplsL2Port = 0x000200cc tunnelId = 0x000100cc qosIndex = 0 copyFieldAction 1 popCw popL2Header mplsType = 1 (VPWS) groupId = 0x00650019 outPort = 0 (Physical)  | priority = 32768 hard_time = 0 idle_time = 0 cookie = 504966108218917068
  63.  
  64. Groups
  65. Switch group types statistics:
  66. Total groups: 1286
  67. Type:MPLS Fast Failover Num: 6
  68. Type:MPLS L2 VPN Label Num: 700
  69. Type:L3 Unicast Num: 3
  70. Type:MPLS Swap Label Num: 10
  71. Type:MPLS VPLS Flood Num: 100
  72. Type:MPLS Tunnel Label1 Num: 8
  73. Type:L2 Interface Num: 156
  74. Type:MPLS Interface Num: 3
  75. Type:MPLS VPLS Customer Num: 100
  76. Type:MPLS VPLS Provider Num: 200
  77.  
  78. Chain for groupId 0x00650019:
  79. groupId = 0x00650019 (L2 Interface, VLAN ID = 101, Port ID = 25): duration: 3246, refCount:0
  80.         bucketIndex = 0: outputPort = 25 (Physical) popVlanTag = 0 allowVlanTranslation = 0
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top