Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches
Chapter 5 BGP Configuration Commands
5-45
Parameters
group-name
: Name of a peer group, a string of 1 to 47 characters.
ip-address
: IP address of a peer.
as-number
: Local autonomous system number, in the range 1 to 65535.
Description
Use the
peer fake-as
command to configure a fake local AS number for a peer or peer
group.
Use the
undo peer fake-as
command to remove the configuration.
By default, no fake local AS number is configured for a peer or peer group.
Note:
The
peer fake-as
command is only applicable to an EBGP peer or peer group.
Examples
# In BGP view, configure a fake AS number of 200 for the peer group
test
.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test fake-as 200
5.1.52 peer filter-policy
Syntax
peer
{
group-name
|
ip-address
}
filter-policy
acl-number
{
export
|
import
}
undo peer
{
group-name | ip-address
}
filter-policy
[
acl-number
] {
export
|
import
}
View
BGP view
Parameters
group-name
: Name of a peer group, a string of 1 to 47 characters.
ip-address
: IP address of a peer.
acl-number
: ACL number, in the range 2000 to 3999.
export
: Applies the filter-policy to routes advertised to the peer/peer group.
import
: Applies the filter-policy to routes received from the peer/peer group.