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-48
Use the undo peer timer command to restore the default value of the timer.
The timer configured by using this command has a higher priority than the one
configured by using the timer command.
Examples
# Configure Keepalive and Holdtime intervals of the peer group test.
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C] bgp 100
[H3C-bgp] peer test timer keep-alive 60 hold 180
5.1.54 preference
Syntax
preference ebgp-value ibgp-value local-value
undo preference
View
BGP view
Parameters
ebgp-value: Preference value for EBGP. It is in the range of 1 to 256 and defaults to
256.
ibgp-value: Preference value for IBGP routes. It is in the range of 1 to 256 and defaults
to 256.
local-value: Preference value for locally-originated routes. It is in the range of 1 to 256
and defaults to 130.
Description
Use the preference command to set preference values for the routes learned from
external peers, routes learned from internal peers, and local-originated routes.
Use the undo preference command to restore the default preference values.
You can configure preferences for different types of routes of BGP.
Examples
# Set the preferences of EBGP, IBGP and locally generated routes to 170.
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C] bgp 100
[H3C-bgp] preference 170 170 170