Beruflich Dokumente
Kultur Dokumente
www.huawei.com
be able to:
VRP 5.x
VRP 3.x NE series router
AR series router, NE
VRP 1.x series router and all
forepart version series switch
Environment
Router
PC
PC Switch Router
Normal normal
line line Destination
router
Local configuration environment
Internet
Router Router
PC
Long-distance configuration environment
Destination
router
PSTN
COM
Modem Modem Router
PC
AUX
Environment
System maintenance,
monitor
service trouble diagnosis
Operation Command
<Quidway>system-view
Enter system view, return user view with Ctrl+Z.
[Quidway]
[Quidway]interface Serial 0/0/0
[Quidway-Serial0/0/0]quit
[Quidway]quit
<Quidway>
Completeness help
Portion help <Quidway> ?
<Quidway> display ?
completeness help
[Quidway] interface ethernet ?
<Quidway> d?
portion help
<Quidway> display h?
Operation Command
<Quidway>language-mode ?
chinese Chinese environment
english English environment
<Quidway>language-mode chinese
Change language mode, confirm? [Y/N]y
Info:Turn to chinese mode
<Quidway>
Command/Key Function
Operation Command
<Quidway>system-view
Enter system view, return user view with Ctrl+Z.
[Quidway]
#change the router name as Router1
[Quidway]sysname Router1 [Router1]
Operation Command
Operation Command
Display system version display version
Operation Command
Display file content more
Copy file copy
Move file move
Rename file rename
Delete file delete
delete file in recycle-bin downright reset recycle-bin
Resume deleted file undelete
Operation Command
Operation Command
Operation Command
User(172.16.104.110:(none)):quidway
331 Give me your password, please
Password:
230 Logged in successfully
150 "D:\system\vrp.cc" file ready to send (5805100 bytes) in IMAGE / Binary mode
226 Transfer finished successfully.
FTP: 5805100 byte(s) received in 19.898 second(s) 291.74Kbyte(s)/sec.
.1 .2
PC Console Cable Router A
172.16.104.0
Console Cable
PC Router A 10.111.16.160
Environment
10.111.16.1
Get/Set UDP 161 10.111.16.160
Agent NMS
10.111.16.1
10.111.16.160
[Quidway]snmp-agent
[Quidway]snmp-agent sys-info version v3
[Quidway]snmp-agent community read public
[Quidway]snmp-agent community write private
[Quidway]snmp-agent trap enable
[Quidway]snmp-agent target-host udp-domain 10.111.16.160 udp-port
5000 params securityname public
www.huawei.com
Destination
network N
E0/1
S0/0 RTC
E0/0
RTB
RTA
Other networks
E1 E0 E0 E1 E0 E1
10.3.1.0 10.1.2.0/24 10.2.1.0/24 10.4.1.0
.1 .2 .1 .2
RTA RTB RTC
destination Next hop interface destination Next hop interface destination Next hop interface
10.1.1.0
E0/0 192.168.2.0
E1/0
[RTB]display ip routing-table
Routing Tables: Public
Destinations : 8 Routes : 8
.2
Destination/Mask Proto Pre Cost NextHop Interface
10.1.1.0/30 Direct 0 0 10.1.1.1 Serial0/0/0
RTC 10.1.1.1/32 Direct 0 0 127.0.0.1 InLoopBack0
10.1.2.1/32 Direct 0 0 127.0.0.1 InLoopBack0
10.1.2.2/32 Direct 0 0 10.1.2.2 Serial0/0/1
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoopBack0
RTC
10.1.2.0/24 [RTB]display ip routing-
.2
OSPF table Routing Tables: Public
Destinations : 10 Routes : 10
RTA RIP .1 Destination/Mask Proto Pre Cost NextHop Interface
10.1.1.0/8 10.1.1.0/30 Direct 0 0 Serial0/0/0
.2 .1 Direct 10.1.1.2 Serial0/0/0
10.1.1.1/32
192.168.2.1/24 RTB
0 0 10.1.1.1
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoopBack0
routers, routers shares network status and network reachable information via
routing protocol.
The communication peers must run same protocols that used to exchange
routing information.
Routing protocol define a set of rules about communication between the routers
Routing protocol maintains routing table and provide the best forwarding path.
AS100 AS200
IS and so on.
DM and so on.
RIP OSPF
10.0.0.0 R0 10.0.0.0 R1
10.0.0.0 R1
Routing table
6
F
3
E
5 5
A C D
8
10
Destination makes
logical AND operation
with mask
will be discarded.
RTB
TTL-2
TTL-2
RTA Network N
TTL-1
Packet towards RTC RTD
network N