![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/1/8b/18b1e1e7-4363-4706-bb94-6eba3a993996/18b1e1e7-4363-4706-bb94-6eba3a993996-bg3c2.png)
962 CHAPTER 72: BGP CONFIGURATION COMMANDS
Use the undo default ipv4-unicast command to disable the use of IPv4 unicast
address family for all peers.
The use of IPv4 unicast address family is enabled by default.
Examples # Enable IPv4 unicast address family for all neighbors.
<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
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.
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
[Sysname-bgp-vpn1] default local-preference 180
default med (BGP/BGP-VPN instance view)
Syntax default med med-value
undo default med