Distribute-List Prefix In - NETGEAR M6100 Series Reference Manual

Hide thumbs Also See for M6100 Series:
Table of Contents

Advertisement

locally originated. A route with a lower preference value is preferred to a route with a higher
preference value to the same destination. Routes with a preference of 255 may not be
selected as best routes and used for forwarding.
The change to the default BGP distances does not affect existing routes. To apply a distance
change to existing routes, you must force the routes to be deleted from the RIB and
relearned, either by resetting the peers from which the routes are learned or by disabling and
re-enabling BGP.
Default
external – 20
internal – 200
local – 200
Format
distance bgp external-distance internal-distance local-distance
Mode
IPv6 Address Family Config
Parameter
Description
external-distance
The preference value for routes learned from external peers. The range is 1 to 255.
internal-distance
The preference value for routes learned from internal peers. The range is 1 to 255.
local-distance
The preference value for locally-originated routes. The range is 1 to 255.
no distance BGP (IPv6 Address Family Config)
Use this command to set the default route preference value for eBGP, iBGP, and
locally-originated BGP IPv6 routes in the router.
Format
no distance bgp
Mode
IPv6 Address Family Config

distribute-list prefix in

Use this command to configure a filter that restricts the routes that BGP accepts from all
neighbors based on destination prefix. The distribute list is applied to all routes received from
all neighbors. Only routes permitted by the prefix list are accepted. If the command refers to a
prefix list that does not exist, the command is accepted and all routes are permitted.
Default
No distribute lists are defined by default.
Format
distribute-list prefix list-name in
Mode
BGP Router Config
Parameter
Description
list-name
A prefix list used to filter routes received from all peers based on destination prefix.
M6100 Series Switches
Border Gateway Protocol Commands
813

Advertisement

Table of Contents
loading

Table of Contents