348
To configure routing features for the BGP-VPNv6 subaddress family:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp
as-number
—
Configure the remote PE as the
peer
peer
ip-address
as-number
as-number
Required
Specify the interface for TCP
connections
peer
ip-address
connect-interface
interface-type interface-number
Required
Enter BGP-VPNv6 subaddress
family view
ipv6-family vpnv6
—
Set the default value of the local
preference
default local-preference
value
Optional
100 by default
Set the default value for the system
MED
default med
med-value
Optional
By default, the default value of the
system MED is 0.
Configure a filtering policy to filter
routes to be advertised
filter-policy
{
acl6-number
|
ipv6-prefix
ipv6-prefix-name
}
export
[
direct
|
isisv6
process-id
|
ripng
process-id
|
static
]
Optional
By default, the PE does not filter
routes to be advertised.
Configure a filtering policy to filter
received routes
filter-policy
{
acl6-number
|
ipv6-prefix
ipv6-prefix-name
}
import
Optional
By default, the PE does not filter
received routes.
Apply a filtering policy for the peer
peer
ip-address
filter-policy
acl6-number
{
export
|
import
}
Optional
By default, no filtering policy is
applied for a peer.
Apply an IPv6-prefix list for the
peer to filter received/advertised
routes
peer
ip-address
ipv6-prefix
prefix-name
{
export
|
import
}
Optional
By default, no IPv6 prefix list is
applied for a peer.
Specify the preference value for the
routes received from the peer
peer
ip-address
preferred-value
value
Optional
0 by default
Configure BGP updates to the peer
to not carry private AS numbers
peer
ip-address
public-as-only
Optional
By default, a BGP update carries
private AS numbers.
Apply a routing policy for the peer
peer
ip-address
route-policy
route-policy-name
{
export
|
import
}
Optional
By default, no routing policy is
applied for a peer.
Enable VPN target filtering for
received BGP-VPNv6 subaddress
family routes
policy vpn-target
Optional
Enabled by default
Configure the local PE as the route
reflector and specify the peer as
the client
peer
ip-address
reflect-client
Optional
No route reflector or client is
configured by default.
Enable route reflection between
clients
reflect between-clients
Optional
Enabled by default