Default Local-Preference (Bgp/Bgp-Vpn Instance View); Default Med (Bgp/Bgp-Vpn Instance View) - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

962
C
72: BGP C
HAPTER
Examples

default local-preference (BGP/BGP-VPN instance view)

Syntax
View
Parameters
Description
Examples

default med (BGP/BGP-VPN instance view)

Syntax
C
ONFIGURATION
OMMANDS
Use the
undo default ipv4-unicast
address family for all peers.
The use of IPv4 unicast address family is enabled by default.
# Enable IPv4 unicast address family for all neighbors.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] default ipv4-unicast
default local-preference value
undo default local-preference
BGP view/BGP-VPN instance view
value: Default local preference, in the range 0 to 4294967295. The larger the
value is, the higher the preference is.
Use the
default local-preference
preference.
Use the
undo default local-preference
By default, the default local preference is 100.
Using this command can affect BGP route selection.
# 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 med-value
undo default med
command to disable the use of IPv4 unicast
command to configure the default local
command to restore the default value.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents