3com S7906E 참조 가이드

다운로드
페이지 2327
 
1-5 
# In BGP-VPN instance view, enable the comparison of MED for paths from each AS when selecting the 
best route. (The VPN has been created). 
<Sysname> system-view 
[Sysname] bgp 100 
[Sysname-bgp] ipv4-family vpn-instance vpn1 
[Sysname-bgp-vpn1] bestroute compare-med 
bestroute med-confederation (BGP/BGP-VPN instance view) 
Syntax 
bestroute med-confederation 
undo bestroute med-confederation 
View 
BGP view/BGP-VPN instance view 
Default Level 
2: System level 
Parameters 
None 
Description 
Use the bestroute med-confederation command to enable the comparison of the MED for paths from 
confederation peers during best route selection. 
Use the undo bestroute med-confederation command to disable the comparison. 
The comparison is not enabled by default. 
The system only compares MED values for paths from peers within the confederation. Paths from 
external ASs are advertised throughout the confederation without MED comparison.  
Examples 
# In BGP view, enable the comparison of the MED for paths from peers within the confederation.  
<Sysname> system-view 
[Sysname] bgp 100 
[Sysname-bgp] bestroute med-confederation 
# In BGP-VPN instance view, enable the comparison of the MED for paths from peers within the 
confederation. (The VPN has been created). 
<Sysname> system-view 
[Sysname] bgp 100 
[Sysname-bgp] ipv4-family vpn-instance vpn1 
[Sysname-bgp-vpn1] bestroute med-confederation 
bgp 
Syntax 
bgp as-number