H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 5 BGP Configuration Commands
5-9
5.1.9 default local-preference
Syntax
default local-preference value
undo default local-preference
View
BGP view
Parameters
value: Default local preference to be configured. The range is 0 to 4294967295. A
higher value represents a higher preference. By default, its value is 100.
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.
Configuring different local preferences will affect BGP routing selection.
Examples
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] bgp 100
[H3C-bgp] default local-preference 180
5.1.10 default med
Syntax
default med med-value
undo default med
View
BGP view/BGP multicast address family view
Parameters
med-value: Specified MED value, in the range of 0 to 4294967295. The default
med-value is 0.
Description
Use the default med command to configure the default MED value of the system.
Use the undo default med command to restore the default MED value of the system.