Advertisement
Guest User

Untitled

a guest
May 22nd, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.26 KB | None | 0 0
  1. AR3p10 -> DR1p100
  2.  
  3. user@nms:~/rt_scripts$ ./p2p_q_or_qinq_UNI_to_NNI_debug.sh 172.17.10.85 10 526
  4. Table 10
  5. -- inPort = 10 (Physical) vlanId:mask = 0x120e:0x1fff (VLAN 526) | GoTo = 13 (MPLS L2 Port) newVlanId = 0x1fff (VLAN 4095) newTpid2 = 0x8100 newVlanId2 = 0x1fff (VLAN 4095) mplsL2Port = 0x4 tunnelId = 0x10004 mplsType = 1 (VPWS) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 504684633242206212
  6.  
  7. 0x10004
  8. Table 13
  9. -- mplsL2Port:mask = 0x00000004:0xffffffff tunnelId = 0x10004 | GoTo = 16 (MPLS PCP Trust) QOS Index = 4 groupId = 0x91010004 | priority = 32768 hard_time = 0 idle_time = 0 cookie = 504684633242206212
  10.  
  11. Groups
  12.  
  13. 0x91010004
  14. Switch group types statistics:
  15. Total groups: 84
  16. Type:MPLS Fast Failover Num: 14
  17. Type:MPLS L2 VPN Label Num: 5
  18. Type:L3 Unicast Num: 4
  19. Type:MPLS Swap Label Num: 20
  20. Type:MPLS VPLS Flood Num: 4
  21. Type:MPLS Tunnel Label1 Num: 6
  22. Type:L2 Interface Num: 18
  23. Type:MPLS Interface Num: 4
  24. Type:MPLS VPLS Customer Num: 8
  25. Type:MPLS VPLS Provider Num: 1
  26.  
  27. Chain for groupId 0x91010004:
  28. groupId = 0x91010004 (MPLS Label, Sub-type = MPLS L2 VPN Label, Index = 65540): duration: 545, refCount:1
  29. bucketIndex = 0: referenceGroupId = 0xa600c060 pushL2Hdr = 1 pushVlan = 1 newTpid = 0x8100 pushMplsHdr = 1 pushCW = 1 mplsLabel = 0xf0000 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
  30. groupId = 0xa600c060 (MPLS Forwarding, Sub-type = MPLS Fast Failover, Index = 49248): duration: 2221, refCount:1 !!! FF-group for path from switch 3 to switch 6
  31. bucketIndex = 0: referenceGroupId = 0x9300c060 watchPort = 1 (Physical)
  32. groupId = 0x9300c060 (MPLS Label, Sub-type = MPLS Tunnel Label1, Index = 49248): duration: 1008, refCount:1 !!! MPLS Tunnel group for service from switch 3 to switch 6
  33. 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
  34. groupId = 0x90000001 (MPLS Label, Sub-type = MPLS Interface, Index = 1): duration: 2221, refCount:7 !!! MPLS IF group to vlan=0, port=1
  35. bucketIndex = 0: referenceGroupId = 0x03e80001 oamLmTxCountAction = 0 vlanId = 0x13e8 (VLAN 1000) lmepIdAction = 0 lmepId = 0 srcMac: 00:00:00:A0:03:01 dstMac: 00:00:00:A0:06:03
  36. groupId = 0x03e80001 (L2 Interface, VLAN ID = 1000, Port ID = 1): duration: 2221, refCount:1
  37. bucketIndex = 0: outputPort = 1 (Physical) popVlanTag = 0 allowVlanTranslation = 0
  38. bucketIndex = 1: referenceGroupId = 0x9300c061 watchPort = 3 (Physical)
  39. groupId = 0x9300c061 (MPLS Label, Sub-type = MPLS Tunnel Label1, Index = 49249): duration: 1008, refCount:1 !!! MPLS Tunnel group for service from switch 3 to switch 6
  40. bucketIndex = 0: referenceGroupId = 0x90000003 pushL2Hdr = 0 pushVlan = 0 newTpid = 0x0000 pushMplsHdr = 1 pushCW = 0 mplsLabel = 0x20 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
  41. groupId = 0x90000003 (MPLS Label, Sub-type = MPLS Interface, Index = 3): duration: 2221, refCount:7 !!! MPLS IF group to vlan=0, port=3
  42. bucketIndex = 0: referenceGroupId = 0x03e80003 oamLmTxCountAction = 0 vlanId = 0x13e8 (VLAN 1000) lmepIdAction = 0 lmepId = 0 srcMac: 00:00:00:A0:03:03 dstMac: 00:00:00:A0:05:03
  43. groupId = 0x03e80003 (L2 Interface, VLAN ID = 1000, Port ID = 3): duration: 2221, refCount:1
  44. bucketIndex = 0: outputPort = 3 (Physical) popVlanTag = 0 allowVlanTranslation = 0
  45.  
  46. user@nms:~/rt_scripts$ ./p2p_q_or_qinq_NNI_to_UNI_debug.sh 172.17.10.81 3 f0000 001a0064
  47. Table 10
  48. -- inPort = 3 (Physical) vlanId:mask = 0x1007:0x1fff (VLAN 7) | GoTo = 20 (Termination MAC) | priority = 1 hard_time = 0 idle_time = 0 cookie = 1152921607686062080
  49. -- inPort = 3 (Physical) vlanId:mask = 0x11fb:0x1fff (VLAN 507) | GoTo = 20 (Termination MAC) vrf = 999 | priority = 24576 hard_time = 0 idle_time = 0 cookie = 4611686018427387904
  50. -- inPort = 3 (Physical) vlanId:mask = 0x13e8:0x1fff (VLAN 1000) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 0
  51.  
  52. Table 20
  53. -- inPort:mask = 3:0xffffffff etherType = 0x0800 destMac:mask = 0000.0000.d103: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
  54. -- inPort:mask = 3: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
  55. -- inPort:mask = 3:0xffffffff etherType = 0x8847 destMac:mask = 0000.00a0.0603: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
  56.  
  57. Table 23
  58. Table ID 23 (MPLS 0): Retrieving all entries. Max entries = 512, Current entries = 1.
  59. -- 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
  60.  
  61.  
  62. Table 24
  63. -- tableId = 24 etherType = 0x8847 BoS = TRUE mplsLabel = 0xf0000 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 = 0x00020004 tunnelId = 0x00010004 qosIndex = 0 copyFieldAction 1 popCw popL2Header mplsType = 1 (VPWS) groupId = 0x001a0064 outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 504684633242206212
  64.  
  65. Groups
  66. Switch group types statistics:
  67. Total groups: 31
  68. Type:MPLS Fast Failover Num: 4
  69. Type:MPLS L2 VPN Label Num: 1
  70. Type:L3 Unicast Num: 6
  71. Type:MPLS Swap Label Num: 4
  72. Type:MPLS Tunnel Label1 Num: 8
  73. Type:L2 Interface Num: 6
  74. Type:MPLS Interface Num: 2
  75.  
  76. Chain for groupId 0x001a0064:
  77. groupId = 0x001a0064 (L2 Interface, VLAN ID = 26, Port ID = 100): duration: 609, refCount:0
  78. bucketIndex = 0: outputPort = 100 (Physical) popVlanTag = 0 allowVlanTranslation = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement