EasyManua.ls Logo

Dell S4048-ON - Configuring the Local System or a Different System to be the Next Hop for BGP-Learned Routes

Dell S4048-ON
1146 pages
Print Icon
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...
Change the LOCAL_PREF value.
CONFIG-ROUTER-BGP mode
bgp default local-preference value
value: the range is from 0 to 4294967295.
The default is 100.
To view the BGP conguration, use the show config command in CONFIGURATION ROUTER BGP mode or the show running-
config bgp command in EXEC Privilege mode.
A more exible method for manipulating the LOCAL_PREF attribute value is to use a route map.
1 Enter the ROUTE-MAP mode and assign a name to a route map.
CONFIGURATION mode
route-map map-name [permit | deny] [sequence-number]
2 Change LOCAL_PREF value for routes meeting the criteria of this route map.
CONFIG-ROUTE-MAP mode
set local-preference value
3 Return to CONFIGURATION mode.
CONFIG-ROUTE-MAP mode
exit
4 Enter ROUTER BGP mode.
CONFIGURATION mode
router bgp as-number
5 Apply the route map to the neighbor or peer group’s incoming or outgoing routes.
CONFIG-ROUTER-BGP mode
neighbor {ip-address | peer-group-name} route-map map-name {in | out}
To view the BGP conguration, use the show config command in CONFIGURATION ROUTER BGP mode. To view a route map
conguration, use the
show route-map command in EXEC Privilege mode.
Conguring the local System or a Dierent System to be the
Next Hop for BGP-Learned Routes
You can congure the local router or a dierent router as the next hop for BGP-learned routes.
To change how the NEXT_HOP attribute is used, enter the rst command. To view the BGP conguration, use the show config
command in CONFIGURATION ROUTER BGP mode or the show running-config bgp command in EXEC Privilege mode.
You can also use route maps to change this and other BGP attributes. For example, you can include the second command in a route map to
specify the next hop address.
Disable next hop processing and congure the router (route reector) as the next hop for a BGP neighbor.
CONFIG-ROUTER-BGP mode
neighbor {ip-address | peer-group-name} next-hop-self [all]
Border Gateway Protocol IPv4 (BGPv4)
213

Table of Contents

Related product manuals