EasyManua.ls Logo

3Com 5500G-EI - Filter-Policy Export

3Com 5500G-EI
530 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
OSPF Configuration Commands 201
filter-policy export Syntax
filter-policy {
acl_number
| gateway gateway-ip | ip-prefix
ip_prefix
_n
ame
} export [
routing
_
protocol
]
undo filter-policy {
acl_number
| gateway gateway-ip | ip-prefix
ip_prefix-name
} export [
routing_protocol
]
View
OSPF View
Parameter
acl_number
Enter an access control list number.
ip_prefix_name
: Enter the name of the address prefix list.
routing_protocol
Enter the protocol advertising the routing information. This
can be one of the following:
direct, rip and static.
Description
Using the filter-policy export command, you can configure how OSPF filters
the advertised routing information. Only the routing information that meets these
conditions is advertised.
Using the undo filter-policy export command, you can cancel the filtering
rules. By default, no filtering of the distributed routing information is performed.
Related commands: acl, ip ip-prefix.
Example
To configure OSPF to only advertise the routing information permitted by acl 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 11.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
Cost Route cost of the interface
Type Type: virtual link
Transit Area ID of transit area tha the virtual link passes, and it cannot be backbone
area, Stub area, or NSSA area
Timers OSPF timers:
Hello — Interval of hello packets
Dead — Interval of dead neighbors
Poll — Interval of poll
Retransmit — Interval of retransmitting LSA
Transmit delay — Delay time of transmitting LSA
Table 38 Output Description of the display ospf vlink Command

Table of Contents

Related product manuals