beautypg.com

Distribute-list – Enterasys Networks X-Pedition XSR CLI User Manual

Page 200

background image

RIP Commands

5-124 Configuring the Internet Protocol

Mode

Router configuration: 

XSR(config-router)#

Example

The following example sets the RIP administrative distance to 85:

XSR(config)#router rip
XSR(config-router)#distance 85

distribute-list

This RIP command filters networks received in updates/suppresses networks from being 
advertised in updates.

Syntax

distribute-list access-list-number {in | out} [type number]

Syntax of the “no” Form

The no form of this command removes the filter:

no distribute-list access-list-number {in | out} [type number]

Mode

Router configuration: 

XSR(config-router)#

Default

No filter applied

Example

The following example suppresses network 192.5.34.0 from being advertised in updates on 
FastEthernet interface 1:

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

IP access list number, ranging from 1 to 199. The list defines which 
networks will be sent and suppressed in routing updates.

in

Applies the access list to incoming routing updates.

out

Applies the access list to outgoing routing updates.

type

Interface type: ATM, BRI, Dialer, Fast/GigabitEthernet, Loopback, 
Multilink, Serial, or VPN.

number

Interface number on which the access list should be applied. If no 
interface is set, the ACL will be applied to all updates.