
Operation Manual – MPLS L3VPN
H3C S9500 Series Routing Switches
Chapter 1 MPLS L3VPN Configuration
1-36
To do…
Use the command…
Remarks
Enter BGP-VPNv4
subaddress family view
ipv4-family vpnv4
—
Set the default value of
the local preference
default local-preference
value
Optional
100 by default
Set the default system
metric
default med
med-value
Optional
0 by default
Configure BGP to filter all
or certain types of routes
to be advertised
filter-policy
{
acl-number
|
ip-prefix
ip-prefix-name
}
export
[
direct
|
isis
process-id
|
ospf
process-id
|
rip
process-id
|
static
]
Optional
By default, BGP does not
filter routes to be
advertised.
Configure BGP to filter
received routes
filter-policy
{
acl-number
|
ip-prefix
ip-prefix-name
}
import
Optional
By default, BGP does not
filter received routes.
Configure the system to
advertise community
attributes to a peer or peer
group
peer
{
group-name
|
ip-address
}
advertise-community
Optional
By default, no community
attributes are advertised
to any peer or peer group.
Specify to filter routes
received from or to be
advertised to a peer or
peer group based on an
AS_PATH list
peer
{
group-name |
ip-address
}
as-path-acl
aspath-filter-number
{
import
|
export
}
Optional
By default, no AS filtering
list is applied to a peer or
peer group.
Specify to advertise all
default routes of a VPN
instance to a peer or peer
group
peer
{
group-name
|
ip-address
}
default-route-advertise
vpn-instance
vpn-instance-name
By default, no default
route is advertised to a
peer or peer group.
Apply a filtering policy to a
peer or peer group
peer
{
group-name
|
ip-address
}
filter-policy
acl-number
{
export
|
import
}
Optional
By default, no filtering
policy is applied to a peer
or peer group.
Apply a route filtering
policy based on IP prefix
list to a peer or peer group
peer
{
group-name
|
ip-address
}
ip-prefix
prefix-name
{
export
|
import
}
Optional
By default, no route
filtering policy based on IP
prefix list is applied to a
peer or peer group.
Specify not to change the
next hop of a route when
advertising it to an EBGP
peer
peer
{
group-name
|
ip-address
}
next-hop-invariable
Optional
By default, a device uses
its address as the next
hop when advertising a
route to its EBGP peer.