Layer 3 Routing Commands
1241
Command History
Introduced in version 6.2.0.1 firmware.
Example
console(config-router-af)#default-metric 1
distance
Use this command to set the preference (also known as administrative
distance) of BGP routes to specific destinations.
Syntax
distance
distance [ prefix wildcard-mask [prefix-list] ]
no distance
distance [ prefix wildcard-mask [prefix-list] ]
• distance—The preference value for matching routes. The range is 1 to 255.
• prefix wildcard-mask— Routes learned from BGP peers whose address falls
within this prefix are assigned the configured distance value. The wildcard-
mask is an inverted network mask whose 1 bits indicate the don’t care
portion of the prefix.
• prefix-list—A prefix list can optionally be specified to limit the distance
value to a specific set of destination prefixes learned from matching
neighbors.
Default Configuration
BGP assigns preference values according to the
distance bgp
command,
unless overridden for specific neighbors or prefixes by this command.
Command Mode
BGP Router Configuration mode
User Guidelines
You may enter up to 128 instances of this command. Two instances of this
command may not have the same prefix and wildcard mask. If a
distance
command is configured that matches an existing
distance
command’s prefix
and wildcard mask, the new command replaces the existing command. There
Summary of Contents for N1100-ON
Page 2: ......
Page 4: ......
Page 258: ...Using the CLI 258 ...
Page 488: ...Layer 2 Switching Commands 488 Operational State Querier Operational version 1 ...
Page 656: ...Layer 2 Switching Commands 656 10 ...
Page 1128: ...Audio Visual Bridging Commands 1128 ...
Page 1186: ...Data Center Technology Commands 1186 ...
Page 1435: ...Layer 3 Routing Commands 1435 Number of Joins 7 Number of Groups 1 ...
Page 2330: ......
Page 2331: ...www dell com support dell com Printed in the U S A ...
Page 2332: ......