
25-79
Default:
There is no default configuration.
Command Mode:
OSPF protocol mode
Usage Guide:
This command is used to filter the route obtained by OSPF. Do not filter any routes when the specified access list is
not exist, for the routes which do not match permit rule of access list, they will be filtered. One access list can be set
for this command, only the last configuration takes effect when configuring many times.
Example:
Use access list 1 to filter the routes which do not belong to 172.10.0.0/16 segment.
Switch#config terminal
Switch(config)#access-list 1 permit 172.10.0.0 0.0.255.255
Switch(config)#router ospf
Switch(config-router)#filter-policy 1
25.25 host area
Command:
host <
host-address
> area
<area-id>
[cost
<cost>
]
no host <
host-address
> area
<area-id>
[cost
<cost>
]
Function:
Use this command to set a stub host entire belongs to certain area. The “
[no] host <
host-address
> area
<area-id>
[cost
<cost>
]
” command cancels this configuration.
Parameter:
<
host-address
>
is host IP address show in dotted decimal notation.
<area-id>
area ID shown in dotted decimal notation or integer ranging between 0~4294967295.
<cost>
specifies the entire cost, which is a integer ranging between 0~65535 and defaulted at 0.
Default:
No entire set.