EasyManua.ls Logo

Cisco Nexus 7000 Series - Verifying Advanced BGP Configuration

Cisco Nexus 7000 Series
536 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Send document comments to nexus7k-docfeedback@cisco.com.
11-42
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 11 Configuring Advanced BGP
Verifying Advanced BGP Configuration
This example shows how to create a VRF and configure the router ID in the VRF:
switch# config t
switch(config)# vrf context NewVRF
switch(config-vrf)# exit
switch(config)# router bgp 65536
switch(config-router)# vrf NewVRF
switch(config-router-vrf)# neighbor 209.165.201.1 remote-as 65536
switch(config-router-vrf-neighbor)# copy running-config startup-config
Verifying Advanced BGP Configuration
To verify the BGP configuration, use the following commands:
Step 6
neighbor
ip-address
remote-as
as-number
Example:
switch(config-router-vrf)# neighbor
209.165.201.1 remote-as 65536
switch(config-router--vrf-neighbor)#
Configures the IP address and AS number for a remote
BGP peer.
Step 7
copy running-config startup-config
Example:
switch(config-router-vrf-neighbor)# copy
running-config startup-config
(Optional) Saves this configuration change.
Command Purpose
Command Purpose
show bgp all [summary] [vrf vrf-name] Displays the BGP information for all address
families.
show bgp convergence [vrf vrf-name] Displays the BGP information for all address
families.
show bgp {ip | ipv6} {unicast | multicast}
[ip-address | ipv6-prefix] community {regexp
expression | [community] [no-advertise]
[no-export] [no-export-subconfed]} [vrf
vrf-name]
Displays the BGP routes that match a BGP
community.
show bgp [vrf vrf-name] {ip | ipv6} {unicast |
multicast} [ip-address | ipv6-prefix]
community-list list-name [vrf vrf-name]
Displays the BGP routes that match a BGP
community list.
show bgp {ip | ipv6} {unicast | multicast
}
[ip-address | ipv6-prefix] extcommunity {regexp
expression | generic [non-transitive | transitive]
aa4:nn [exact-match]} [vrf vrf-name]
Displays the BGP routes that match a BGP
extended community.
show bgp {ip | ipv6} {unicast | multicast}
[ip-address | ipv6-prefix] extcommunity-list
list-name [exact-match]} [vrf vrf-name]
Displays the BGP routes that match a BGP
extended community list.

Table of Contents

Other manuals for Cisco Nexus 7000 Series

Related product manuals