RIP Commands
5-124 Configuring the Internet Protocol
Mode
Routerconfiguration:XSR(config-router)#
Example
ThefollowingexamplesetstheRIPadministrativedistanceto85:
XSR(config)#router rip
XSR(config-router)#distance 85

distribute-list

ThisRIPcommandfiltersnetworksreceivedinupdates/suppressesnetworksfrombeing
advertisedinupdates.
Syntax
distribute-list access-list-number {in | out} [type number]
Syntax of the “no” Form
Thenoformofthiscommandremovesthefilter:
no distribute-list access-list-number {in | out} [type number]
Mode
Routerconfiguration:XSR(config-router)#
Default
Nofilterapplied
Example
Thefollowingexamplesuppressesnetwork192.5.34.0frombeingadvertisedinupdateson
FastEthernetinterface1:
XSR(config)#access-list 1 deny 192.5.34.0 0.0.0.255
XSR(config)#router rip
XSR(config-router)#distribute-list 1 out fastethernet 1
access-list number IPaccesslistnumber,rangingfrom1to199.Thelistdefineswhich
networkswillbesentandsuppressedinroutingupdates.
in Appliestheaccesslisttoincomingroutingupdates.
out Appliestheaccesslisttooutgoingroutingupdates.
type Interfacetype:ATM,BRI,Dialer,Fast/GigabitEthernet,Loopback,
Multilink,Serial,orVPN.
number Interfacenumberonwhichtheaccesslistshouldbeapplied.Ifno
interfaceisset,theACLwillbeappliedtoallupdates.