EasyManua.ls Logo

HP 6125G - Preference (BGP;BGP-VPN Instance View)

HP 6125G
410 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
196
[Sysname] bgp 100
[Sysname-bgp] peer test timer keepalive 60 hold 180
# In BGP-VPN instance view, configure the keepalive interval and holdtime interval for peer group test as
60s and 180s. (The VPN has been created.)
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] peer test timer keepalive 60 hold 180
# In BGP view, configure both the keepalive interval and holdtime interval for peer group test as 0
seconds, indicating the peer group will never time out.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test timer keepalive 0 hold 0
# In BGP-VPN instance view, configure both the keepalive interval and holdtime interval for peer group
test as 0 seconds, indicating the peer group will never time out. (vpn1 must have been created.)
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] peer test timer keepalive 0 hold 0
preference (BGP/BGP-VPN instance view)
Syntax
preference { external-preference internal-preference local-preference | route-policy route-policy-name }
undo preference
View
BGP view, BGP-VPN instance view
Default level
2: System level
Parameters
external-preference: Preference of EBGP routes, in the range of 1 to 255.
internal-preference: Preference of IBGP routes, in the range of 1 to 255.
local-preference: Preference of local routes, in the range of 1 to 255.
route-policy-name: Routing policy name, a case-sensitive string of 1 to 63 characters. Using the routing
policy can set a preference for routes matching it. The default value applies to routes not matching the
routing policy.
Description
Use preference to configure preferences for external, internal, and local routes.
Use undo preference to restore the default.
For external-preference, internal-preference, and local-preference, the greater the preference value is, the
lower the preference is, and the default values are 255, 255, and 130.

Table of Contents

Other manuals for HP 6125G

Related product manuals