Preference (Bgp/Bgp-Vpn Instance View) - H3C S9500 Series Command Manual

Routing switch bgp
Hide thumbs Also See for S9500 Series:
Table of Contents

Advertisement

Command Manual – BGP
H3C S9500 Series Routing Switches
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] peer test timer keepalive 60 hold 180

1.1.69 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.
internal-preference: Preference of IBGP routes.
local-preference: Preference of local routes.
route-policy-name: Routing policy name. Using the routing policy can set a preference
for routes passing through it. The default value applies to the routes filtered out.
Description
Use the preference command to configure preferences for external, internal, and local
routes.
Use the undo preference command to restore the default.
For external-preference, internal-preference and local-preference, the bigger the
preference value is, the lower the preference is. The default values are 255, 255, 130
respectively.
Examples
# In BGP view, configure preferences for EBGP, IBGP and local routes as 20, 20 and
200.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] preference 20 20 200
# In BGP-VPN instance view, configure preferences for EBGP, IBGP and local routes
as 20, 20 and 200 (the VPN has been created).
<Sysname> system-view
Chapter 1 BGP Configuration Commands
1-70

Advertisement

Table of Contents
loading

Table of Contents