3Com 5500G-EI Command Reference Guide - Page 202
filter-policy import, Syntax, Parameter, Description, Example, import-route
UPC - 662705493534
View all 3Com 5500G-EI manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 202 highlights
202 CHAPTER 6: USING ROUTING PROTOCOL COMMANDS [SW5500-ospf-1]filter-policy 2000 export filter-policy import Syntax filter-policy { acl-number | ip-prefix ip-prefix-name | gateway ip_prefix_name } import undo filter-policy { acl-number | ip-prefix ip-prefix-name | gateway ip_prefix_name } import View OSPF View Parameter acl_number Enter the access control list number used for filtering the destination addresses of the routing information. ip_prefix_name Enter the name of address prefix list used for filtering the destination addresses of the routing information. gateway ip_prefix_name Enter the name of address prefix list used for filtering the addresses of the neighboring routers advertising the routing information. Description Using the filter-policy import command, you can configure how OSPF filters the routing information received. Only the routing information that meets these conditions can be received. Using the undo filter-policy import command, you can cancel the filtering of 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: 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 import-route Syntax import-route protocol [ cost value ] [ type value ] [ tag value ] [ route-policy route_policy_name ]