H3C S7500E Series Command Manual page 341

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches
View
OSPF view
Parameters
acl-number: Number of an ACL used to filter incoming routes, in the range 2000 to
3999.
ip-prefix-name: Name of an IP address prefix list used to filter incoming routes, a string
of up to 19 characters.
gateway ip-prefix-name: Name of an IP address prefix list used to filter routes from the
specified neighbors, a string of up to 19 characters.
Description
Use the filter-policy import command to configure the filtering of routes calculated
from received LSAs.
Use the undo filter-policy import command to disable the filtering.
By default, the filtering is not configured.
Examples
# Filter incoming routes using ACL2000.
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 192.168.10.0 0.0.0.255
[Sysname-acl-basic-2000] quit
[Sysname] ospf 100
[Sysname-ospf-100] filter-policy 2000 import
3.1.28 host-advertise
Syntax
host-advertise ip-address cost
undo host-advertise ip-address
View
OSPF area view
Parameters
ip-address: IP address of a host
cost: Cost of the route, in the range 1 to 65535.
Chapter 3 OSPF Configuration Commands
3-34

Advertisement

Table of Contents
loading

Table of Contents