•
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 configuration, use the
show config
command in CONFIGURATION ROUTER BGP mode or the
show running-
config bgp
command in EXEC Privilege mode.
A more flexible 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 configuration, use the
show config
command in CONFIGURATION ROUTER BGP mode. To view a route map
configuration, use the
show route-map
command in EXEC Privilege mode.
Configuring the local System or a Different System to be the
Next Hop for BGP-Learned Routes
You can configure the local router or a different router as the next hop for BGP-learned routes.
To change how the NEXT_HOP attribute is used, enter the first command. To view the BGP configuration, 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 configure the router (route reflector) 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
Содержание S4048T-ON
Страница 1: ...Dell Configuration Guide for the S4048 ON System 9 11 2 1 ...
Страница 148: ...Figure 10 BFD Three Way Handshake State Changes 148 Bidirectional Forwarding Detection BFD ...
Страница 251: ...Dell Control Plane Policing CoPP 251 ...
Страница 363: ... RPM Synchronization GARP VLAN Registration Protocol GVRP 363 ...
Страница 511: ...Figure 64 Inspecting the LAG Configuration Link Aggregation Control Protocol LACP 511 ...
Страница 512: ...Figure 65 Inspecting Configuration of LAG 10 on ALPHA 512 Link Aggregation Control Protocol LACP ...
Страница 515: ...Figure 67 Inspecting a LAG Port on BRAVO Using the show interface Command Link Aggregation Control Protocol LACP 515 ...
Страница 516: ...Figure 68 Inspecting LAG 10 Using the show interfaces port channel Command 516 Link Aggregation Control Protocol LACP ...
Страница 558: ...Figure 84 Configuring Interfaces for MSDP 558 Multicast Source Discovery Protocol MSDP ...
Страница 559: ...Figure 85 Configuring OSPF and BGP for MSDP Multicast Source Discovery Protocol MSDP 559 ...
Страница 560: ...Figure 86 Configuring PIM in Multiple Routing Domains 560 Multicast Source Discovery Protocol MSDP ...
Страница 564: ...Figure 88 MSDP Default Peer Scenario 2 564 Multicast Source Discovery Protocol MSDP ...
Страница 565: ...Figure 89 MSDP Default Peer Scenario 3 Multicast Source Discovery Protocol MSDP 565 ...
Страница 729: ...protocol spanning tree pvst no disable vlan 300 bridge priority 4096 Per VLAN Spanning Tree Plus PVST 729 ...
Страница 841: ...Figure 115 Single and Double Tag TPID Match Service Provider Bridging 841 ...
Страница 842: ...Figure 116 Single and Double Tag First byte TPID Match 842 Service Provider Bridging ...