
273
Step Command
Remarks
8.
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.
9.
Filter received routes.
filter-policy
{
acl-number
|
ip-prefix
ip-prefix-name
}
import
Optional.
By default, BGP does not filter
received routes.
10.
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.
11.
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.
12.
Advertise a default VPN
route to a peer or peer
group.
peer
{
group-name
|
ip-address
}
default-route-advertise
vpn-instance
vpn-instance-name
Optional.
By default, no default VPN route
is advertised to a peer or peer
group.
13.
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.
14.
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.
15.
Specify not to change the
next hop of a route when
advertising it to a peer or
peer group.
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 or peer group.
16.
Specify the preference value
for the routes received from
the peer/peer group.
peer
{
group-name
|
ip-address
}
preferred-value
value
Optional.
0 by default.
17.
Make BGP updates to be
sent carry no private AS
numbers.
peer
{
group-name
|
ip-address
}
public-as-only
Optional.
By default, a BGP update carries
private AS numbers.
18.
Apply a routing policy to a
peer or peer group.
peer
{
group-name
|
ip-address
}
route-policy
route-policy-name
{
export
|
import
}
Optional.
By default, no routing policy is
applied to a peer or peer group.
For more information about BGP routing, see
Layer 3—IP Routing Configuration Guide
.
Configuring soft GRE
Soft GRE can replace MPLS LDP, MPLS TE, or GREto set up a public tunnel for an MPLS L3VPN
network. It has simpler configuration.
After soft GRE is enabled on a PE, the PE uses an encapsulation method for VPN packets: