Specifications

Send document comments to nexus3k-docfeedback@cisco.com.
6-37
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, Release 5.0(3)U2(2)
OL-25782-02
Chapter 6 Configuring Advanced BGP
Configuring Advanced BGP
Configuring Virtualization
You can create multiple VRFs and use the same BGP process in each VRF.
BEFORE YOU BEGIN
Ensure that you have enabled the BGP feature (see the “Enabling the BGP Feature” section on
page 5-11).
SUMMARY STEPS
1. configure terminal
2. vrf context vrf-name
3. exit
4. router bgp as-number
5. vrf vrf-name
6. neighbor ip-address remote-as as-number
7. bestpath as-path multipath-relax
Command Purpose
suppress-inactive
Example:
switch(config-router-neighbor-af)#
suppress-inactive
Advertises the best (active) routes only to the BGP
peer. This command triggers an automatic soft
clear or refresh of BGP neighbor sessions.
default-originate [route-map map-name]
Example:
switch(config-router-neighbor-af)#
default-originate
Generates a default route to the BGP peer.
filter-list list-name {in | out}
Example:
switch(config-router-neighbor-af)#
filter-list BGPFilter in
Applies an AS_path filter list to this BGP peer for
inbound or outbound route updates. This command
triggers an automatic soft clear or refresh of BGP
neighbor sessions.
prefix-list list-name {in | out}
Example:
switch(config-router-neighbor-af)#
prefix-list PrefixFilter in
Applies a prefix list to this BGP peer for inbound
or outbound route updates. This command triggers
an automatic soft clear or refresh of BGP neighbor
sessions.
send-community
Example:
switch(config-router-neighbor-af)#
send-community
Sends the community attribute to this BGP peer.
This command triggers an automatic soft clear or
refresh of BGP neighbor sessions.
send-extcommunity
Example:
switch(config-router-neighbor-af)#
send-extcommunity
Sends the extended community attribute to this
BGP peer. This command triggers an automatic soft
clear or refresh of BGP neighbor sessions.