3com S7906E 참조 가이드

다운로드
페이지 2327
 
1-41 
Default Level 
2: System level 
Parameters 
group-name: Name of an IPv4 MBGP peer group, a string of 1 to 47 characters.  
ip-address: IP address of an IPv4 MBGP peer.  
value: Preferred value, in the range 0 to 65535.  
Description 
Use the peer preferred-value command to specify a preferred value for routes received from a peer or 
peer group. 
Use the undo peer preferred-value command to restore the default value.  
The default preferred value is 0.  
Routes learned from a peer have an initial preferred value. Among multiple routes that have the same 
destination/mask and are learned from different peers, the one with the greatest preferred value is 
selected as the route to the destination.  
Note that: 
If you both reference a route policy and use the peer { group-name | ip-address preferred-value value 
command to set a preferred value for routes from a peer/peer group, the route policy sets a specified 
non-zero preferred value for routes matching it. Other routes not matching the route policy uses the 
value set with the peer preferred-value command. If the preferred value specified in the route policy is 
zero, the routes matching it will also use the value set with the command.  
For information about using a route policy to set a preferred value, refer to the command peer 
group-name | ip-address } route-policy route-policy-name { export | import } in this document, and 
the command apply preferred-value  preferred-value in Route policy Commands of the IP Routing 
Volume
Examples 
# In IPv4 MBGP address family view, configure the preferred value as 50 for routes from peer 
131.108.1.1.  
<Sysname> system-view 
[Sysname]bgp 100 
[Sysname-bgp] peer 131.108.1.1 as-number 100 
[Sysname-bgp]ipv4-family multicast 
[Sysname-bgp-af-mul] peer 131.108.1.1 enable 
[Sysname-bgp-af-mul] peer 131.108.1.1 preferred-value 50 
peer public-as-only (MBGP family view)  
Syntax 
peer { group-name | ip-address } public-as-only 
undo peer { group-name | ip-address public-as-only 
View 
IPv4 MBGP address family view