3Com 5500G-EI Command Reference Guide - Page 224
Example, filter-policy import, Syntax, Parameter, Description
UPC - 662705493534
View all 3Com 5500G-EI manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 224 highlights
224 CHAPTER 6: USING ROUTING PROTOCOL COMMANDS It may be necessary that only the routing information that meets special conditions can be advertised. Then, the filter-policy command can be used to set the filtering conditions for the advertised routing information. Only the routing information passing the filter can be advertised. Related command: filter-policy import. Example Define the filtering rules for advertising the routing information of RIP. Only the routing information passing the filtering of address prefix list p1 will be advertised by RIP. system-view System View: return to User View with Ctrl+Z. [SW5500]rip [SW5500-rip]filter-policy ip-prefix p1 export filter-policy import Syntax filter-policy gateway ip_prefix_name import undo filter-policy gateway ip_prefix_name import filter-policy { acl_number | ip-prefix ip_prefix_name } import undo filter-policy { acl_number | ip-prefix ip_prefix_name } import View Routing Protocol view Parameter acl_number Enter the access control list number used for matching the destination address field of the routing information. ip-prefix ip_prefix_name Enter the prefix address list name. Its matching object is the destination address field of the routing information. gateway ip_prefix_name Enter the prefix address list name of the neighbor router address. Its matching object is the routing information advertised by the specified neighbor router. Description Use the filter-policy gateway import command to filter the received routing information advertised by a specified router. Use the undo filter-policy gateway import command to cancel the setting of the filtering condition. Use the filter-policy import command to set the condition for filtering the routing information. Use the undo filter-policy import command to cancel the setting of filter condition By default, the received routing information is not filtered.