Huawei Quidway S5600 Series Operation Manual page 400

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

Advertisement

Operation Manual – Routing Protocol
Quidway S5600 Series Ethernet Switches-Release 1510
II. Network diagram
static 20.0.0.0/8
static 20.0.0.0/8
static 20.0.0.0/8
static 20.0.0.0/8
30.0.0.0/8
30.0.0.0/8
30.0.0.0/8
30.0.0.0/8
40.0.0.0/8
40.0.0.0/8
40.0.0.0/8
40.0.0.0/8
Figure 6-1 Filter routing information received
III. Configuration procedure
1)
Configure SwitchA:
# 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] 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.1 255.0.0.0 12.0.0.2
[SwitchA] ip route-static 30.0.0.1 255.0.0.0 12.0.0.2
[SwitchA] ip route-static 40.0.0.1 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
[Switch-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
[SwitchA-acl-basic-2000] quit
# Configure a route-policy.
Router ID: 1.1.1.1
Router ID: 1.1.1.1
Router ID: 1.1.1.1
Router ID: 1.1.1.1
Vlan-interface200
Vlan-interface200
Vlan-interface200
Vlan-interface200
12.0.0.1/8
12.0.0.1/8
12.0.0.1/8
12.0.0.1/8
Switch A
Switch A
Switch A
Switch A
Huawei Technologies Proprietary
Chapter 6 IP Routing Policy Configuration
Vlan -interface100
Vlan -interface100
Vlan-interface100
Vlan-interface100
10.0.0.1/8
10.0.0.1/8
10.0.0.1/8
10.0.0.1/8
Vlan-interface100
Vlan-interface100
Vlan-interface100
Vlan-interface100
10.0.0.2/8
10.0.0.2/8
10.0.0.2/8
10.0.0.2/8
6-10
Area 0
Area 0
area 0
area 0
Router ID: 2.2.2.2
Router ID: 2.2.2.2
Router ID: 2.2.2.2
Router ID: 2.2.2.2
Switch B
Switch B
Switch B
Switch B

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents