Peer Filter-Policy (Bgp/Bgp-Vpn Instance View); Peer Group (Bgp/Bgp-Vpn Instance View) - 3Com S7906E Command Reference Manual

6300 series
Hide thumbs Also See for S7906E:
Table of Contents

Advertisement

[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] peer test fake-as 200

peer filter-policy (BGP/BGP-VPN instance view)

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/BGP-VPN instance view
Default Level
2: System level
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.
Description
Use the peer filter-policy command to configure an ACL-based filter policy for a peer or peer group.
Use the undo peer filter-policy command to remove the configuration.
By default, no ACL-based filter policy is configured for a peer or peer group.
Related commands: peer as-path-acl.
Examples
# In BGP view, apply the ACL 2000 to filter routes advertised to the peer group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test filter-policy 2000 export
# In BGP-VPN instance view, apply the ACL 2000 to filter routes advertised to the peer group test (the
VPN has been created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] peer test filter-policy 2000 export

peer group (BGP/BGP-VPN instance view)

Syntax
peer ip-address group group-name [ as-number as-number ]
undo peer ip-address group group-name
1-50

Advertisement

Chapters

Table of Contents
loading

This manual is also suitable for:

S7910eS7906e-vS7903eS7903e-sS7902e

Table of Contents