H3C S5600 Series Operation Manual page 441

Hide thumbs Also See for H3C S5600 Series:
Table of Contents

Advertisement

Operation Manual – Routing Protocol
H3C S5600 Series Ethernet Switches
II. Network diagram
Static 20.0.0.0/8
12.0.0.1/8
Figure 6-1 Filter received routing information
III. Configuration procedure
Configure Switch A:
# Configure the IP addresses of the interfaces.
<SwitchA> system-view
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] ip address 10.0.0.1 255.0.0.0
[SwitchA-Vlan-interface100] quit
[SwitchA] interface vlan-interface 200
[SwitchA-Vlan-interface200] ip address 12.0.0.1 255.0.0.0
[SwitchA-Vlan-interface200] quit
# Configure three static routes.
[SwitchA] ip route-static 20.0.0.0 255.0.0.0 12.0.0.2
[SwitchA] ip route-static 30.0.0.0 255.0.0.0 12.0.0.2
[SwitchA] ip route-static 40.0.0.0 255.0.0.0 12.0.0.2
# Enable the OSPF protocol and specify the ID of the area to which the interface
10.0.0.1 belongs.
<SwitchA> system-view
[SwitchA] router id 1.1.1.1
[SwitchA] ospf
[SwitchA-ospf-1] area 0
[SwitchA-ospf-1-area-0.0.0.0] network 10.0.0.0 0.255.255.255
[SwitchA-ospf-1-area-0.0.0.0] quit
[SwitchA-ospf-1]quit
# Configure an ACL.
[SwitchA] acl number 2000
[SwitchA-acl-basic-2000] rule deny source 30.0.0.0 0.255.255.255
[SwitchA-acl-basic-2000] rule permit source any
30.0.0.0/8
40.0.0.0/8
Vlan-Int 200
10.0.0.1/8
Vlan-Int 100
Switch A
Router ID:
1.1.1.1
Chapter 6 IP Routing Policy Configuration
Area 0
10.0.0.2/8
Switch B
Router ID:
6-10
2.2.2.2

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5600-26cS5600-26c-pwrS5600-26fS5600-50cS5600-50c-pwr

Table of Contents