Command Manual – MPLS
Quidway S8500 Series Routing Switches
Chapter 2 BGP/MPLS VPN Configuration Commands
Huawei Technologies Proprietary
2-5
2.1.5 default med
Syntax
default med
med-value
undo default med
View
VPNv4 subaddress family view, VPN-instance subaddress family view
Parameter
med-value
: MED value, ranging from 0 to 4294967295. The default value is 0.
Description
Use the
default med
command to configure the MED value of the system.
Use the
undo default med
command to restore the default value.
MED attributes, switched between autonomous system (AS), is an external
measurement for routes and does not leave AS once entering it. The route with smaller
MED value will be selected as the external one for AS when other conditions hold.
Example
# The routers RTA and RTB belong to AS100 and the router RTC belongs to AS200.
RTC associates with RTA and RTB. Set the MED value of RTA 25. This makes the RTC
prefer the route sent by RTB.
[Quidway-bgp-af-vpn-instance] default med 25
2.1.6 description
Syntax
description
vpn-instance-description
undo description
View
VPN-instance view
Parameter
vpn-instance-description
: Specifies the description of a specified VPN instance.
Description
Use the
description
command to configure description for a specified VPN instance.
Use the
undo description
command to remove the description of this VPN instance.