1 2 3 |
<PE1> dis ver | i ATN VRP (R) software, Version 5.160 (ATN910B V200R005C10SPC100) HUAWEI ATN910B uptime is 220 days, 6 hours, 20 minutes |
LDP сессия живет, метки есть, PW лежит:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
<PE1> dis vsi name VSI1 peer-info 172.16.1.1 verbose *Peer Router ID : 172.16.1.1 Negotiation-vc-id : 2520 primary or secondary : primary ignore-standby-state : no VC Label : 2230 Peer Type : dynamic Session : up Tunnel ID : Broadcast Tunnel ID : 0x0 Broad BackupTunnel ID : 0x0 CKey : 900 NKey : 791 Stp Enable : 0 PwIndex : 0 Control Word : disable **PW Information: *Peer Ip Address : 172.16.1.1 PW State : down Local VC Label : 2230 Remote VC Label : 26156 Remote Control Word : disable PW Type : label Local VCCV : alert lsp-ping Remote VCCV : alert ttl lsp-ping Tunnel ID : Broadcast Tunnel ID : 0x0 Broad BackupTunnel ID : 0x0 Ckey : 0x384 Nkey : 0x317 Main PW Token : 0x0 Slave PW Token : 0x0 Tnl Type : Other OutInterface : Backup OutInterface : Stp Enable : 0 PW Last Up Time : 2019/02/22 16:00:00 PW Total Up Time : 2 days, 16 hours, 28 minutes, 2 seconds |
Без меток трафик ходит:
1 2 3 4 5 6 7 8 |
<PE1> ping -a 10.200.1.31 -c 1 172.16.1.1 PING 172.16.1.1: 56 data bytes, press CTRL_C to break Reply from 172.16.1.1: bytes=56 Sequence=1 ttl=249 time=2 ms --- 172.16.1.1 ping statistics --- 1 packet(s) transmitted 1 packet(s) received 0.00% packet loss round-trip min/avg/max = 2/2/2 ms |
ping,tracert lsp фэйлится:
1 2 3 |
<PE1> tracert lsp ip 172.16.1.1 32 LSP Trace Route FEC: IPV4 PREFIX 172.16.1.1/32 , press CTRL_C to break. Error: The specified LSP does not exist. |
Транзит работает, локально коробка не шлет трафик в LSP:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
<PE1> dis mpls ldp lsp 172.16.1.1 32 | i 10.200.0.72 LDP LSP Information ------------------------------------------------------------------------------- DestAddress/Mask In/OutLabel UpstreamPeer NextHop OutInterface ------------------------------------------------------------------------------- 172.16.1.1/32 619/5949 10.200.0.72 10.220.8.41 GE0/2/2 ------------------------------------------------------------------------------- TOTAL: 24 Normal LSP(s) Found. TOTAL: 23 Liberal LSP(s) Found. TOTAL: 0 Frr LSP(s) Found. A '*' before an LSP means the LSP is not established A '*' before a Label means the USCB or DSCB is stale A '*' before a UpstreamPeer means the session is stale A '*' before a DS means the session is stale A '*' before a NextHop means the LSP is FRR LSP |
1 2 3 4 5 6 |
<PE1> dis mpls lsp include 172.16.1.1 32 ------------------------------------------------------------------------------- LSP Information: LDP LSP ------------------------------------------------------------------------------- FEC In/Out Label In/Out IF Vrf Name 172.16.1.1/32 619/5949 -/GE0/2/2 |
Посмотрим в FIB:
1 2 3 4 |
<PE1> dis fib 172.16.1.1 32 Route Entry Count: 1 Destination/Mask Nexthop Flag TimeStamp Interface TunnelID 172.16.1.1/32 10.220.8.41 DGHU t[18066447] GE0/2/2 0x0 |
LSP не активный (« LspFwdFlag=0 и LspToken=0x0 ),
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
<PE1> dis fib 172.16.1.1 32 verbose Route Entry Count: 1 Destination: 172.16.1.1 Mask : 255.255.255.255 Nexthop : 10.220.8.41 OutIf : GigabitEthernet0/2/2 LocalAddr : 10.220.8.42 LocalMask: 0.0.0.0 Flags : DGHU Age : 729719sec ATIndex : 0 Slot : 0 LspFwdFlag : 0 LspToken : 0x0 InLabel : NULL OriginAs : 0 BGPNextHop : 0.0.0.0 PeerAs : 0 QosInfo : 0x0 OriginQos: 0x0 NexthopBak : 0.0.0.0 OutIfBak : [No Intf] LspTokenBak: 0x0 InLabelBak : NULL LspToken_ForInLabelBak : 0x0 EntryRefCount : 0 VlanId : 0x0 BgpKey : 0 BgpKeyBak : 0 LspType : 0 Label_ForLspTokenBak : 0 MplsMtu : 0 Gateway_ForLspTokenBak : 0.0.0.0 NextToken : 0x0 IfIndex_ForLspTokenBak : 0 Label_NextToken : 0 Label : 0 LspBfdState : 0 |
Настройки MPLS, используется фильтрация для экономии памяти, LSP по умолчанию строятся только для региональных префиков:
1 2 3 4 5 6 7 8 9 10 11 |
<PE1> dis cur conf mpls # mpls lsr-id 10.200.1.31 mpls mpls te lsp-trigger ip-prefix pl-reg mpls rsvp-te mpls rsvp-te hello mpls rsvp-te hello support-peer-gr mpls te cspf # |
1 2 3 4 5 6 |
<PE1> dis ip ip-prefix pl-reg Prefix-list pl-reg Permitted 1108524499 Denied 650241154 index: 10 permit 10.200.0.0/24 ge 32 le 32 index: 20 permit 10.200.13.0/24 ge 32 le 32 |
1 2 |
<PE1> sy [PE1] ip ip-prefix pl-reg index 30 permit 172.16.1.1 32 greater-equal 32 less-equal 32 |
1 2 3 4 |
<PE1> dis fib 172.16.1.1 32 Route Entry Count: 1 Destination/Mask Nexthop Flag TimeStamp Interface TunnelID 172.16.1.1/32 10.220.8.41 DGHU t[19030344] GE0/2/2 0x232 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
<PE1> dis fib 172.16.1.1 32 verbose Route Entry Count: 1 Destination: 172.16.1.1 Mask : 255.255.255.255 Nexthop : 10.220.8.41 OutIf : GigabitEthernet0/2/2 LocalAddr : 10.220.8.42 LocalMask: 0.0.0.0 Flags : DGHU Age : 90sec ATIndex : 0 Slot : 0 LspFwdFlag : 1 LspToken : 0x232 InLabel : NULL OriginAs : 0 BGPNextHop : 0.0.0.0 PeerAs : 0 QosInfo : 0x0 OriginQos: 0x0 NexthopBak : 0.0.0.0 OutIfBak : [No Intf] LspTokenBak: 0x0 InLabelBak : NULL LspToken_ForInLabelBak : 0x0 EntryRefCount : 0 VlanId : 0x0 BgpKey : 0 BgpKeyBak : 0 LspType : 0 Label_ForLspTokenBak : 0 MplsMtu : 0 Gateway_ForLspTokenBak : 0.0.0.0 NextToken : 0x0 IfIndex_ForLspTokenBak : 0 Label_NextToken : 0 Label : 0 LspBfdState : 0 |
Коробка отправляет трафик в LSP:
1 2 3 4 5 6 7 |
<PE1> dis mpls lsp include 172.16.1.1 32 ------------------------------------------------------------------------------- LSP Information: LDP LSP ------------------------------------------------------------------------------- FEC In/Out Label In/Out IF Vrf Name 172.16.1.1/32 NULL/5949 -/GE0/2/2 172.16.1.1/32 619/5949 -/GE0/2/2 |
1 2 3 4 5 6 7 8 9 |
<PE1> tracert lsp ip 172.16.1.1 32 LSP Trace Route FEC: IPV4 PREFIX 172.16.1.1/32 , press CTRL_C to break. TTL Replier Time Type Downstream 0 Ingress 10.220.8.41/[5949 ] 1 10.220.8.41 15 ms Transit 10.220.1.126/[36396 ] 2 10.220.1.126 19 ms Transit 10.220.9.146/[40017 ] 3 10.220.9.146 8 ms Transit 10.220.0.9/[34604 ] 4 10.220.0.9 9 ms Transit 10.220.3.242/[27538 3 ] <skip> |
1 2 3 4 5 6 7 |
<PE1> dis vsi name VSI1 peer-info 172.16.1.1 VSI Name: VSI1 Signaling: ldp -------------------------------------------------------------------- Peer Transport Local Remote VC Addr VC ID/TAII VC Label VC Label State -------------------------------------------------------------------- 172.16.1.1 2520 2230 26156 up |