HP VPN Firewall Appliances Network Management Command Reference
449
Default
The comparison is disabled.
Views
BGP view, BGP-VPN instance view
Default command level
2: System level
Usage guidelines
If several paths to one destination are available, the path with the smallest MED is selected.
Do not use this command unless associated ASs adopt the same IGP protocol and routing selection
method.
Examples
# In BGP view, enable the comparison of the MED for paths from peers in different ASs.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] compare-different-as-med
# In BGP-VPN instance view, enable the comparison of the MED for paths from peers in different ASs.
(The VPN has been created.)
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] compare-different-as-med
confederation id
Use confederation id to configure a confederation ID.
Use undo confederation id to remove a specified confederation.
Syntax
confederation id as-number
undo confederation id
Default
No confederation ID is configured.
Views
BGP view
Default command level
2: System level
Parameters
as-number: Specifies the number of the AS that contains multiple sub-ASs, in the range of 1 to
4294967295.