DXS-3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide
171
Switch# clear ip bgp flap-statistics
Switch#
11-28
distance bgp
This command is used to configure the distance for BGP routes. Use the
no
form of the command to
restore to the default setting.
distance bgp EXTERNAL-DISTANCE INTERNAL-DISTANCE
no distance bgp
Parameters
EXTERNAL-DISTANCE
Specifies the distance for routes learned from external peers. The valid
range is 1 to 255.
INTERNAL-DISTANCE
Specifies the distance for routes learned from internal peers. The valid
range is 1 to 255.
Default
External distance is 70.
Internal distance is 130.
Command Mode
Router Configuration Mode.
Address Family Configuration (VRF) Mode.
Command Default Level
Level: 12.
Usage Guideline
User can use the
distance bgp
command to set the administrative distance for routes learned from
eBGP peers and iBGP peers. The
distance bgp
command acts as the distance command for other
routing protocol, determines which routes will be installed in routing information base.
Numerically, an administrative distance is an integer from 1 to 255. In general, the higher the value is, the
lower the rating of trustworthiness is.
Example
This example shows how to set the distance of external routes and internal routes in to 50, 100,
respectively.
Switch# configure terminal
Switch(config)# router bgp 65100
Switch(config-router)# distance bgp 50 100
11-29
ip as-path access-list
This command is used to define a rule entry for a BGP Autonomous System (AS) path access list. Use
the
no
form of this command to remove the definition of an AS path access-list.
Summary of Contents for DXS-3600 Series
Page 1: ......
Page 423: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 418 ...
Page 548: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 543 ...
Page 673: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 668 ...
Page 712: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 707 Switch ...
Page 845: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 840 ...
Page 884: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 879 ...
Page 1152: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 1147 ...