Monitoring Layer 2 NLRI for VPLS Instances
Purpose
Display layer 2 NLRI for all VPLS instances in the L2VPN address family, for a particular VPLS instance in the L2VPN address family, or for a particular VPLS instance in the VPLS address family.
To display layer 2 NLRI for the route that matches a specified prefix (site ID and block offset) in the L2VPN address family or in the VPLS address family, use the site-id and block-offset keywords.
Action
To display information for all VPLS instances in the L2VPN address family:
host1#show ip bgp l2vpn allLocal BGP identifier 1.1.1.1, local AS 1004 routes (264 bytes)4 destinations (288 bytes) of which 4 have a route0 routes selected for route tables installation0 unicast/multicast routes selected for route table installation0 unicast/multicast tunnel-usable routes selected for route table installation0 tunnel-only routes selected for tunnel-route table installation4 path attribute entries (608 bytes)Local-RIB version 11. FIB version 11.Status codes: > best, * invalid, s suppressed, d dampened, r rejected,a auto-summarizedPrefix Peer Next-hop MED LocPrf Weight Origin> 1:1 0.0.0.0 self 0 IGP> 1:1 0.0.0.0 self 0 IGP> 2:1 2.2.2.2 2.2.2.2 100 0 IGP> 2:1 2.2.2.2 2.2.2.2 100 0 IGPTo display summary information for the L2VPN address family:
host1#show ip bgp l2vpn all summaryDisplay summary information for the l2vpn address-familyLocal router ID 1.1.1.1, local AS 100Administrative state is StartBGP Operational state is UpShutdown in overload state is disabledDefault local preference is 100IGP synchronization is enabledDefault originate is disabledAlways compare MED is disabledCompare MED within confederation is disabledAdvertise inactive routes is disabledAdvertise best external route to internal peers is disabledEnforce first AS is disabledMissing MED as worst is disabledRoute flap dampening is disabledLog neighbor changes is disabledFast External Fallover is disabledNo maximum received AS-path lengthBGP administrative distances are 20 (ext), 200 (int), and 200 (local)Client-to-client reflection is enabledCluster ID is 1.1.1.1Route-target filter is enabledDefault IPv4-unicast is enabledCheck next-hops of vpn routes is disabledRedistribution of iBGP routes is disabledGraceful restart is globally disabledGlobal graceful-restart restart time is 120 secondsGlobal graceful-restart stale paths time is 360 secondsGraceful-restart path selection defer time is 360 secondsGraceful-restart is not ready to switch to the standby SRPThe last restart was not gracefulLocal-RIB version 11. FIB version 11.Messages Messages PrefixesNeighbor AS State Up/down time Sent Received Received2.2.2.2 100 Established 00:30:35 65 65 2To display information for the route that matches the specified prefix (2:1) for a VPLS instance named customer1 in the VPLS address family:
host1#show ip bgp l2vpn vpls customer1 site-id 2 block-offset 1BGP route information for prefix 2:1Received route learned from internal peer 2.2.2.2 (best route)Leaked routeRoute placed in IP forwarding tableBest to advertise to external peersAddress Family Identifier (AFI) is layer2Subsequent Address Family Identifier (SAFI) is unicastRoute Distinguisher (RD) is 100:11Original Route Distinguisher (RD) is 100:21MPLS in-label is noneMPLS in-label block size is 0MPLS out-label is 46MPLS out-label block size is 20Next hop IP address is 2.2.2.2 (metric 3)Multi-exit discriminator is not presentLocal preference is 100Weight is 0Origin is IGPAS path is emptyExtended communities RT:100:1 Layer 2:19:00:0Meaning
Table 65 lists the show ip bgp l2vpn command output fields.
IP address of the next router that is used when a packet is forwarded to the destination network