Command Manual - Routing Protocol
Quidway S6500 Series Ethernet Switches Chapter 5 BGP Configuration Commands
Huawei Technologies Proprietary
5-46
Parameter
group-name: Name of peer group.
peer-address: IP address of the peer.
keepalive-interval: Keepalive interval to be specified. The range is 1 to 65535. By
default, its value is 60 seconds.
holdtime-interval: Holdtime interval to be specified. The range is 3 to 65535. By default,
its value is 180 seconds.
Description
Using peer timer command, you can configure the timers for a peer/peer group. Using
undo peer timer command, you can restore the timer to the default value.
The timer configured by using this command has a higher priority than the one
configured by using the timer command.
Example
# Configure Keepalive and Holdtime intervals of the peer group “test”.
[Quidway-bgp] peer test timer keep-alive 60 hold 180
5.1.56 preference
Syntax
preference ebgp-value ibgp-value local-value
undo preference
View
BGP view
Parameter
ebgp-value: Set preference value for routes learned from external peers.
ibgp-value: Set preference value for routes learned from internal peers.
local-value: Set preference value for local-origined routes.
The ebgp-value, ibgp-value and local-value parameters are in the range of 1 to 256. By
default, the first two is 256 and the last one is 130.
Description
Using preference command, you can configure BGP preference. Using undo
preference command, you can restore the default preference.