Distance - Dell N1100-ON Reference Manual

Table of Contents

Advertisement

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
Layer 3 Routing Commands
1241

Advertisement

Table of Contents
loading

This manual is also suitable for:

N1500N3100-onN4000N2100-onN2000N3000

Table of Contents