287
Step Command
Remarks
4.
Configure filtering of
advertised routes.
filter-policy
{
acl6-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
{
acl6-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
|
ipv6-address
[
prefix-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
|
ip-address
[
mask-length
] }
filter-policy
acl6-number
{
export
|
import
}
By default, no ACL-based route
filtering is configured.
8.
Configure IPv6 prefix
list-based route filtering for the
specified peer or peer group.
peer
{
group-name
|
ip-address
[
mask-length
] }
prefix-list
ipv6-prefix-name
{
export
|
import
}
By default, no IPv6 prefix list-based
route filtering is configured.
9.
Specify a preferred value for
routes received from the peer
or peer group.
peer
{
group-name
|
ip-address
[
mask-length
] }
preferred-value
value
The default preferred value is 0.
10.
Configure BGP updates sent
to the peer to carry only
public AS numbers.
peer
{
group-name
|
ip-address
[
mask-length
] }
public-as-only
By default, a BGP update carries
both public and private AS
numbers.
11.
Apply a routing policy to
routes advertised to or
received from the peer or peer
group.
peer
{
group-name
|
ip-address
[
mask-length
] }
route-policy
route-policy-name
{
export
|
import
}
By default, no routing policy is
applied for a peer.
12.
Enable route target filtering
for received BGP VPNv6
routes.
policy vpn-target
By default, route target filtering is
enabled.
13.
Configure the local PE as the
route reflector and specify the
peer as the client.
peer
{
group-name
|
ip-address
[
mask-length
] }
reflect-client
By default, no route reflector or
client is configured.
14.
Specify the maximum number
of routes BGP can receive
from a peer or peer group.
peer
{
group-name
|
ip-address
[
mask-length
] }
route-limit
prefix-number
[ {
alert-only
|
discard
|
reconnect
reconnect-time
} |
percentage-value
] *
By default, the number of routes
that BGP can receive from a peer
or peer group is not limited.
15.
Enable route reflection
between clients.
reflect between-clients
By default, route reflection
between clients is enabled.
16.
Configure a cluster ID for the
route reflector.
reflector cluster-id
{
cluster-id
|
ip-address
}
By default, an RR uses its own
router ID as the cluster ID.
If more than one RR exists in a
cluster, use this command to
configure the same cluster ID for all
RRs in the cluster to avoid routing
loops.