H3C LS-3100-52P-OVS-H3 Operation Manual page 843

S5500-ei series ethernet switches
Table of Contents

Advertisement

[SwitchA] interface vlan-interface 300
[SwitchA-Vlan-interface300] ip address 192.168.3.1 24
[SwitchA-Vlan-interface300] quit
# Configure Switch B.
<SwitchB> system-view
[SwitchB] interface vlan-interface 100
[SwitchB-Vlan-interface100] ip address 192.168.1.2 24
[SwitchB] interface vlan-interface 200
[SwitchB-Vlan-interface200] ip address 192.168.2.1 24
# Configure Switch C.
<SwitchC> system-view
[SwitchC] interface vlan 200
[SwitchC-Vlan-interface200] ip address 192.168.2.2 24
[SwitchC-Vlan-interface200] quit
[SwitchC] interface vlan-interface 400
[SwitchC-Vlan-interface400] ip address 192.168.4.2 24
[SwitchC-Vlan-interface400] quit
# Configure Switch D.
<SwitchD> system-view
[SwitchD] interface vlan-interface 300
[SwitchD-Vlan-interface300] ip address 192.168.3.2 24
[SwitchD-Vlan-interface300] quit
[SwitchD] interface vlan-interface 400
[SwitchD-Vlan-interface400] ip address 192.168.4.1 24
[SwitchD-Vlan-interface400] quit
2)
Configure RIP basic functions and enable static route redistribution into RIP so that Switch A and
Switch C have routes to send to each other.
# Configure Switch A.
[SwitchA] rip 1
[SwitchA-rip-1] network 192.168.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
[SwitchA-Vlan-interface100] quit
[SwitchA] rip 2
[SwitchA-rip-2] network 192.168.3.0
[SwitchA-rip-2] quit
# Configure Switch C.
[SwitchC] rip 1
[SwitchC-rip-1] network 192.168.2.0
[SwitchC-rip-1] network 192.168.4.0
[SwitchC-rip-1] peer 192.168.1.1
1-23

Advertisement

Chapters

Table of Contents
loading

Table of Contents