Download Print this page

Huawei Quidway NetEngine80E Configuration Manual page 148

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

Advertisement

HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
l
l
l
l
l
Procedure
Step 1 Configure an IP address for each interface.
The configuration details are not described here.
Step 2 Configure static routes.
# Configure an IPv4 default route on Router A.
[RouterA] ip route-static 0.0.0.0 0.0.0.0 1.1.4.2
# Configure two IPv4 static routes on Router B.
[RouterB] ip route-static 1.1.1.0 255.255.255.0 1.1.4.1
[RouterB] ip route-static 1.1.3.0 255.255.255.0 1.1.4.6
# Configure an IPv4 default route on Router C.
[RouterC] ip route-static 0.0.0.0 0.0.0.0 1.1.4.5
Step 3 Configure hosts.
Set default gateway addresses of PC1, PC2, and PC3 to 1.1.1.1, 1.1.2.1, and 1.1.3.1 respectively.
Step 4 Verify the configuration.
# Check the IP routing table of Router A.
[RouterA] display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destination/Mask
# Run the ping command on Router A to verify the connectivity.
[RouterA] ping 1.1.3.1
PING 1.1.3.1: 56
Issue 02 (2014-09-30)
Default route with the next hop being 1.1.4.2 of Router A
Static route with the destination address and next hop being 1.1.1.0 and 1.1.4.1 respectively
of Router B
Static route with the destination address and next hop being 1.1.3.0, and 1.1.4.6 respectively
of Router B
Default route with the next hop being 1.1.4.5 of Router C
Default gateway addresses of PC1, PC2, and PC3 being 1.1.1.1, 1.1.2.1, and 1.1.3.1
respectively
Destinations : 7
Proto
0.0.0.0/0
Static 60
1.1.1.0/24
Direct 0
1.1.1.1/32
Direct 0
1.1.4.0/30
Direct 0
1.1.4.1/32
Direct 0
1.1.4.2/32
Direct 0
127.0.0.0/8
Direct 0
127.0.0.1/32
Direct 0
data bytes, press CTRL_C to break
Reply from 1.1.3.1: bytes=56 Sequence=1 ttl=254 time=62 ms
Reply from 1.1.3.1: bytes=56 Sequence=2 ttl=254 time=63 ms
Reply from 1.1.3.1: bytes=56 Sequence=3 ttl=254 time=63 ms
Reply from 1.1.3.1: bytes=56 Sequence=4 ttl=254 time=62 ms
Reply from 1.1.3.1: bytes=56 Sequence=5 ttl=254 time=62 ms
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Routes : 7
Pre
Cost
Flags
0
RD
0
D
0
D
0
D
0
D
0
D
0
D
0
D
2 IP Static Route Configuration
NextHop
Interface
1.1.4.2
Pos1/0/0
1.1.1.1
GigabitEthernet2/0/0
127.0.0.1
GigabitEthernet2/0/0
1.1.4.1
Pos1/0/0
127.0.0.1
Pos1/0/0
1.1.4.2
Pos1/0/0
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
123

Hide quick links:

Advertisement

loading

This manual is also suitable for:

Quidway netengine40eNe40eNe80e