340
For more information about the BGP AS number substitution feature and the SoO attribute, see
"
BGP AS number substitution and SoO attribute
To configure BGP AS number substitution and SoO attribute:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP instance view.
bgp
as-number
[
instance
instance-name
]
N/A
3.
Enter BGP-VPN instance
view.
ip vpn-instance
vpn-instance-name
N/A
4.
Enable the BGP AS number
substitution feature.
peer
{
group-name
|
ipv6-address
[
prefix-length
] }
substitute-as
By default, BGP AS number
substitution is disabled.
5.
Enter BGP-VPN IPv6 unicast
address family view.
address-family ipv6
[
unicast
]
N/A
6.
(Optional.) Configure the
SoO attribute for a BGP peer
or peer group.
peer
{
group-name
|
ipv6-address
[
prefix-length
] }
soo
site-of-origin
By default, the SoO attribute is not
configured.
For more information about the commands in this section, see
Layer 3—IP Routing Command
Reference
.
Displaying and maintaining IPv6 MPLS L3VPN
You can soft-reset or reset BGP sessions to apply new BGP configurations. A soft reset operation
updates BGP routing information without tearing down BGP connections. A reset operation updates
BGP routing information by tearing down, and then re-establishing BGP connections. Soft reset
requires that BGP peers have route refresh capability.
Execute the following commands in user view to soft reset or reset BGP connections:
Task Command
Manually soft reset BGP sessions for
VPNv6 address family.
refresh bgp
[
instance
instance-name
] {
ipv4-address
[
mask-length
] |
all
|
external
|
group
group-name
|
internal
}
{
export
|
import
}
vpnv6
Reset BGP sessions for VPNv6
address family.
reset bgp
[
instance
instance-name
] {
as-number
|
ipv4-address
[
mask-length
] |
all
|
external
|
internal
|
group
group-name
}
vpnv6
For more information about the
refresh bgp vpnv6
and
reset bgp vpnv6
commands, see
Layer
3—IP Routing Command Reference
.
Execute the following commands in any view to display IPv6 MPLS L3VPN:
Task Command
Display the IPv6 routing table for a VPN
instance.
display ipv6 routing-table vpn-instance
vpn-instance-name
[
verbose
]
Display information about a specified
VPN instance or all VPN instances.
display ip vpn-instance
[
instance-name
vpn-instance-name
]
Display IPv6 FIB information for a VPN
instance.
display ipv6 fib vpn-instance
vpn-instance-name
[
ipv6-address
[
prefix-length
] ]
Display BGP VPNv6 peer group
information.
display bgp
[
instance
instance-name
]
group vpnv6
[
group-name
group-name
]