3com MSR 20-20 참조 매뉴얼
957
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.
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.
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).
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
undo bgp [ as-number ]
View
System view
Parameters
as-number: Specifies the local AS number from 1 to 65535.
Description
Use the bgp command to enable BGP and enter the BGP view.
Use the undo bgp command to disable BGP.
By default, BGP is not enabled.
Examples
# Enable BGP and set local AS number to 100.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp]
compare-different-as-med (BGP/BGP-VPN instance view)
Syntax
compare-different-as-med
undo compare-different-as-med
View
BGP view/BGP-VPN instance view
Parameters
None