4 rip examples, 1 typical rip examples – Accton Technology ES4626 User Manual

Page 412

Advertising
background image

412

Command Mode:

Router mode and address-family mode

Usage Guide:

1 refers to that each interface of the layer 3 switch only sends/receives

the RIP-I data packets. 2 refers to that each interface of the layer 3 switch only

sends/receives the RIP-II data packets. The RIP-II data packet is the default version.

Example:

Configure the version of all RIP data packets sent/received by router interfaces

to version 2.

Switch(config-router)#version 2

13.4.4 RIP Examples

13.4.4.1 Typical RIP Examples

Fig 13-3 RIP example

In the figure shown above, a network consists of three Layer 3 switches, in which

SwitchA connected with SwitchB and SwitchC, and RIP routing protocol is running in all
of the three switches. SwitchA (interface vlan1:10.1.1.1,interface vlan2:20.1.1.1)

exchanges Layer 3 switch update messages only with SwitchB(interface vlan1:10.1.1.2),

but not with SwitchC(interface vlan 2: 20.1.1.2).

SwitchA, SwitchB, SwitchC configurations are as follows:

a) Layer 3 SwitchA:

Configure the IP address of interface vlan 1

SwitchA#config

SwitchA(config)# interface vlan 1

SwitchA(Config-if-Vlan1)# ip address 10.1.1.1 255.255.255.0

SwitchA(config-if-Vlan1)#

Configure the IP address of interface vlan 2

SwitchA(config)# vlan 2

SwitchA(Config-Vlan2)# switchport interface ethernet 1/2

vlan2:20.1.1.1/24

SwitchA

SwitchC

Interface

Vlan2:20.1.1.2/24

Interface

vlan1:10.1.1.2/24

Interface

vlan1:10.1.1.1/24

Interface

SwitchB

Advertising
This manual is related to the following products: