Chapter 10
Configuring Basic BGP
S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m .
Command
show {ip | ipv6} bgp options
show {ip | ipv6} mbgp options
show running-configuration bgp
Displaying BGP Statistics
To display BGP statistics, use the following commands:
Command
show bgp {ip | ipv6} {unicast | multicast}
[ip-address | ipv6-prefix] flap-statistics
[vrf vrf-name]
show bgp sessions [vrf vrf-name]
show bgp sessions [vrf vrf-name]
show bgp statistics
Basic BGP Example Configuration
The following example shows a basic BGP configuration:
feature bgp
router bgp 64496
neighbor 2001:ODB8:0:1::55 remote-as 64496
address-family ipv6 unicast
Related Topics
The following topics relate to BGP:
•
OL-20002-02
next-hop-self
Chapter 16, "Configuring Route Policy Manager."
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
Purpose
Displays the BGP status and configuration
information. This command has multiple options.
See the Cisco Nexus 7000 Series NX-OS Unicast
Routing Command Referencefor more
information.
Displays the BGP status and configuration
information. This command has multiple options.
See the Cisco Nexus 7000 Series NX-OS Unicast
Routing Command Referencefor more
information.
Displays the current running BGP configuration.
Purpose
Displays the BGP route flap statistics. Use the clear bgp
flap-statistics command to clear these statistics.
Displays the BGP sessions for all peers. Use the clear
bgp sessions command to clear these statistics.
Displays the BGP sessions for all peers. Use the clear
bgp sessions command to clear these statistics.
Displays the BGP statistics.
Displaying BGP Statistics
10-23