Parameters
None
Description
Use the default ipv4-unicast command to enable the default use of IPv4 unicast address family for the
peers that are established using the peer as-number command.
Use the undo default ipv4-unicast command to disable the default use of IPv4 unicast address family
for the peers that are established using the peer as-number command.
The use of IPv4 unicast address family is enabled by default.
Note that:
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)
Syntax
default local-preference value
undo default local-preference
View
BGP view/BGP-VPN instance view
Default Level
2: System level
Parameters
value: Default local preference, in the range 0 to 4294967295. The larger the value is, the higher the
preference is.
Description
Use the default local-preference command to configure the default local preference.
Use the undo default local-preference command to restore the default value.
By default, the default local preference is 100.
Using this command can affect BGP route selection.
1-11