Default Med (Bgp-Vpnv4 Subaddress Family 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

1672
C
98: MPLS L3VPN C
HAPTER
View
Parameter
Description
Example

default med (BGP-VPNv4 subaddress family view)

Syntax
View
Parameter
Description
Example
C
ONFIGURATION
OMMANDS
undo default local-preference
BGP-VPNv4 subaddress family view
value: Default value for the local preference, in the range 0 to 4294967295. A
greater value represents a higher priority.
Use the
default local-preference
preference.
Use the
undo default local-preference
By default, the default value of the local preference is 100.
# With devices A and B connected to the outside AS, configure B with a default
local preference of 180 in BGP-VPNv4 subaddress family view, allowing the route
going through B to be preferred when more than one route is present.
<Sysname> system-view
[Sysname] bgp 100
[Sysname] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] default local-preference 180
default med med-value
undo default med
BGP-VPNv4 subaddress family view
med-value: MED value, in the range 0 to 4,294,967,295.
Use the
default med
Use the
undo default med
With other criteria the same, the system selects the route with a smaller MED
value as the AS external route.
By default, the MED value is 0.
# Set the default MED to 10 for PE 1 in BGP-VPNv4 subaddress family view.
<Sysname> system-view
[Sysname] bgp 100
[Sysname] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] default med 10
command to set the default value of the local
command to restore the default.
command to set the default system metric.
command to restore the default.

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