Concept Guide

distribute-list prefix-list-name in [interface]
Apply a congured prex list to outgoing routes. You can specify an interface or type of route.
If you enter the name of a non-existent prex list, all routes are forwarded.
CONFIG-ROUTER-RIP mode
distribute-list prefix-list-name out [interface | connected | static | ospf]
Example of Viewing Congured Prex Lists (ROUTER RIP mode)
To view the conguration, use the show config command in ROUTER RIP mode, or the show running-config rip command in
EXEC mode.
Dell(conf-router_rip)#show config
!
router rip
distribute-list prefix juba out
network 10.0.0.0
Dell(conf-router_rip)#router ospf 34
Applying a Filter to a Prex List (OSPF)
To apply a lter to routes in open shortest path rst (OSPF), use the following commands.
Enter OSPF mode.
CONFIGURATION mode
router ospf
Apply a congured prex list to incoming routes. You can specify an interface.
If you enter the name of a non-existent prex list, all routes are forwarded.
CONFIG-ROUTER-OSPF mode
distribute-list prefix-list-name in [interface]
Apply a congured prex list to incoming routes. You can specify which type of routes are aected.
If you enter the name of a non-existent prex list, all routes are forwarded.
CONFIG-ROUTER-OSPF mode
distribute-list prefix-list-name out [connected | rip | static]
Example of Viewing Congured Prex Lists (ROUTER OSPF mode)
To view the conguration, use the show config command in ROUTER OSPF mode, or the show running-config ospf command
in EXEC mode.
Dell(conf-router_ospf)#show config
!
router ospf 34
network 10.2.1.1 255.255.255.255 area 0.0.0.1
distribute-list prefix awe in
Dell(conf-router_ospf)#
ACL Remarks
While dening ACL rules, you can optionally include a remark to make the ACLs more descriptive. You can include a remark with a maximum
of 80 characters in length.
The remark command is available in each ACL mode. You can congure up to 4294967291 remarks for a given IP ACL and 65536 remarks
for a given MAC ACL.
You can include a remark with or without a remark number. If you do not enter a remark number, the remark inherits the sequence number
of the last ACL rule. If there is no ACL rule when you enter a remark, the remark takes sequence number 5. If you congure two remarks
126
Access Control Lists (ACLs)