333
Step Command
Remarks
3.
Enter BGP VPNv6 address
family view.
address-family vpnv6
N/A
4.
Configure filtering of
advertised routes.
filter-policy
{
ipv6
-
acl-number
|
prefix-list
ipv6-prefix-name
}
export
[
protocol process-id
]
By default, BGP does not filter
advertised routes.
5.
Configure filtering of
received routes.
filter-policy
{
ipv6-acl-number
|
prefix-list
ipv6-prefix-name
}
import
By default, BGP does not filter
received routes.
6.
Advertise the COMMUNITY
attribute to a peer or peer
group.
peer
{
group-name
|
ipv4-address
[
mask-length
] }
advertise-community
By default, BGP does not
advertise the COMMUNITY
attribute to any peers or peer
groups.
7.
Configure ACL-based route
filtering for the specified peer
or peer group.
peer
{
group-name
|
ipv4-address
[
mask-length
] }
filter-policy
ipv6-acl-number
{
export
|
import
}
By default, no ACL-based route
filtering is configured.
8.
Configure BGP to not
change the next hop of
routes sent to a peer or peer
group.
peer
{
group-name
|
ipv4-address
[
mask-length
] }
next-hop-invariable
By default, the device sets itself
as the next hop for routes sent to
a peer or peer group.
In an inter-AS option C network
where an RR is used to advertise
VPNv6 routes, configure this
command on the RR so the RR
does not change the next hop of
routes sent to BGP peers and
clients.
9.
Configure IPv6 prefix
list-based route filtering for
the specified peer or peer
group.
peer
{
group-name
|
ipv4-address
[
mask-length
] }
prefix-list
ipv6-prefix-name
{
export
|
import
}
By default, no IPv6 prefix
list-based route filtering is
configured.
10.
Specify a preferred value for
routes received from the
peer or peer group.
peer
{
group-name
|
ipv4-address
[
mask-length
] }
preferred-value
value
The default preferred value is 0.
11.
Configure BGP updates sent
to the peer to carry only
public AS numbers.
peer
{
group-name
|
ipv4-address
[
mask-length
] }
public-as-only
By default, a BGP update carries
both public and private AS
numbers.
12.
Apply a routing policy to
routes advertised to or
received from the peer or
peer group.
peer
{
group-name
|
ipv4-address
[
mask-length
] }
route-policy
route-policy-name
{
export
|
import
}
By default, no routing policy is
applied for a peer.
13.
Enable route target filtering
for received BGP VPNv6
routes.
policy vpn-target
By default, route target filtering is
enabled for received VPNv6
routes. Only VPNv6 routes whose
export route target attribute
matches local import route target
attribute are added to the routing
table.
14.
Configure the local PE as the
RR and specify the peer as
the client.
peer
{
group-name
|
ipv4-address
[
mask-length
] }
reflect-client
By default, no RR or client is
configured.