[Contents] [Prev] [Next] [Index] [Report an Error]


Monitoring BGP/MPLS VPNs

To view BGP/MPLS VPN settings, you can issue the following show commands as well as any of the show ip bgp commands described in Chapter 1, Configuring BGP Routing. Refer to Chapter 2, Configuring MPLS, for information on show commands to monitor MPLS settings.

Use the debug ip mbgp command to get information on problems with BGP or the network.

    debug ip mbgp

host1#debug ip mbgp

    show ip bgp next-hops

host1:pe1#show ip bgp vpnv4 vrf pe11 next-hops
Indirect next-hop 2.2.2.2                           
  MPLS stacked label 19                             
  Reachable                                         
  Direct next-hop tun mpls:vpnInL19-18              
  Reference count is 1                              


Indirect next-hop 11.11.11.2                        
  Reachable (metric 1)                              
  Direct next-hop atm2/0.11 (11.11.11.2)            
  Reference count is 1                              

    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#show ip vrf detail
VRF  vpn1; Default RD 1:1
  VRF IP Router ID 10.1.1.1
  Default TTL: 127
  Reassemble Timeout: 30
  Interface Configured:
    null0  atm4/0.77
  Import VPN Route Target Extended Communities:
     1:2
  Export VPN Route Target Extended Communities:
     1:1 1:2
  Import Route-map : map2
  Export Route-map : map1
VRF  vpn2; Default RD 1:3
  Interface Configured:
    null0  fastEthernet3/0  atm4/0.21
  Import VPN Route Target Extended Communities:
     3:3 10.4.3.0:1
  Export VPN Route Target Extended Communities:
     10.4.3.0:1
  Import Route-map : map2
  No 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 tunnels

The output varies between the default behavior—when the system creates a VPN interface per next-hop PE—and the behavior resulting when you issue the ip mpls vpn-interface per-label command—when the system creates a VPN interface for each received stacked label.

VPN interface per next-hop PE:

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

VPN interface per received stacked label:

host12#show mpls tunnels

LSP vpnInL16-21 to   3.3.3.3
State:  Up
Out label is 16 on Label 33
102 pkts, 0 hcPkts, 13464 octets
0 hcOctets, 0 errors, 0 discardPkts

LSP vpnInL17-21 to   3.3.3.3
State:  Up
Out label is 17 on Label 33
102 pkts, 0 hcPkts, 13464 octets
0 hcOctets, 0 errors, 0 discardPkts

LSP vpnInL18-21 to   3.3.3.3
State:  Up
Out label is 18 on Label 33
102 pkts, 0 hcPkts, 13464 octets
0 hcOctets, 0 errors, 0 discardPkts

LSP vpnInL19-21 to   3.3.3.3
State:  Up
Out label is 19 on Label 33
102 pkts, 0 hcPkts, 13464 octets
0 hcOctets, 0 errors, 0 discardPkts

    undebug ip mbgp

host1#undebug ip mbgp


[Contents] [Prev] [Next] [Index] [Report an Error]