271
With other criteria the same, the system selects the route with a smaller MED value as the AS external
route.
By default, the default system MED value is 0.
Syntax
default med med-value
undo default med
View
BGP-VPNv4 subaddress family view
Default level
2: System level
Parameters
med-value: Specifies the default value of the MED, ranging from 0 to 4,294,967,295.
Examples
# Set the default MED to 10 in BGP-VPNv4 subaddress family view.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] default med 10
description (VPN instance view)
Description
Use the description command to configure a description for a VPN instance.
Use the undo description command to delete the description.
Syntax
description text
undo description
View
VPN instance view
Default level
2: System level
Parameters
text: Describes the VPN instance, which is a string of 1 to 80 characters.
Examples
# Configure the description of VPN instance vpn1.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1] description This is vpn1