Information to Monitor | Command | Example |
Entries in the BGP neighbor database | show bgp neighbor | user@host> show bgp neighbor bgp.l2.vpn.0 Peer: 192.168.16.1+1037 AS 65412 Local: 192.168.24.1+179 AS 65412 Type: Internal State: Established Flags: <> Last State: OpenConfirm Last Event: RecvKeepAlive Last Error: None Options: <Preference LocalAddress HoldTime AddressFamily Rib- group Refresh> Address families configured: inet-unicast l2vpn Local Address: 192.168.24.1 Holdtime: 90 Preference: 170 Number of flaps: 0 Peer ID: 192.168.16.1 Local ID: 192.168.24.1 Active Holdtime: 90 Keepalive Interval: 30 NLRI advertised by peer: inet-unicast inet-multicast l2vpn NLRI for this session: inet-unicast l2vpn Peer supports Refresh capability (2) Table inet.0 Bit: 10000 Send state: in sync Active prefixes: 0 Received prefixes: 0 Suppressed due to damping: 0 Table bgp.l2vpn.0 Bit: 30000 Send state: in sync Active prefixes: 1 Received prefixes: 1 Suppressed due to damping: 0 Table vpna.l2vpn.0 Bit: 50000 Send state: in sync Active prefixes: 1 Received prefixes: 1 |
BGP summary information | show bgp summary | user@host> show bgp summary Groups: 1 Peers: 5 Down peers: 0 Table Tot Paths Act Paths Suppressed History Damp State Pending bgp.l2vpn.0 1 1 0 0 0 0 inet.0 0 0 0 0 0 0 Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State#Active/Received/Damped... 10.255.245.35 65299 72 74 0 1 19:00 Establ bgp.l2vpn.0: 1/1/0 frame-vpn.l2vpn.0: 1/1/0 10.255.245.36 65299 2164 2423 0 4 19:50 Establ bgp.l2vpn.0: 0/0/0 frame-vpn.l2vpn.0: 0/0/0 ... |
General interface information | show interfaces terse | user@host> run show interfaces terse match so so-0/0/0 up up so-0/0/0.1 up down inet 10.1.13.2/30 iso so-0/0/0.2 up down inet 10.1.23.2/30 iso so-0/0/0.4 up down inet 10.1.34.1/30 iso so-0/0/0.5 up up inet 10.1.35.1/30 iso ... |
Layer 2 virtual circuit information | show l2circuit connections | user@host> show l2circuit connections brief Layer-2 Circuit Connections: Legend for connection status (St) Legend for interface status EI -- encapsulation invalid UP -- operational EM -- encapsulation mismatch Dn -- down OL -- no outgoing label NP -- no present Dn -- down DS -- disabled VC-Dn -- Virtual circuit Down WE -- wrong encapsulation UP -- operational UN -- uninitialized XX -- unknown Neighbor: 10.1.1.195 Interface Type St Time last up # Up trans so-0/1/0.1 (vc 1) rmt Up Oct 8 15:44:19 2001 1 so-0/1/0.2 (vc 2) rmt Up Oct 8 15:44:19 2001 1 |
Layer 2 VPN information | show l2vpn connections | user@host> show l2vpn connections L2VPN Connections : Instance : vpna Local site: 2 (ce-2) offset: 1, range: 3, label-base: 32768 connection-site Type St Time last up # Up trans 3 (3) loc Up Jul 18 20:45:46 2001 1 Local circuit: fe-0/0/0.1, Status: Up Remote circuit: fe-0/0/3.0, Status: Up 1 rmt Up Jul 18 21:47:25 2001 1 Local circuit: fe-0/0/0.0, Status: Up Remote PE: 192.168.16.1 Incoming label: 32768, Outgoing label: 32769 ... |
Routes transmitted by a particular routing protocol | show route advertising-protocol | user@host> show route advertising-protocol bgp 192.168.24.1 detail vpn-a.l2vpn.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden) Prefix Nexthop MED Lclpref AS path 192.168.16.1:1:1:1/96 (1 entry, 1 announced) BGP group int type Internal Route Distinguisher: 192.168.16.1:1 Label-base : 32768, range : 3 Nexthop: Self Localpref: 100 AS path: I Communities: target:65412:100 Layer2-info: encaps:VLAN, control flags:0, mtu: 0 |
Information about the entries in the kernel's forwarding table | show route forwarding-table | user@host> show route forwarding-table find ccc Routing table:: ccc MPLS: Interface.Label Type RtRef Nexthop Type Index NhRef Netif default perm 0 dscd 3 1 0 user 0 recv 5 2 1 user 0 recv 5 2 32769 user 0 ucst 45 1 fe- 0/0/0.534 fe-0/0/0. (CCC) user 0 indr 44 2 10.0.16.2 Push 32768, Push 100004(top)fe-0/0/1.0 |
Routes received by a particular routing protocol | show route receive-protocol | user@host> show route receive-protocol bgp 10.255.14.171 detail inet.0: 68 destinations, 68 routes (67 active, 0 holddown, 1 hidden) Prefix Nexthop MED Lclpref AS path inet.3: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden) Prefix Nexthop MED Lclpref AS path iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden) Prefix Nexthop MED Lclpref AS path mpls.0: 10 destinations, 10 routes (10 active, 0 holddown, 0 hidden) Prefix Nexthop MED Lclpref AS path frame-vpn.l2vpn.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden) Prefix Nexthop MED Lclpref AS path 10.255.245.35:1:5:1/96 (1 entry, 1 announced) Route Distinguisher: 10.255.245.35:1 Label-base : 800000, range : 4, status-vector : 0x0 Nexthop: 10.255.245.35 Localpref: 100 AS path: I Communities: target:65299:100 Layer2-info: encaps:FRAME RELAY, control flags: 0, mtu: 0 bgp.l2vpn.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden) ... |
Routes in a particular routing table | show route table | user@host> show route table vpn-a vpn-a.l2vpn.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 192.168.16.1:1:1:1/96 *[VPN/7] 05:48:27 Discard 192.168.24.1:1:2:1/96 *[BGP/170] 00:02:53, localpref 100, from 192.168.24.1 AS path: I > to 10.0.16.2 via fe-0/0/1.0, label- switched-path am 192.168.24.1:1:3:1/96 *[BGP/170] 00:02:53, localpref 100, from 192.168.24.1 AS path: I > to 10.0.16.2 via fe-0/0/1.0, label- switched-path am |