Defaults
Instructions
Example
Related
Commands
Purpose
Command Modes
Syntax
Syntax
Description
Instructions
Example
Purpose
Command Modes
Syntax
This command is disabled by default.
To select the best path among many selectable paths, MED is one
of the considerable parameters. It is prior to select the path with
the MED of lower priority.
During the process of the selection of the best path, by default,
MED is compared only for paths from neighbors in the same au-
tonomous system. After this command is configured, MED can be
compared paths from neighbors in different autonomous systems.
This example describes how to allow the comparison of MED for
paths from neighbors in different autonomous systems in BGP con-
figuration mode.
ZXR10(config)#router bgp 1
ZXR10(config-router)#bgp always-compare-med
reset ip bgp
bgp as
Use this command to configure the route AS path weight policy.
Disable the policy with the no form of this command.
Router configuration
bgp as <as-number><as-weight>
no bgp as <as-number>
<as-number>
<as-weight>
In the BGP route policy, the AS path length is one of the factors
of the policy. Local router uses the AS weight sum as the policy,
routes with the less weight sum will be preferred.
This example describes how to set the weight of AS2 as 200.
ZXR10(config)#router bgp 1
ZXR10(config-router)#bgp as 2 200
bgp client-to-client reflection
Use this command to configure the reflection from one client to
other clients. Restore default with the no form of this command.
Router configuration
bgp client-to-client reflection
Confidential and Proprietary Information of ZTE CORPORATION
Autonomous system number, rang: 1~65535
Corresponding weight of autonomous system,
range: 0~255, default: 128, 255 indicates
that the imported route with this autonomous
system is invalid, .
Chapter 6 BGP4+ Protocol
87