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

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

Advertisement

Examples
# In BGP view, reference ACL 2000 to filter all outgoing routes.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] filter-policy 2000 export
# In BGP-VPN instance view, reference ACL 2000 to filter all outgoing routes (the VPN has been
created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] filter-policy 2000 export

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

Syntax
filter-policy { acl-number | ip-prefix ip-prefix-name } import
undo filter-policy import
View
BGP view/BGP-VPN instance view
Default Level
2: System level
Parameters
acl-number: Number of an ACL used to filter incoming routing information, ranging from 2000 to 3999.
ip-prefix-name: Name of an IP prefix list used to filter incoming routing information, a string of 1 to 19
characters.
Description
Use the filter-policy import command to configure the filtering of incoming routing information.
Use the undo filter-policy import command to disable the filtering.
By default, incoming routing information is not filtered.
Examples
# In BGP view, reference ACL 2000 to filter incoming routing information.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] filter-policy 2000 import
# In BGP-VPN instance view, reference ACL 2000 to filter incoming routing information (the VPN has
been created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] filter-policy 2000 import
1-32

Advertisement

Chapters

Table of Contents
loading

This manual is also suitable for:

S7910eS7906e-vS7903eS7903e-sS7902e

Table of Contents