EasyManua.ls Logo

Cisco Nexus 3000 series - Page 149

Cisco Nexus 3000 series
338 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 nexus3k-docfeedback@cisco.com
5-17
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, NX-OS Release5.0(3)U1(1)
Chapter 5 Configuring Basic BGP
Configuring Basic BGP
This example shows how to configure dynamic AS numbers for a prefix peer:
switch# configure terminal
switch(config)# route-map BGPPeers
switch(config-route-map)# match as-number 64496, 64501-64510
switch(config-route-map)# match as-number as-path-list List1, List2
switch(config-route-map)# exit
switch(config)# router bgp 64496
switch(config-router)# neighbor 192.0.2.0/8 remote-as route-map BGPPeers
switch(config-router-neighbor)# description Peer Router B
switch(config-router-neighbor)# address-family ipv4 unicast
switch(config-router-neighbor-af)# copy running-config startup-config
See Chapter 11, “Configuring Route Policy Manager” for information on route maps.
Step 3
neighbor
prefix
remote-as route-map
map-name
Example:
switch(config-router)# neighbor
192.0.2.0/8 remote-as routemap BGPPeers
switch(config-router-neighbor)#
Configures the IPv 4 prefix and a route map for the list
of accepted AS numbers for the remote BGP peers.
The prefix format for IPv4 is x.x.x.x/length. The length
range is from 1 to 32.
The map-name can be any case-sensitive,
alphanumerics string up to 63 characters.
Step 4
show bgp ipv4 {unicast | multicast}
neighbors
Example:
switch(config-router-neighbor-af)# show
bgp ipv4 unicast neighbors
(Optional) Displays information about BGP peers.
Step 5
copy running-config startup-config
Example:
switch(config-router-neighbor-af) copy
running-config startup-config
(Optional) Saves this configuration change.
Command Purpose

Table of Contents

Other manuals for Cisco Nexus 3000 series

Related product manuals