show ip bgp vrf

Displays entries in the IPv4 Border Gateway Protocol (BGP4) routing table for a virtual routing and forwarding (VRF) instance.
Syntax
show ip bgp vrfvrf-name
show ip bgp vrfvrf-nameipv6 address//mask[longer-prefixes]
show ip bgp vrfvrf-nameip address/[/mask][longer-prefixes]
show ip bgp vrfvrf-nameattribute-entries
show ip bgp vrfvrf-namedampened-paths
show ip bgp vrfvrf-namefiltered-routes[detail][ip-addr{/mask}[longer-prefixes]]|as-path-access-listname]|prefix-listname]
show ip bgp vrf vrf-nameflap-statistics
show ip bgp vrf vrf-nameflap-statisticsip-addr{/mask}[longer-prefix]
show ip bgp vrf vrf-nameflap-statisticsas-path-filtername
show ip bgp vrf vrf-nameflap-statisticsneighborip-addr
show ip bgp vrf vrf-nameflap-statisticsregular-expressionname
show ip bgp vrf vrf-namenexthop[ip-addr|reachable|unreachable]
show ip bgp vrf vrf-namepeer-grouppeer-group-name
show ip bgp vrf vrf-namesummary
Parameters
vrf-name
Specifies the name of a VRF instance.
ipv6 address/mask
Specifies an IPv6 address and mask.
longer-prefixes
Specifies all statistics for routes that match the specified route, or that have a longer prefix than the specified route.
ip address/mask
Specifies an IP address and mask.
attribute-entries
Specifies BGP4 route-attribute entries that are stored in device memory.
dampened-paths
Specifies multiprotocol BGP (MBGP) paths that have been dampened by route-flap dampening.
filtered-routes
Specifies BGP4 filtered routes that are received from a neighbor or peer group.
detail
Optionally displays detailed route information.
as-path-access-listname
Specifies an AS-path ACL. The name must be between 1 and 32 ASCII characters in length.
prefix-listname
Specifies an IP prefix list. The name must be between 1 and 32 ASCII characters in length.
flap-statistics
Specifies the route flap statistics for routes received from or sent to a BGP4 neighbor.
as-path-filtername
Specifies an AS-path filter.
neighbor
Displays flap statistics only for routes learned from the specified neighbor.
ip-addr
IPv4 address of the neighbor.
regular-expression
Specifies a regular expression in the display output on which to filter.
name
Name of an AS-path filter or regular expression.
nexthop
Specifies the configured next hop.
reachable
Specifies reachable next hops.
unreachable
Specifies unreachable next hops.
peer-grouppeer-group-name
Specifies a peer group.
summary
Displays summarized information.
Modes

User EXEC mode

Examples

The following example shows BGP4 neighbor information for a VRF instance.

device> show ip bgp vrf blue neighbors
    Total number of BGP Neighbors:1
1   IP Address: 15.1.1.1, AS: 1 (IBGP), RouterID: 3.3.3.3, VRF: blue
    State: ESTABLISHED, Time: 1d22h43m13s, KeepAliveTime: 10, HoldTime: 30
       KeepAliveTimer Expire in 2 seconds, HoldTimer Expire in 29 seconds
    Minimal Route Advertisement Interval: 0 seconds
       RefreshCapability: Received
       GracefulRestartCapability: Received
           Restart Time 120 sec, Restart bit 0
           afi/safi 1/1, Forwarding bit 0
       GracefulRestartCapability: Sent
           Restart Time 120 sec, Restart bit 0
           afi/safi 1/1, Forwarding bit 0
    Messages:    Open    Update  KeepAlive Notification Refresh-Req
       Sent    : 1       1       16729     0            0          
       Received: 1       1       18103     0            0          
    Last Update Time: NLRI       Withdraw          NLRI       Withdraw
                  Tx: ---        ---           Rx: ---        ---        
    Last Connection Reset Reason:Unknown
    Notification Sent:     Unspecified
    Notification Received: Unspecified
    Neighbor NLRI Negotiation:
      Peer Negotiated IPV4  unicast  capability
      Peer configured for IPV4 unicast  Routes
    Neighbor AS4 Capability Negotiation:
    Outbound Policy Group:
       ID: 4, Use Count: 2                                        
    AO Keychain name : 1
    TCP Connection state: ESTABLISHED
     TCP Keychain name      : 1
     TCP-AO Enabled         : YES
     TCP-AO in use          : YES
     Keychain valid         : YES
     No of segments dropped : 0
     Send-Active-Key
     ---------------
       Key-id               : 1
       Crypto Algorithm     : AES-128-CMAC
       Send-id              : 100
       Recv-id              : 100
       Include-tcp-options  : YES
       Accept-ao-mismatch   : YES
     Recv-Active-Key
     ---------------
       Key-id               : 1
       Crypto Algorithm     : AES-128-CMAC
       Send-id              : 100
       Recv-id              : 100
       Include-tcp-options  : YES
       Accept-ao-mismatch   : YES

     Maximum segment size: 1420                                   
    TTL check: value: 0
       Byte Sent:   317929, Received: 344035
       Local host:  15.1.1.2, Local  Port: 179
       Remote host: 15.1.1.1, Remote Port: 8220
       ISentSeq:   21517275  SendNext:   21835205  TotUnAck:          0
       TotSent:      317930  ReTrans:           0  UnAckSeq:   21835205
       IRcvSeq:   155554412  RcvNext:   155898448  SendWnd:       16384
       TotalRcv:     344036  DupliRcv:          0  RcvWnd:        16384
       SendQue:           0  RcvQue:            0  CngstWnd:       1420
History
Release version Command history
09.0.10 The output for this command was modified to include TCP keychain authentication option (AO) information.