R3102-R3103-HP 6600/HSR6600 Routers MPLS Command Reference Guide
269
MPLS L3VPN configuration commands
For information about the BGP-L2VPN address family and the VPLS address family, see MPLS
Configuration Guide.
default local-preference (BGP-VPNv4 subaddress family view)
Use default local-preference to set the default value of the local preference.
Use undo default local-preference to restore the default.
Syntax
default local-preference value
undo default local-preference
Default
The default value of the local preference is 100.
Views
BGP-VPNv4 subaddress family view
Default command level
2: System level
Parameters
value: Default value for the local preference, in the range of 0 to 4294967295. 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)
Use default med to set the default value of the system MED.
Use undo default med to restore the default.
Syntax
default med med-value
undo default med










