1672 CHAPTER 98: MPLS L3VPN CONFIGURATION COMMANDS

undo default local-preference

View BGP-VPNv4 subaddress family view

Parameter value: Default value for the local preference, in the range 0 to 4294967295. A greater value represents a higher priority.

Description Use the default local-preferencecommand to set the default value of the local preference.

Use the undo default local-preferencecommand to restore the default.

By default, the default value of the local preference is 100.

Example # 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 (BGP-VPNv4 subaddress family view)

Syntax default med med-value

undo default med

View BGP-VPNv4 subaddress family view

Parameter med-value: MED value, in the range 0 to 4,294,967,295.

Description Use the default med command to set the default system metric.

Use the undo default med command to restore the default.

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.

Example # 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

Page 1672
Image 1672
3Com MSR 30, MSR 50 manual Default med BGP-VPNv4 subaddress family view, Undo default local-preference