To view BGP/MPLS VPN settings, you can issue the following show commands as well as any of the show ip bgp commands and some of the show bgp ipv6 commands described in Configuring BGP Routing . See Configuring MPLS, for information about show commands to monitor MPLS settings.
Use the debug ip mbgp command to get information about problems with BGP or the network.
![]() |
Note: The E120 router and E320 router output for monitor and show commands is identical to output from other E-series routers, except that the E120 and E320 router output also includes information about the adapter identifier in the interface specifier (slot/adapter/port). |
debug ip mbgp
- host1#debug ip mbgp
show ip bgp next-hops
For labeled unicast routes, the following rules apply:
For unlabeled unicast routes, the following rules apply:
For VPN labeled routes in a VRF, the following rules apply:
host1:pe2#show ip bgp vpnv4 all next-hops
Indirect next-hop 10.1.1.1
Resolution in IP route table of VR
IP indirect next-hop index 10
Reachable (metric 3)
Number of direct next-hops is 1
Direct next-hop ATM4/1.20 (10.20.20.1)
Resolution in IP tunnel-route table of VR
MPLS indirect next-hop index 17
Reachable (metric 3)
Number of direct next-hops is 1
Direct next-hop: MPLS next-hop 18
Reference count is 1
Indirect next-hop 10.21.21.2
Resolution in IP route table of VR
IP indirect next-hop index 5
Reachable (metric 0)
Number of direct next-hops is 1
Direct next-hop ATM4/0.21 (10.21.21.2)
Resolution in IP tunnel-route table of VR
MPLS indirect next-hop index 14
Reachable (metric 0)
Number of direct next-hops is 1
Direct next-hop ATM4/0.21.mpls
Reference count is 3
host1:pe2#show ip bgp vpnv4 vrf pe22 next-hops
Indirect next-hop 10.61.61.2
Resolution in IP route table of VRF pe22
IP indirect next-hop index 3
Reachable (metric 0)
Number of direct next-hops is 1
Direct next-hop ATM4/0.61 (10.61.61.2)
Resolution in IP tunnel-route table of VRF pe22
Not reachable
Reference count is 2
show ip interface vrf
host1#show ip interface vrf vpn1 null0 is up, line protocol is up Network Protocols: IP Internet address is 255.255.255.255/255.255.255.255 Broadcast address is 255.255.255.255 Operational MTU = 1500 Administrative MTU = 0 Operational speed = 100000000 Administrative speed = 0 Discontinuity Time = 0 Router advertisement = disabled Administrative debounce-time = disabled Operational debounce-time = disabled Access routing = disabled Multipath mode = hashed
atm4/0.77 is up, line protocol is up Network Protocols: IP Internet address is 7.8.7.7/255.255.255.0 Broadcast address is 255.255.255.255 Operational MTU = 9180 Administrative MTU = 0 Operational speed = 155520000 Administrative speed = 0 Discontinuity Time = 0 Router advertisement = disabled Administrative debounce-time = disabled Operational debounce-time = disabled Access routing = disabled Multipath mode = hashed
In Received Packets 0, Bytes 0
Unicast Packets 0, Bytes 0
Multicast Packets 0, Bytes 0
In Policed Packets 0, Bytes 0
In Error Packets 0
In Invalid Source Address Packets 0
Out Forwarded Packets 0, Bytes 0
Unicast Packets 0, Bytes 0
Multicast Packets 0, Bytes 0
Out Scheduler Drops Committed Packets 0, Bytes 0
Out Scheduler Drops Conformed Packets 0, Bytes 0
Out Scheduler Drops Exceeded Packets 0, Bytes 0
Out Policed Packets 0, Bytes 0
host1#show ip interface vrf vpn1 brief Interface IP-Address Status Protocol Description null0 255.255.255.255 up up atm4/0.77 7.8.7.7 up up
show ip protocols
host1:pe1#show ip protocols vrf pe13
Routing Protocol is “ ospf 1" with Router ID 13.13.13.1
Distance is 110
Redistributing: bgp
Address Summarization:
None
Routing for Networks:
13.13.13.0/255.255.255.0 area 0.0.0.0
show ip route vrf
host1#show ip route vrf vpn2 Protocol/Route type codes: I1- ISIS level 1, I2- ISIS level2, I- route type intra, IA- route type inter, E- route type external, i- metric type internal, e- metric type external, O- OSPF, E1- external type 1, E2- external type2, N1- NSSA external type1, N2- NSSA external type2
Prefix/Length Type Next Hop Dist/Met Intf --------------- ------- ---------- -------- ------------ 45.5.5.5/32 Connect 45.5.5.5 0/1 fastEthernet3/0 56.5.5.0/24 Connect 56.5.5.5 0/1 atm4/0.21
show ip vrf
host1#show ip vrf VRF Name Default RD Interfaces vpn1 1:1 null0 atm4/0.77 vpn2 1:3 null0 fastEthernet3/0 atm4/0.21
host1#show ip vrf vpn1 VRF Name Default RD Interfaces vpn1 1:1 null0 atm4/0.77
show ip vrf detail
host1:pe1#show ip vrf detail
VRF pe11; Default RD 100:11
VRF IP Router Id: 10.11.11.1
Default TTL: 127
Reassemble Timeout: 30
Interface Configured:
null0 ATM2/0.11 tun mpls:vpnEgL17-3 ip dyn-24
Import VPN Route Target Extended Communities:
100:1
Export VPN Route Target Extended Communities:
100:1
IPv4 Import Route-map: my-v4-import-map
IPv6 Import Route-map: my-v6-import-map
IPv4 Export Route-map: my-v4-export-map (can not filter routes)
IPv6 Export Route-map: my-v6-export-map (can filter routes)
IPv4 Global Import Route-map: my-v4-global-import-map (max routes 5000)
IPv6 Global Import Route-map: my-v6-global-import-map (max routes 1000)
IPv4 Global Export Route-map: my-global-v4-export-map
IPv6 Global Export Route-map: my-global-v6-export-map
VRF pe12; Default RD 100:12
VRF IP Router Id: 10.12.12.1
Default TTL: 127
Reassemble Timeout: 30
Interface Configured:
null0 ATM2/0.12 tun mpls:vpnEgL18-4 ip dyn-25
Import VPN Route Target Extended Communities:
100:2
Export VPN Route Target Extended Communities:
100:2
Import Route-map : importmap1
Export Route-map : exportmap23 (can filter routes)
Global Import Route-map : globalimportmap2
Global Export Route-map : globalexportmap3
VRF pe13; Default RD 100:13
VRF IP Router Id: 10.13.13.1
Default TTL: 127
Reassemble Timeout: 30
Interface Configured:
null0 ATM2/0.13 tun mpls:vpnEgL19-5 ip dyn-26
Import VPN Route Target Extended Communities:
100:3
Export VPN Route Target Extended Communities:
100:3
No Import Route-map
No Export Route-map
No Global Import Route-map
No Global Export Route-map
show ip vrf interfaces
host1:PE1#show ip vrf interfaces Interface IP-Address Status Protocol VRF null0 255.255.255.255/32 up up pe11 atm4/0.134 4.4.4.2/24 up up pe11 null0 255.255.255.255/32 up up pe12 ip0 6.6.6.8/24 up up pe12 null0 255.255.255.255/32 up up pe13 loopback1 7.7.7.2/24 up up pe13
host1:PE1#show ip vrf interfaces detail null0 is up, line protocol is up VRF: pe11 Link up/down trap is disabled
Internet address is 255.255.255.255/255.255.255.255
IP statistics:
Rcvd: 0 local destination
0 hdr errors, 0 addr errors
0 unkn proto, 0 discards
Frags: 0 reasm ok, 0 reasm req, 0 reasm fails
0 frag ok, 0 frag creates, 0 frag fails
Sent: 0 generated, 0 no routes, 0 discards
ICMP statistics:
Rcvd: 0 errors, 0 dst unreach, 0 time exceed
0 param probs, 0 src quench, 0 redirect,
0 echo req, 0 echo rpy
0 timestmp req, 0 timestmp rpy
0 addr mask req, 0 addr mask rpy
Sent: 0 errors, 0 dst unreach, 0 time excd
0 param probs, 0 src qnch, 0 redirect
0 timestamp req, 0 timestamp rpy
0 addr mask req, 0 addr mask rpy
atm4/0.134 is up, line protocol is up VRF: pe11 Link up/down trap is disabled
Internet address is 4.4.4.2/255.255.255.0
IP statistics:
Rcvd: 0 local destination
0 hdr errors, 0 addr errors
0 unkn proto, 0 discards
Frags: 0 reasm ok, 0 reasm req, 0 reasm fails
0 frag ok, 0 frag creates, 0 frag fails
Sent: 0 generated, 0 no routes, 0 discards
ICMP statistics:
Rcvd: 0 errors, 0 dst unreach, 0 time exceed
0 param probs, 0 src quench, 0 redirect,
0 echo req, 0 echo rpy
0 timestmp req, 0 timestmp rpy
0 addr mask req, 0 addr mask rpy
Sent: 0 errors, 0 dst unreach, 0 time excd
0 param probs, 0 src qnch, 0 redirect
0 timestamp req, 0 timestamp rpy
0 addr mask req, 0 addr mask rpy
In Received Packets 0, Bytes 0
Unicast Packets 0, Bytes 0
Multicast Packets 0, Bytes 0
In Forwarded Packets 0, Bytes 0
In Total Dropped Packets 0, Bytes 0
In Policed Packets 0
In Invalid Source Address Packets 0
In Error Packets 0
In Discarded Packets 0
In Fabric Dropped Packets 0
Out Forwarded Packets 0, Bytes 0
Unicast Packets 0, Bytes 0
Multicast Packets 0, Bytes 0
Out Requested Packets 0, Bytes 0
Out Total Dropped Packets 0, Bytes 0
Out Scheduler Drops Committed Packets 0, Bytes 0
Out Scheduler Drops Conformed Packets 0, Bytes 0
Out Scheduler Drops Exceeded Packets 0, Bytes 0
Out Policed Packets 0
Out Discarded Packets 0
Out Fabric Dropped Packets 0
show mpls l2transport load-balancing-group
host1#show mpls l2transport load-balancing-group 100 member-circuits
routed to 10.9.1.3 on base LSP tun mpls:lsp-de090103-32-3e
load-balancing-group 100
Martini group-id 2 vc-id 200002 mtu 1500
State UP
In Label 57 on stack
0 pkts, 0 hcPkts, 0 octets
0 hcOctets, 0 errors, 0 discardPkts
Out Label 59 on tun mpls:lsp-de090103-32-3e
0 pkts, 0 hcPkts, 0 octets
0 hcOctets, 0 errors, 0 discardPkts
queue 0: traffic class best-effort, bound to atm-vc ATM6/0.1
Queue length 0 bytes
Forwarded packets 0, bytes 0
Dropped committed packets 0, bytes 0
Dropped conformed packets 0, bytes 0
Dropped exceeded packets 0, bytes 0
Member Interfaces
Interface fastEthernet 2/0.2 active
Incoming Traffic Statistics
0 pkts, 0 hcPkts, 0 octets
0 hcOctets, 0 errors, 0 discardPkts
Outgoing Traffic Statistics
0 pkts, 0 hcPkts, 0 octets
0 hcOctets, 0 errors, 0 discardPkts
Interface fastEthernet 3/0.2
Incoming Traffic Statistics
0 pkts, 0 hcPkts, 0 octets
0 hcOctets, 0 errors, 0 discardPkts
Outgoing Traffic Statistics
0 pkts, 0 hcPkts, 0 octets
0 hcOctets, 0 errors, 0 discardPkts
host1#show mpls l2transport load-balancing-group member-circuits brief
4 member ports:
fastEthernet 2/0 down
fastEthernet 3/0 30 member circuits
fastEthernet 4/0 30 member circuits
fastEthernet 5/0 30 member circuits
90 member circuits
show mpls tunnels
host12#show mpls tunnels
LSP vpnIngress-21 to 3.3.3.3 State: Up Out label is Variable Interface 102 pkts, 0 hcPkts, 13464 octets 0 hcOctets, 0 errors, 0 discardPkts Labels: 16 17 18 19
undebug ip mbgp
- host1#undebug ip mbgp