R3303-HP HSR6800 Routers MPLS Command Reference

353
IPv6 MPLS L3VPN commands
This chapter describes only IPv6 MPLS L3VPN-specific commands. For information about the commands
available for both IPv4 MPLS L3VPN and IPv6 MPLS L3VPN, see "MPLS L3VPN configuration
commands."
default local-preference (BGP-VPNv6 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-VPNv6 subaddress family view
Default command level
2: System level
Parameters
value: Specifies the 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-VPNv6 subaddress family 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-IPv6 route going through B to the destination is preferred.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family vpnv6
[Sysname-bgp-af-vpnv6] default local-preference 180
default med (BGP-VPNv6 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