# Monitoring BGP Next Hops for VPWS L2VPNS

#### Purpose

Display information about BGP next hops in the L2VPN address family or in the VPWS address family

#### Action

To display BGP next hop information that matches the specified indirect next-hop address (2.2.2.2) in the L2VPN address family:

    host1#show ip bgp l2vpn all next-hops 10.2.2.2
    Indirect next-hop 10.2.2.2
      Resolution in IP route table of VR
           IP indirect next-hop index 2
           Reachable (metric 3)
           Number of direct next-hops is 1
                  Direct next-hop ATM2/0.10 (10.10.10.2)
      Resolution in IP tunnel-route table of VR
           MPLS indirect next-hop index 19
           Reachable (metric 3)
           Number of direct next-hops is 1
                  Direct next-hop 0000000c
      Reference count is 2

#### Meaning

Table 138 lists the show ip bgp l2vpn all next-hops command output fields.

Table 138: show ip bgp l2vpn all next-hops Output Fields

Field Name | Field Description
--- | ---
Indirect next-hop | BGP next-hop attribute received in the BGP update message
Resolution | Describes where the indirect next hop is resolved (the IP routing table, the IP tunnel routing table, or both) and whether this is in a VR or VRF
IP indirect next-hop index | Index number of the IP indirect next hop that corresponds to the BGP indirect next hop and its resolution
MPLS indirect next-hop index | Index number of the MPLS indirect next hop that corresponds to the BGP indirect next hop and its resolution
Reachable | Indicates whether or not the indirect next hop is reachable. For more information about the reachability rules that apply for various route types, see the command description for show ip bgp next-hops.
metric | Metric number of the BGP indirect next hop
Number of direct next-hops | Number of the equal-cost legs of direct next hops to which this indirect next hop resolves
Direct next-hop | MPLS next-hop index that resolves the MPLS indirect next hop
Reference count | Number of label mappings of BGP routes that use this next hop

#### Related Documentation

- show ip bgp next-hops