The system view is displayed.
Step 2
Run:
bgp
as-number
The BGP view is displayed.
Step 3
Run:
ipv6-family
[
unicast
]
The BGP IPv6 unicast address family view is displayed.
Step 4
Run:
preference
{
external
internal
local
|
route-policy
route-policy-name
}
The BGP4+ preference is set.
NOTE
Using
peer route-policy
command to configure the preference of the BGP protocol on the peers is not
currently supported.
----End
8.4.3 Configuring BGP4+ Preferred Value for Routing Information
After the preferred value is configured for routing information, the route with the largest
preferred value is selected when multiple routes to the same destination exist in the BGP4+
routing table.
Context
Do as follows on the BGP4+ router:
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
bgp
as-number
The BGP view is displayed.
Step 3
Run:
ipv6-family
[
unicast
]
The BGP IPv6 unicast address family view is displayed.
Step 4
Run:
peer
{
group-name
|
ipv4-address
|
ipv6-address
}
preferred-value
value
The preferred value of a peer is configured.
By default, the preferred value of the route learned from a neighbor is 0.
----End
S6700 Series Ethernet Switches
Configuration Guide - IP Routing
8 BGP4+ Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
505