466
[no] distribute-list out {kernel |connected| static| rip| isis| bgp}
Function:
Filter network in the routing update. The “
[no] distribute-list out {kernel
|connected| static| rip| isis| bgp}
” command disables this function.
Parameter: < access-list-name>
is the access-list name to be applied
out:
Filter the sent route update
kernel
Kernel route
connected
Direct route
static
Static route
rip
RIP route
isis
ISIS route
bgp
BGP route
Default:
None
Command Mode:
OSPF protocol mode
Usage Guide:
When distributing route from other routing protocols into0 the OSPF
routing table, we can use this command
Example:
Example below is the advertisement based on the access-list list 1 of the BGP
route.
Switch#config terminal
Switch(config)#access-list l1 permit 172.10.0.0 0.0.255.255
Switch(config)#router ospf 100
Switch(config-router)#distribute-list 1 out bgp
Switch(config-router)#redistribute bgp
14.6.3.15 host area
Command: [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
Command Mode:
OSPF protocol mode
Usage Guide:
With this command you can advertise certain specific host route out as
stub link. Since the stub host belongs to special router in which setting host is not
important.