3Com S7902E Command Reference Manual - page 1651
1-39
Default Level
2: System level
Parameters
group-name
: Name of the peer group, a case-sensitive string of 1 to 47 characters.
ip-address
: IP address of the peer.
acl-number
: ACL number, in the range 2000 to 3999.
export
: Filters the routes to be advertised.
import
: Filters the received routes.
Description
Use the
peer filter-policy
command to apply a filtering policy to a peer or peer group.
Use the
undo peer filter-policy
command to remove the configuration.
By default, no filtering policy is applied to a peer or peer group.
Related commands:
peer as-path-acl
.
Examples
# Apply a filtering policy to filter the received routes of a peer group.
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer test filter-policy 2003 import
peer group
Syntax
peer ip-address group group-name
[
as-number
as-number
]
undo peer
ip-address
group
group-name
View
BGP-VPNv4 subaddress family view, BGP-L2VPN address family view
Default Level
2: System level
Parameters
group-name
: Name of the peer group, a case-sensitive string of 1 to 47 characters.
ip-address
: IP address of the peer.
as-number
as-number
: Specifies an AS number, which ranges from 1 to 65535.
Description
Use the
peer group
command to add a peer into an existing peer group.
Use the
undo peer group
command to remove a peer from a peer group.