Configuration procedure – H3C Technologies H3C S12500 Series Switches User Manual

Page 66

Advertising
background image

50

Switch A is connected to Switch C through Switch D. VLAN-interface 300 on Switch A runs RIP process

2; VLAN-interface 400 on Switch C, and VLAN-interface 300 and VLAN-interface 400 on Switch D run
RIP process 1.
Enable static route redistribution into RIP on Switch A and Switch C so Switch A and Switch C have routes

to send to each other. Switch A learns the static route sent by Switch C, the output interface is the interface

connected to Switch B.
When the link between Switch B and Switch C fails, BFD can quickly detect the link failure and notify it

to RIP, and the BFD session goes down. In response, RIP deletes the neighbor relationship with Switch C

and the route information received from Switch C. Then, Switch A learns the static route sent by Switch C,

with the output interface of the route being the interface connected to Switch D.

Figure 16 Network diagram

Device Interface IP

address

Device

Interface

IP address

Switch A

Vlan-int300

192.168.3.1/24

Switch B

Vlan-int100

192.168.1.2/24

Vlan-int100

192.168.1.1/24

Vlan-int200 192.168.2.1/24

Switch C

Vlan-int200

192.168.2.2/24

Switch D

Vlan-int300 192.168.3.2/24

Vlan-int400

192.168.4.2/24

Vlan-int400

192.168.4.1/24

Configuration procedure

1.

Configure IP addresses for interfaces. (Details not shown.)

2.

Configure basic RIP and enable static route redistribution into RIP so Switch A and Switch C have
routes to send to each other:
# Configure Switch A.

<SwitchA> system-view

[SwitchA] rip 1

[SwitchA-rip-1] version 2

[SwitchA-rip-1] undo summary

[SwitchA-rip-1] network 192.168.1.0

[SwitchA-rip-1] network 101.1.1.0

[SwitchA-rip-1] peer 192.168.2.2

[SwitchA-rip-1] undo validate-source-address

[SwitchA-rip-1] import-route static

[SwitchA-rip-1] quit

[SwitchA] interface vlan-interface 100

[SwitchA-Vlan-interface100] rip bfd enable

Advertising