Dell S50V Switch User Manual


  Open as PDF
of 1262
 
Border Gateway Protocol IPv4 (BGPv4) | 253
To view the BGP configuration, use the show config command in the CONFIGURATION ROUTER BGP
mode. To view a route map configuration, use the
show route-map command in EXEC Privilege mode.
Change NEXT_HOP attribute
You can change how the NEXT_HOP attribute is used.
Use the following command in the CONFIGURATION ROUTER BGP mode to change the how the
NEXT_HOP attribute is used.
Use the
show config command in CONFIGURATION ROUTER BGP mode or the show running-config
bgp
command in EXEC Privilege mode to view BGP configuration.
You can also use route maps to change this and other BGP attributes. For example, you can include the
following command in a route map to specify the next hop address:
Change WEIGHT attribute
Use the following command in CONFIGURATION ROUTER BGP mode to change the how the WEIGHT
attribute is used.
Use the
show config command in CONFIGURATION ROUTER BGP mode or the show running-config
bgp
command in EXEC Privilege mode to view BGP configuration.
4
router bgp as-number CONFIGURATION Enter the ROUTER BGP mode.
5
neighbor {ip-address |
peer-group-name} route-map
map-name {in | out}
CONFIG-ROUTER-BGP Apply the route map to the neighbor or peer
group’s incoming or outgoing routes.
Command Syntax Command Mode Purpose
neighbor {ip-address |
peer-group-name} next-hop-self
CONFIG-ROUTER-B
GP
Disable next hop processing and configure the
router as the next hop for a BGP neighbor.
Command Syntax Command Mode Purpose
set next-hop ip-address CONFIG-ROUTE-M
AP
Sets the next hop address.
Command Syntax Command Mode Purpose
neighbor {ip-address |
peer-group-name} weight weight
CONFIG-ROUTER-
BGP
Assign a weight to the neighbor connection.
weight range: 0 to 65535
Default is 0
Step Command Syntax Command Mode Purpose