Layer 3 Routing Commands
1242
can be overlap between the prefix and mask configured for different
commands. When there is overlap, the command whose prefix and wildcard
mask are the longest match for a neighbor’s address is applied to routes from
that neighbor.
An ECMP route’s distance is determined by applying
distance
commands to
the neighbor that provided the best path.
The
distance
command is not applied to existing routes. To apply
configuration changes to the
distance
command itself or the prefix list to
which a
distance
command applies, you must force a hard reset of affected
neighbors.
Command History
Introduced in version 6.2.0.1 firmware.
Example
To set the preference value of the BGP route to 100.0.0.0/8 from neighbor
10.1.1.1, use the following
distance
command:
(R1) (Config)# ip prefix-list pfx-list1 permit 100.0.0.0/8
(R1) (Config)# router bgp 1
(R1) (Config-router)# distance 25 10.1.1.1 0.0.0.0 pfx-list1
To set the preference value to 12 for all BGP routes from neighbor 10.1.1.1,
use the following distance command:
(R1) (Config-router)# distance 12 10.1.1.1 0.0.0.0
To set the preference value of all routes within 100.0.0.0/8 from any neighbor,
use the following distance command:
(R1) (Config)# ip prefix-list pfx-list2 permit 100.0.0.0/8 ge 8
(R1) (Config)# router bgp 1
(R1) (Config-router)#distance 25 0.0.0.0 255.255.255.255 pfx-list2
distance bgp (BGP Router Configuration)
Use this command to set the preference (also known as administrative
distance) of BGP routes.
Syntax
distance bgp
external-distance internal-distance local-distance
no distance bgp
Содержание N1100-ON
Страница 2: ......
Страница 4: ......
Страница 258: ...Using the CLI 258 ...
Страница 488: ...Layer 2 Switching Commands 488 Operational State Querier Operational version 1 ...
Страница 656: ...Layer 2 Switching Commands 656 10 ...
Страница 1128: ...Audio Visual Bridging Commands 1128 ...
Страница 1186: ...Data Center Technology Commands 1186 ...
Страница 1414: ...Layer 3 Routing Commands 1414 Command History Introduced in version 6 2 0 1 firmware Example console route map set metric 6432 ...
Страница 1435: ...Layer 3 Routing Commands 1435 Number of Joins 7 Number of Groups 1 ...
Страница 1598: ...Layer 3 Routing Commands 1598 Vl10 Rx 0 0 0 0 0 0 0 Tx 2 0 0 0 0 0 0 Invalid Packets Received 0 ...
Страница 1621: ...Layer 3 Routing Commands 1621 Vl10 Rx 0 0 0 0 0 0 0 Tx 2 0 0 0 0 0 0 Invalid Packets Received 0 ...
Страница 2330: ......
Страница 2331: ...www dell com support dell com Printed in the U S A ...
Страница 2332: ......