3 ripng configuration examples, 1 typical ripng examples, Onfiguration – PLANET XGS3-24042 User Manual

Page 301: Xamples, 1 typical ripng examples -7

Advertising
background image

37-7

37.3 RIPng Configuration Examples

37.3.1 Typical RIPng Examples

Figure 37-1 RIPng Example

As shown in the above figure, a network consists of three layer 3 switches. SwitchA and SwitchB connect to

SwitchC through interface vlan1 and vlan2. All the three switches are running RIPng. Assume SwitchA

(VLAN1:2001:1:1::1/64 and VLAN2:2001:1:1::1/64)exchange update information with SwitchB(VLAN1:

2001:1:1::2/64) only, update information is not exchanged between SwitchA and SwitchC(VLAN1:

2001:1:1::2/64).

The configuration for SwitchA, SwitchB and SwitchC is shown below:

Layer 3 SwitchA

Enable RIPng protocol

SwitchA(config)#router IPv6 rip

SwitchA(config-router)#exit

Configure the IPv6 address in vlan1 and configure vlan1 to run RIPng

SwitchA#config

SwitchA(config)# interface Vlan1

SwitchA(config-if-Vlan1)# IPv6 address 2000:1:1::1/64

SwitchA(config-if-Vlan1)#IPv6 router rip

SwitchA(config-if-Vlan1)#exit

Configure the IPv6 address in vlan2 and configure vlan2 to run RIPng

SwitchA(config)# interface Vlan2

SwitchA(config-if-Vlan2)#IPv6 address 2001:1:1::1/64

SwitchA(config-if-Vlan2)#IPv6 router rip

SwitchA(config-if-Vlan2)#exit

Configure the interface vlan1 do not send RIPng messages to SwitchC

SwitchA(config)#

SwitchA

SwitchC

SwitchB

Interface VLAN1:

2000:1:1::1/64

Interface VLAN1:

2000:1:1::2/64

Interface VLAN2:

2001:1:1::1/64

Interface VLAN1:

2001:1:1::2/64

Advertising
This manual is related to the following products: