12 neighbor (rip) – CANOGA PERKINS 9175 Command Reference User Manual

Page 202

Advertising
background image

CanogaOS Command Reference

14-9

Examples

The following example defines RIP as the routing protocol to be used on all interfaces connected to

networks 10.99.0.0/16 and 192.168.7.0/24:

router rip

network 10.99.0.0/16

network 192.168.7.0/24

!


Related Commands

router rip

14.12 neighbor (RIP)

To define a neighboring switch with which to exchange routing information, use the neighbor command

in router configuration mode. To remove an entry, use the no form of this command.


Command Syntax

neighbor ip-address

no neighbor ip-address

ip-address

IP address of a peer switch with which routing information will be exchanged.


Default

No neighboring switches are defined.


Command Mode

Router configuration


Usage

This command permits the point-to-point (nonbroadcast) exchange of routing information. When it is

used in combination with the passive-interface router configuration command, routing information can

be exchanged between a subset of switches and access servers on a LAN.

Multiple neighbor commands can be used to specify additional neighbors or peers.


Examples

In the following example, RIP updates are sent to all interfaces on network 10.108.0.0 except eth-0-1.

However, in this case a neighbor switch configuration command is included. This command permits the

sending of routing updates to specific neighbors. One copy of the routing update is generated per

neighbor.

router rip

network 10.108.0.0/16

passive-interface eth-0-1

neighbor 10.108.20.4

!

Advertising