R3102-R3103-HP 6600/HSR6600 Routers MPLS Configuration Guide
298
To configure BGP AS number substitution and SoO:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a routing policy and
enter routing policy view.
route-policy route-policy-name
permit node node-number
Optional.
No routing policy is created by
default.
If the PE connects to multiple CEs in
the same site, use a routing policy
to add the SoO attribute to the
routes received from the CEs.
3. Specify an SoO attribute
value.
apply extcommunity soo
site-of-origin additive
Optional.
Not specified by default.
4. Return to system view.
quit N/A
5. Enter BGP view.
bgp as-number N/A
6. Enter BGP VPN instance view.
ipv4-family vpn-instance
vpn-instance-name
N/A
7. Enable the BGP AS number
substitution function.
peer { ip-address | group-name }
substitute-as
Disabled by default.
8. Apply the routing policy to
routes received from the
specified peer.
peer { ip-address | group-name }
route-policy route-policy-name
import
Optional.
Not applied by default.
For more information about the route-policy, apply extcommunity, peer substitute-as and peer
route-policy commands, see Layer 3—IP Routing Command Reference.
Resetting BGP connections
When BGP configuration changes, you can use the soft reset function or reset BGP connections to make
new configurations take effect. Soft reset requires that BGP peers have route refreshment capability
(supporting Route-Refresh messages).
NOTE:
Soft reset of BGP connections refers to updatin
g
BGP routin
g
information without breakin
g
BGP nei
g
hbor
relationships. Hard reset of BGP connections refers to updatin
g
BGP routin
g
information by breakin
g
and
then reestablishing BGP neighbor relationships.
Use the following commands to hard reset or soft reset BGP connections:
Task Command Remarks
Soft reset BGP connections of a
VPN instance.
refresh bgp vpn-instance vpn-instance-name
{ ip-address | all | external | group
group-name } { export | import }
Available in user view.
Soft reset BGP VPNv4 connections.
refresh bgp vpnv4 { ip-address | all |
external | group group-name | internal }
{ export | import }
Available in user view.










