To verify the
Labeled BGP Support, use the
show
commands given below:
Router# show bgp ipv4 unicast labels
Network Next Hop In label/Out label
1.0.0.0 0.0.0.0 imp-null/nolabel
10.13.22.2/31 0.0.0.0 imp-null/nolabel
10.13.23.0/31 0.0.0.0 imp-null/nolabel
10.70.1.0/30 0.0.0.0 imp-null/nolabel
100.100.10.1/32 100.111.14.4 nolabel/558
100.111.14.3 nolabel/560
100.100.13.23/32 0.0.0.0 imp-null/nolabel
100.101.13.23/32 0.0.0.0 imp-null/nolabel
100.111.13.23/32 0.0.0.0 imp-null/nolabel
100.111.13.26/32 100.111.14.3 nolabel/534
100.111.14.4 nolabel/68
100.111.15.1/32 100.111.14.3 nolabel/25
Router# show ip bgp labels
Network Next Hop In label/Out label
1.0.0.0 0.0.0.0 imp-null/nolabel
10.13.22.2/31 0.0.0.0 imp-null/nolabel
10.13.23.0/31 0.0.0.0 imp-null/nolabel
10.70.1.0/30 0.0.0.0 imp-null/nolabel
100.100.10.1/32 100.111.14.4 nolabel/563
100.111.14.3 nolabel/556
100.100.13.23/32 0.0.0.0 imp-null/nolabel
100.101.13.23/32 0.0.0.0 imp-null/nolabel
100.111.13.23/32 0.0.0.0 imp-null/nolabel
100.111.13.26/32 100.111.14.4 nolabel/561
100.111.14.3 nolabel/559
100.111.15.1/32 100.111.14.4 nolabel/59
100.111.14.3 nolabel/57
100.111.15.2/32 100.111.14.4 nolabel/62
100.111.14.3 nolabel/52
100.112.1.1/32 100.111.14.4 nolabel/nolabel
100.111.14.3 nolabel/nolabel
100.112.1.2/32 100.111.14.4 nolabel/nolabel
100.111.14.3 nolabel/nolabel
100.112.1.3/32 100.111.14.4 nolabel/nolabel
100.111.14.3 nolabel/nolabel
Router# show ip bgp vpnv4 all label
Network Next Hop In label/Out label
Route Distinguisher: 236:236
154.154.236.4/30 100.154.1.1 nolabel/14002
100.154.1.1 nolabel/14002
154.154.236.8/30 100.154.1.1 nolabel/14002
100.154.1.1 nolabel/14002
154.154.236.12/30
100.154.1.1 nolabel/14002
100.154.1.1 nolabel/14002
154.154.236.16/30
100.154.1.1 nolabel/14002
100.154.1.1 nolabel/14002
154.154.236.20/30
100.154.1.1 nolabel/14002
100.154.1.1 nolabel/14002
154.154.236.24/30
100.154.1.1 nolabel/14002
100.154.1.1 nolabel/14002
Router# show ip vrf interface
Interface IP-Address VRF Protocol
Vl100 113.23.12.1 LTE12
Router# show ip bgp vpnv4 vrf LTE12 label
Network Next Hop In label/Out label
Route Distinguisher: 6666:6666 (LTE12)
113.22.12.0/24 100.111.13.22 nolabel/51
100.111.13.22 nolabel/51
113.23.12.0/24 0.0.0.0 50/nolabel(LTE12)
113.24.12.0/24 100.111.13.24 nolabel/32
100.111.13.24 nolabel/32
115.1.12.0/24 100.111.15.1 nolabel/16024
100.111.15.1 nolabel/16024
154.154.236.4/30 100.154.1.1 nolabel/14002
154.154.236.8/30 100.154.1.1 nolabel/14002
154.154.236.12/30
100.154.1.1 nolabel/14002
154.154.236.16/30
100.154.1.1 nolabel/14002
154.154.236.20/30
100.154.1.1 nolabel/14002
154.154.236.24/30
100.154.1.1 nolabel/14002
To verify three
Label Support, use the
show ip cef
vrf
command as shown in the following example.
Router# show ip cef vrf LTE12 113.22.12.0 internal
113.22.12.0/24, epoch 0, flags rib defined all labels, RIB[B], refcount 5, per-destination sharing
sources: RIB
feature space:
IPRM: 0x00018000
LFD: 113.22.12.0/24 0 local labels
contains path extension list
ifnums: (none)
path 13E8A064, path list 13F49DC8, share 1/1, type recursive, for IPv4, flags must-be-labelled, recursive-via-host
MPLS short path extensions: MOI flags = 0x0 label 51
recursive via 100.111.13.22[IPv4:Default] label 51, fib 141253D8, 1 terminal fib, v4:Default:100.111.13.22/32
path 12520C8C, path list 13F49C38, share 1/1, type attached nexthop, for IPv4
MPLS short path extensions: MOI flags = 0x0 label 17
nexthop 100.111.14.4 Vlan10 label 17, adjacency IP adj out of Vlan10, addr 10.13.23.1 13734C80
output chain: label 22 label 51 label 17 TAG adj out of Vlan10, addr 10.13.23.1 143EDCA0
!You can see three labels in the output chain; of which 22 is VRF label, 51 is BGP label !and 17 is LDP label