Download Print this page

Huawei Quidway NetEngine80E Configuration Manual page 419

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

Advertisement

HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
# View the routing table of Router B.
[RouterB] display ip routing-table
Route Flags: R - relied, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destination/Mask
As shown in the routing table, Router B learns the route to the network segment 10.3.1.0 through
BGP, and the outgoing interface is POS 2/0/0. The routes to the network segments 10.1.2.0 and
10.1.4.0 respectively can be learned through OSPF. The costs of the two routes are 2.
Step 6 Enable OSPF-BGP linkage on Router B.
[RouterB] ospf 1
[RouterB-ospf-1] stub-router on-startup
[RouterB-ospf-1] quit
[RouterB] quit
Step 7 Verify the configuration.
# Restart Router B.
<RouterB> reboot
System will reboot! Continue?[Y/N] y
# View the routing table of Router A. As shown in the routing table, the route to the network
10.3.1.0 can be learned through BGP, and the outgoing interface is POS 2/0/0.
[RouterA] display ip routing-table
Issue 02 (2014-09-30)
10.1.1.1/32
Direct 0
10.1.1.2/32
Direct 0
10.1.2.0/30
Direct 0
10.1.2.1/32
Direct 0
10.1.2.2/32
Direct 0
10.1.3.0/30
OSPF
10.1.3.1/32
IBGP
10.1.4.0/30
OSPF
OSPF
10.1.4.1/32
IBGP
10.2.1.0/30
EBGP
10.2.1.2/32
EBGP
10.3.1.0/30
EBGP
Destinations : 15
Proto
2.2.2.2/32
Direct 0
1.1.1.1/32
OSPF
4.4.4.0/24
IBGP
4.4.4.4/32
OSPF
5.5.5.0/24
EBGP
10.1.1.0/30
Direct 0
10.1.1.1/32
Direct 0
10.1.1.2/32
Direct 0
10.1.2.0/30
OSPF
10.1.3.0/30
Direct 0
10.1.3.1/32
Direct 0
10.1.3.2/32
Direct 0
10.1.4.0/30
OSPF
10.1.4.1/32
IBGP
10.2.1.0/30
EBGP
10.2.1.2/32
EBGP
10.3.1.0/30
EBGP
NOTE
Confirm the action before you use the command because the command leads to the breakdown of the
network in a short time. In addition, when restarting a router, ensure that the configuration file of the
router is saved.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
0
D
127.0.0.1
0
D
10.1.1.2
0
D
10.1.2.1
0
D
127.0.0.1
0
D
10.1.2.2
10
2
D
10.1.1.2
255
0
RD
4.4.4.4
10
3
D
10.1.1.2
10
3
D
10.1.2.2
255
0
RD
4.4.4.4
255
0
RD
4.4.4.4
255
0
RD
4.4.4.4
255
0
RD
4.4.4.4
Routes : 15
Pre
Cost
Flags NextHop
0
D
127.0.0.1
10
2
D
10.1.1.1
255
0
RD
10
2
D
10.1.3.2
255
0
RD
0
D
10.1.1.2
0
D
10.1.1.1
0
D
127.0.0.1
10
2
D
10.1.1.1
0
D
10.1.3.1
0
D
127.0.0.1
0
D
10.1.3.2
10
2
D
10.1.3.2
255
0
RD
255
0
RD
255
0
RD
255
0
RD
5 OSPF Configuration
InLoopBack0
Pos1/0/0
Pos2/0/0
InLoopBack0
Pos2/0/0
Pos1/0/0
Pos1/0/0
Pos1/0/0
Pos2/0/0
Pos1/0/0
Pos1/0/0
Pos1/0/0
Pos1/0/0
Interface
InLoopBack0
Pos1/0/0
10.1.3.2
Pos2/0/0
Pos2/0/0
10.2.1.2
Pos2/0/0
Pos1/0/0
Pos1/0/0
InLoopBack0
Pos1/0/0
Pos2/0/0
InLoopBack0
Pos2/0/0
Pos2/0/0
10.1.3.2
Pos2/0/0
10.1.3.2
Pos2/0/0
10.1.3.2
Pos2/0/0
10.1.3.2
Pos2/0/0
394

Hide quick links:

Advertisement

loading

This manual is also suitable for:

Quidway netengine40eNe40eNe80e