397
To do…
Use the command…
Remarks
Step 2
Enable BGP and enter BGP view
bgp
as-number
Required
Disabled by
default
Step 3
Specify the AS number for the
6PE peer or peer group
peer
{
ipv4-group-name | ipv4-address
}
as-number
as-number
Required
Not specified by
default
Step 4
Enter IPv6 address family view
ipv6-family
—
Step 5
Enable the 6PE peer or peer
group
peer
{
ipv4-group-name
|
ipv4-address
}
enable
Required
Not enabled by
default
Step 6
Advertise community attribute to
the 6PE peer or peer group
peer
{
group-name
|
ipv4-address
}
advertise-community
Optional
Not advertised by
default
Step 7
Advertise extended community
attribute to the 6PE peer or peer
group
peer
{
group-name
|
ipv4-address
}
advertise-ext-community
Optional
Not advertised by
default
Step 8
Allow the local AS number to
appear in routes from the peer
or peer group and specify the
repeat times
peer
{
group-name
|
ipv4-address
}
allow-as-loop
[
number
]
Optional
Not allowed by
default
Step 9
Specify an AS path ACL to filter
routes from or to the 6PE peer or
peer group
peer
{
group-name
|
ipv4-address
}
as-
path-acl
as-path-acl-number
{
import
|
export
}
Optional
Not configured by
default
Step 10
Advertise a default route to the
6PE peer or peer group
peer
{
group-name
|
ipv4-address
}
default-route-advertise
[
route-
policy
route-policy-name
]
Optional
Not advertised by
default
Step 11
Configure an inbound or
outbound IPv6 ACL based
filtering policy for the 6PE peer
or peer group
peer
{
group-name
|
ipv4-address
}
filter-policy
acl6-number
{
import
|
export
}
Optional
Not configured by
default
Step 12
Add an 6PE peer to an existing
peer group
peer
ipv4-address
group
group-name
[
as-number
as-number
]
Optional
Not added by
default
Step 13
Configure an inbound or
outbound IPv6 prefix list based
on the filtering policy for the 6PE
peer or peer group
peer
{
group-name
|
ipv4-address
}
ipv6-prefix
ipv6-prefix-name
{
import
|
export
}
Optional
Not configured by
default
Step 14
Keep all routes from the 6PE
peer or peer group, including
routes not passing the inbound
filtering policy
peer
{
group-name
|
ipv4-address
}
keep-all-routes
Optional
Not kept by
default