244
•
Configure basic MPLS on 6PE devices (see
MPLS Configuration Guide
).
•
Configure BGP on 6PE devices so that they can advertise tagged IPv6 routing information through
BGP sessions. The following describes only BGP configurations on 6PE devices.
To configure basic 6PE:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP view.
bgp
as-number
N/A
3.
Specify a 6PE peer or peer
group and its AS number.
peer
{
group-name
|
ip-address
}
as-number
as-number
No 6PE peer is specified by
default.
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
}
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
}
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
}
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
}
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
}
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
}
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
}
filter-policy
acl6-number
{
export
|
import
}
By default, no ACL is specified.