
45
Switch(config-router)# distance 8 10.0.0.0/8 mylist
1.4.3.7 distribute-list
Command:
distribute-list
{<access-list-number
|
access-list-name> |
prefix
<prefix-list-name>} {in |out} [<ifname>]
no distribute-list {<access-list-number | access-list-name> | prefix
<prefix-list-name>} {in|out} [<ifname>]
Function:
This command uses access-list or prefix-list to filter the route update packets sent
and received. The “
no distribute-list {<access-list-number | access-list-name> | prefix
<prefix-list-name>} {in|out} [<ifname>]
” command cancels this route filter function.
Parameter: <access-list-number |access-list-name>
is the name or access-list number to be
applied.
<prefix-list-name>
is the name of the prefix-list to be applied.
<ifname>
specifies the
name of interface to be applied with route filtering.
Default:
The function in default situation is disabled.
Command Mode:
Router mode and address-family mode
Usage Guide:
The filter will be applied to all the interfaces in case no specific interface is set.
Example:
Switch# config terminal
Switch(config)# router rip
Switch(config-router)# distribute-list prefix myfilter in vlan 1
1.4.3.8 exit-address-family
Command: exit-address-family
Function:
Exit address-family mode
Command Mode: address-family mode
Example:
Switch(config)# router rip
Switch(config-router)# address-family ipv4 vrf IPI
Switch(config-router-af)# exit-address-family
Switch(config-router)#
1.4.3.9 ip rip aggregate-address
Command: ip rip aggregate-address A.B.C.D/M
no ip rip aggregate-address A.B.C.D/M
Function:
To configure RIP aggregation route. The no form of this command will delete this
configuration.
Parameter:
A.B.C.D/M: ipv4 address and mask length.
Command Mode:
Router Mode or Interface Configuration Mode.
Default:
Disabled.