Filter-Policy Import; Import-Route - 3Com 5500G-EI Command Reference Manual

Version 3.1.x
Hide thumbs Also See for 5500G-EI:
Table of Contents

Advertisement

202
C
6: U
R
HAPTER
SING

filter-policy import

import-route

P
C
OUTING
ROTOCOL
OMMANDS
[SW5500-ospf-1]filter-policy 2000 export
Syntax
filter-policy {
ip_prefix_name
undo filter-policy {
ip_prefix_name
View
OSPF View
Parameter
Enter the access control list number used for filtering the destination
acl_number
addresses of the routing information.
ip_prefix_name
destination addresses of the routing information.
ip_prefix_name
gateway
the addresses of the neighboring routers advertising the routing information.
Description
Using the
filter-policy import
the routing information received. Only the routing information that meets these
conditions can be received.
Using the
undo filter-policy import
the received routing information received. By default, no filtering of the received
routing information is performed.
In some cases, it may be required that only the routing information meeting some
conditions can be received. Then, the filter-policy command can be used to set the
filtering conditions for the routing information to be received. Only the routing
information passing the filtration can be received.
Example
To filter the received routing information using the rules defined by access control
list 2000, enter the following commands:
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]acl number 2000
[SW5500-acl-basic-2000]rule permit source 20.0.0.0 0.255.255.255
[SW5500-acl-basic-2000]rule deny source any
[SW5500-acl-basic-2000]quit
[SW5500]router id 1.1.1.1
[SW5500]ospf
[SW5500-ospf-1]filter-policy 2000 import
Syntax
import-route
route-policy
acl-number
| ip-prefix
} import
acl-number
} import
Enter the name of address prefix list used for filtering the
Enter the name of address prefix list used for filtering
command, you can configure how OSPF filters
protocol
[ cost
value
route
_
policy
_
name
]
ip-prefix-name
| ip-prefix
ip-prefix-name
command, you can cancel the filtering of
] [ type
value
| gateway
| gateway
] [ tag
value
] [

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Superstack 4 5500g-ei series

Table of Contents