Reference Guide

Access Control Lists (ACLs) | 83
To apply a filter to routes in RIP (RIP is supported on C and E-Series.), use either of the following
commands in the ROUTER RIP mode:
To view the configuration, use the show config command in the ROUTER RIP mode (Figure 240) or the
show running-config rip command in the EXEC mode.
Figure 6-15. Command Example: show config in the ROUTER RIP Mode
To apply a filter to routes in OSPF, use either of the following commands in the ROUTER OSPF mode:
To view the configuration, use the
show config command in the ROUTER OSPF mode (Figure 241) or the
show running-config ospf command in the EXEC mode.
Command Syntax Command Mode Purpose
router rip
CONFIGURATION Enter RIP mode
distribute-list prefix-list-name in
[interface]
CONFIG-ROUTER-RIP Apply a configured prefix list to incoming
routes. You can specify an interface.
If you enter the name of a nonexistent prefix
list, all routes are forwarded.
distribute-list prefix-list-name out
[
interface | connected | static | ospf]
CONFIG-ROUTER-RIP Apply a configured prefix list to outgoing
routes. You can specify an interface or type
of route.
If you enter the name of a non-existent prefix
list, all routes are forwarded.
Command Syntax Command Mode Purpose
router ospf
CONFIGURATION Enter OSPF mode
distribute-list prefix-list-name in
[interface]
CONFIG-ROUTER-OSPF Apply a configured prefix list to incoming
routes. You can specify an interface.
If you enter the name of a non-existent prefix
list, all routes are forwarded.
distribute-list prefix-list-name out
[connected | rip | static]
CONFIG-ROUTER-OSPF Apply a configured prefix list to incoming
routes. You can specify which type of routes are
affected.
If you enter the name of a non-existent prefix
list, all routes are forwarded.
FTOS(conf-router_rip)#show config
!
router rip
distribute-list prefix juba out
network 10.0.0.0
FTOS(conf-router_rip)#router ospf 34