Download Print this page

Huawei Quidway NetEngine80E Configuration Manual page 382

Universal service router, ip routing
Hide thumbs Also See for Quidway NetEngine80E:

Advertisement

HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
As displayed in the routing table, Router A has three valid next hops: 10.1.1.2 (Router B),
10.1.2.2 (Router C), and 10.1.3.2 (RouterD). This is because the default maximum number of
equal-cost routes is 6.
<RouterA> display ip routing-table
Route Flags: R - relay, D - download to fib
----------------------------------------------------------------------------
Routing Tables: Public
Destination/Mask
Step 4 Configure a maximum of two routes on Router A to perform load balancing.
[RouterA] ospf 1
[RouterA-ospf-1] maximum load-balancing 2
[RouterA-ospf-1] quit
# View the routing table of Router A. As shown in the routing table, Router A has only two valid
next hops, 10.1.1.2 (Router B) and 10.1.2.2 (Router C). This is because the maximum number
of equal-cost routes is set to 2.
[RouterA] display ip routing-table
Route Flags: R - relay, D - download to fib
----------------------------------------------------------------------------
Routing Tables: Public
Destination/Mask
Step 5 Configure the priority for equal-cost routes on Router A.
[RouterA] ospf 1
[RouterA-ospf-1] nexthop 10.1.1.2 weight 2
[RouterA-ospf-1] nexthop 10.1.2.2 weight 1
[RouterA-ospf-1] nexthop 10.1.3.2 weight 1
[RouterA-ospf-1] quit
Issue 02 (2014-09-30)
Destinations : 12
Proto
10.1.1.0/24
Direct 0
10.1.1.2/32
Direct 0
10.1.2.0/24
Direct 0
10.1.2.2/32
Direct 0
10.1.3.0/24
Direct 0
10.1.3.2/32
Direct 0
192.168.0.0/24
OSPF
192.168.1.0/24
OSPF
192.168.2.0/24
OSPF
172.17.1.0/24
OSPF
OSPF
OSPF
127.0.0.0/8
Direct 0
127.0.0.1/32
Direct 0
NOTE
The maximum number of equal-cost routes varies with products and protocols. You can adjust the
maximum number by purchasing the License.
Destinations : 12
Proto
10.1.1.0/24
Direct 0
10.1.1.2/32
Direct 0
10.1.2.0/24
Direct 0
10.1.2.2/32
Direct 0
10.1.3.0/24
Direct 0
10.1.3.2/32
Direct 0
192.168.0.0/24
OSPF
192.168.1.0/24
OSPF
192.168.2.0/24
OSPF
172.17.1.0/24
OSPF
OSPF
127.0.0.0/8
Direct 0
127.0.0.1/32
Direct 0
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Routes : 14
Pre
Cost
Flags
0
D
0
D
0
D
0
D
0
D
0
D
10
2
D
10
2
D
10
2
D
10
3
D
10
3
D
10
3
D
0
D
0
D
Routes : 13
Pre
Cost
Flags
0
D
0
D
0
D
0
D
0
D
0
D
10
2
D
10
2
D
10
2
D
10
3
D
10
3
D
0
D
0
D
5 OSPF Configuration
NextHop
Interface
10.1.1.1
Pos1/0/0
10.1.1.2
Pos1/0/0
10.1.2.1
Pos2/0/0
10.1.2.2
Pos2/0/0
10.1.2.1
Pos3/0/0
10.1.2.2
Pos3/0/0
10.1.1.2
Pos1/0/0
10.1.2.2
Pos2/0/0
10.1.2.2
Pos3/0/0
10.1.1.2
Pos1/0/0
10.1.2.2
Pos2/0/0
10.1.3.2
Pos3/0/0
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
NextHop
Interface
10.1.1.1
Pos1/0/0
10.1.1.2
Pos1/0/0
10.1.2.1
Pos2/0/0
10.1.2.2
Pos2/0/0
10.1.2.1
Pos3/0/0
10.1.2.2
Pos3/0/0
10.1.1.2
Pos1/0/0
10.1.2.2
Pos2/0/0
10.1.2.2
Pos3/0/0
10.1.1.2
Pos1/0/0
10.1.2.2
Pos2/0/0
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
357

Hide quick links:

Advertisement

loading

This manual is also suitable for:

Quidway netengine40eNe40eNe80e