36 distance bgp, 37 exit-address-family, Distance bgp – PLANET XGS3-24042 User Manual

Page 642: Exit, Address, Family

Advertising
background image


37-281

Usage Guide:

Set the manage distance for specified BGP route as the path selecting basis.

Example:

Set the manage distance for route 90 10.1.1.64/32 to be 90.

Switch(config-router)# distance 90 10.1.1.64/32

37.36 distance bgp

Command:

distance bgp <1-255> <1-255> <1-255>

no distance bgp [<1-255> <1-255> <1-255>]

Function:

Set the BGP protocol management distance. The “no distance bgp [<1-255> <1-255> <1-255>]

command restores the manage distance to default value.

Parameter:

<1-255> Respectively the EBGP, IBGP and LOCAL manage distance of the BGP.

Default:

Default EBGP is 20, others are 200.

Command Mode:

BGP route mode

Usage Guide:

Set the manage distance for BGP routing as the NSM path selecting basis.

Example:

Set the manage distance for BGP routing as 15, the manage distance for IBGP and local routing as

150.

Switch(config-router)# distance bgp 15 150 150

37.37 exit-address-family

Command:

exit-address-family

Function:

Exit the BGP address-family mode.

Command Mode:

BGP address-family mode

Advertising
This manual is related to the following products: