
270
MPLS L3VPN configuration commands
NOTE:
•
For information about the BGP L2VPN address family and the VPLS address family, see the
MPLS
Configuration Guide.
•
The HP 5820X switch series do not support MPLS L3VPN.
default local-preference (BGP-VPNv4 subaddress family view)
Description
Use the
default local-preference
command to set the default value of the local preference.
Use the
undo default local-preference
command to restore the default.
By default, the default value of the local preference is 100.
Syntax
default local-preference
value
undo default local-preference
View
BGP-VPNv4 subaddress family view
Default level
2: System level
Parameters
value
: Specifies the default value for the local preference, ranging from 0 to 4,294,967,295. A greater
value represents a higher priority.
Examples
# Devices A and B are connected to the outside AS. In BGP-VPNv4 subaddress family view of Device B,
set the default local preference of Device B to 180, so that when a destination in the outside AS can be
reached through both A and B, the BGP VPN-IPv4 route going through B to the destination is preferred.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] default local-preference 180
default med (BGP-VPNv4 subaddress family view)
Description
Use the
default med
command to set the default system MED.
Use the
undo default med
command to restore the default.