253
Step Command Remarks
4. Enter BGP IPv6 unicast
address family view.
address-family ipv6
[
unicast
]
N/A
5. Enable BGP to exchange
IPv6 unicast routing
information with the 6PE
peer or peer group.
peer
{ group-name | ip-address
[ mask-length ] }
enable
This function is disabled by
default.
6. Enable BGP to exchange
labeled IPv6 routes with
the 6PE peer or peer
group.
peer
{ group-name | ip-address
[ mask-length ] }
label-route-capability
This function is disabled by
default.
Configuring optional 6PE capabilities
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enter BGP view.
bgp
as-number
N/A
3. Enter BGP IPv6 unicast
address family view.
address-family ipv6
[
unicast
]
N/A
4. Advertise COMMUNITY
attribute to the 6PE peer or
peer group.
peer
{ group-name | ip-address
[ mask-length ] }
advertise-community
By default, the COMMUNITY
attribute is not advertised.
5. Advertise extended
community attribute to the
6PE peer or peer group.
peer
{ group-name | ip-address
[ mask-length ] }
advertise-ext-community
By default, the extended
community attribute is not
advertised.
6. Allow the local AS number to
appear in routes from the
6PE peer or peer group and
specify the repeat times.
peer
{ group-name | ip-address
[ mask-length ] }
allow-as-loop
[ number ]
By default, the local AS
number is not allowed to
appear in routes from the 6PE
peer or peer group.
7. Specify an AS path list to
filter routes advertised to or
received from the 6PE peer
or peer group.
peer
{ group-name | ip-address
[ mask-length ] }
as-path-acl
as-path-acl-number {
export
|
import
}
By default, no AS path list is
specified.
8. Specify an IPv6 ACL to filter
routes advertised to or
received from the 6PE peer
or peer group.
peer
{ group-name | ip-address
[ mask-length ] }
filter-policy
acl6-number {
export
|
import
}
By default, no ACL is specified.
9. Specify an IPv6 prefix list to
filter routes advertised to or
received from the 6PE peer
or peer group.
peer
{ group-name | ip-address
[ mask-length ] }
prefix-list
ipv6-prefix-name {
export
|
import
}
By default, no IPv6 prefix list is
specified.
10. Specify a routing policy to
filter routes advertised to or
received from the 6PE peer
or peer group.
peer
{ group-name | ip-address
[ mask-length ] }
route-policy
route-policy-name {
export
|
import
}
By default, no routing policy is
specified.
11. Advertise a default route to
the 6PE peer or peer group.
peer
{ group-name | ip-address
[ mask-length ] }
default-route-advertise
[
route-policy
route-policy-name ]
By default, no default route is
advertised.
12. Save all routes from the 6PE
peer or peer group.
peer
{ group-name | ip-address
[ mask-length ] }
keep-all-routes
By default, routes from a peer
or peer group are not saved.