R3303-HP 6600/HSR6600 Routers Layer 3 - IP Routing Command Reference
221
Usage guidelines
The default ipv4-unicast or undo default ipv4-unicast command applies to only BGP peers that are
established after it is executed.
The default ipv4-unicast or undo default ipv4-unicast command applies to only BGP peers that are
established using the peer as-number command.
After executing the undo default ipv4-unicast command, you can use the peer enable command to
enable the use of IPv4 address family for a peer.
Examples
# Enable the default use of IPv4 unicast address family for the peers that are established using the peer
as-number command.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] default ipv4-unicast
default local-preference (BGP/BGP-VPN instance view)
Use default local-preference to configure the default local preference.
Use undo default local-preference to restore the default value.
Syntax
default local-preference value
undo default local-preference
Default
The default local preference is 100.
Views
BGP view, BGP-VPN instance view
Default command level
2: System level
Parameters
value: Specifies the default local preference in the range of 0 to 4294967295. A larger the value
represents a higher preference.
Usage guidelines
Using this command can affect BGP route selection.
Examples
# In BGP view, set the default local preference to 180.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] default local-preference 180
# In BGP-VPN instance view, set the default local preference to 180. (The VPN has been created.)
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1










