RIP routes can be filtered by a distribute-list.
distribute-list access_list direct ifname | Command |
You can apply access lists to the interface with a distribute-list
command. access_list is the access list name. direct is
in or out . If direct is in the access list
is applied to input packets.
The ! router rip distribute-list private in eth0 ! access-list private permit 10 10.0.0.0/8 access-list private deny any ! |
distribute-list
can be applied to both incoming and outgoing data.
distribute-list prefix prefix_list (in|out) ifname | Command |
You can apply prefix lists to the interface with a
distribute-list command. prefix_list is the prefix list
name. Next is the direction of in or out . If
direct is in the access list is applied to input packets.
|