Huawei Quidway S5600 Series Operation Manual page 401

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

Advertisement

Operation Manual – Routing Protocol
Quidway S5600 Series Ethernet Switches-Release 1510
[SwitchA] route-policy ospf permit node 10
[SwitchA -route-policy] if-match acl 2000
[SwitchA -route-policy] quit
# Apply route policy when the static routes are imported.
[SwitchA] ospf
[SwitchA-ospf-1] import-route static route-policy ospf
2)
Configure SwitchB:
# Configure the IP address of the interface.
<SwitchB> system-view
[SwitchB] interface vlan-interface 100
[SwitchB-Vlan-interface100] ip address 10.0.0.2 255.0.0.0
[SwitchB-Vlan-interface100] quit
# Enable the OSPF protocol and specify the ID of the area to which the interface
belongs.
[SwitchB] router id 2.2.2.2
[SwitchB] ospf
[SwitchB-ospf-1] area 0
[SwitchB-ospf-1-area-0.0.0.0] network 10.0.0.0 0.255.255.255
[SwitchB-ospf-1-area-0.0.0.0] quit
[SwitchB-ospf-1] quit
# Display the OSPF routing table on SwitchB and check if route policy takes effect.
[SwitchB] display ospf routing
Routing for Network
Destination
10.0.0.0/8
Routing for ASEs
Destination
20.0.0.0/8
40.0.0.0/8
Total Nets: 3
Intra Area: 1
OSPF Process 1 with Router ID 2.2.2.2
Routing Tables
Cost
Type
1
Transit
Cost
Type
1
1
Inter Area: 0
Huawei Technologies Proprietary
Chapter 6 IP Routing Policy Configuration
NextHop
10.0.0.2
Tag
Type2
1
Type2
1
ASE: 2
NSSA: 0
6-11
AdvRouter
Area
1.1.1.1
0.0.0.0
NextHop
AdvRouter
10.0.0.1
1.1.1.1
10.0.0.1
1.1.1.1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents