HCIA-Datacom 网络技术实验指南 第1章 华为VRP系统的基本操作

 

  1. 常用命令
  2. console配置
  3. 接口IP配置
  4. 认证模式、用户权限配置
  • system-view  sys   # 进入系统视图
  • quit   q  # 退出当前视图
  • return    # 返回用户视图
  • sysname  #重命名
  • display version  #查看当前配置
     

The device is running!

<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]q
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]quit
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]ospf 10
[Huawei-ospf-10]area 0
[Huawei-ospf-10-area-0.0.0.0]return
<Huawei>sysname AR1
        ^
Error: Unrecognized command found at '^' position.
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname AR1
[AR1]display int	
[AR1]display interface 
GigabitEthernet0/0/0 current state : UP
Line protocol current state : DOWN
Description:HUAWEI, AR Series, GigabitEthernet0/0/0 Interface
Route Port,The Maximum Transmit Unit is 1500
Internet protocol processing : disabled
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 00e0-fc82-7ac7
Last physical up time   : 2022-09-17 20:06:56 UTC-08:00
Last physical down time : 2022-09-17 20:06:48 UTC-08:00
Current system time: 2022-09-17 20:11:38-08:00
Port Mode: FORCE COPPER
Speed : 1000,  Loopback: NONE
Duplex: FULL,  Negotiation: ENABLE
Mdi   : AUTO
Last 300 seconds input rate 0 bits/sec, 0 packets/sec
Last 300 seconds output rate 0 bits/sec, 0 packets/sec
Input peak rate 0 bits/sec,Record time: -
Output peak rate 0 bits/sec,Record time: -

Input:  0 packets, 0 bytes
  Unicast:                  0,  Multicast:                   0
  Broadcast:                0,  Jumbo:                       0
  Discard:                  0,  Total Error:                 0

  CRC:                      0,  Giants:                      0
  Jabbers:                  0,  Throttles:                   0
  Runts:                    0,  Symbols:                     0
  Ignoreds:                 0,  Frames:                      0

Output:  0 packets, 0 bytes
  Unicast:                  0,  Multicast:                   0
  Broadcast:                0,  Jumbo:                       0
  Discard:                  0,  Total Error:                 0

  Collisions:               0,  ExcessiveCollisions:         0
  Late Collisions:          0,  Deferreds:                   0

    Input bandwidth utilization threshold : 100.00%
    Output bandwidth utilization threshold: 100.00%
    Input bandwidth utilization  :    0%
    Output bandwidth utilization :    0%

GigabitEthernet0/0/1 current state : DOWN
Line protocol current state : DOWN
Description:HUAWEI, AR Series, GigabitEthernet0/0/1 Interface
Route Port,The Maximum Transmit Unit is 1500
Internet protocol processing : disabled
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 00e0-fc82-7ac8
Last physical up time   : -
Last physical down time : 2022-09-17 20:06:48 UTC-08:00
Current system time: 2022-09-17 20:11:59-08:00
Port Mode: COMMON COPPER
Speed : 1000,  Loopback: NONE
Duplex: FULL,  Negotiation: ENABLE
Mdi   : AUTO
Last 300 seconds input rate 0 bits/sec, 0 packets/sec
Last 300 seconds output rate 0 bits/sec, 0 packets/sec
Input peak rate 0 bits/sec,Record time: -
Output peak rate 0 bits/sec,Record time: -

Input:  0 packets, 0 bytes
  Unicast:                  0,  Multicast:                   0
  Broadcast:                0,  Jumbo:                       0
  Discard:                  0,  Total Error:                 0

  CRC:                      0,  Giants:                      0
  Jabbers:                  0,  Throttles:                   0
  Runts:                    0,  Symbols:                     0
  Ignoreds:                 0,  Frames:                      0

Output:  0 packets, 0 bytes
  Unicast:                  0,  Multicast:                   0
  Broadcast:                0,  Jumbo:                       0
  Discard:                  0,  Total Error:                 0

  Collisions:               0,  ExcessiveCollisions:         0

[AR1]fidplsy history
     ^
Error: Unrecognized command found at '^' position.
[AR1]display history-co	
[AR1]display history-command 
  fidplsy history
  display interface
  sysname AR1
  sys
  return
  area 0
  ospf 10
  quit
  q
  system-view
[AR1]interface Gi	
[AR1]interface GigabitEthernet 0/0/0
[AR1-GigabitEthernet0/0/0]ip address 10.1.1.1 255.255.255.0
Sep 17 2022 20:14:15-08:00 AR1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
 on the interface GigabitEthernet0/0/0 has entered the UP state. 
[AR1-GigabitEthernet0/0/0]dis th
[V200R003C00]
#
interface GigabitEthernet0/0/0
 ip address 10.1.1.1 255.255.255.0 
#
return
[AR1-GigabitEthernet0/0/0]q
[AR1]user-interface console 0
[AR1-ui-console0]authentication-mode password
Please configure the login password (maximum length 16):admin
[AR1-ui-console0]user privilege level 15
[AR1-ui-console0]q
[AR1]aaa
[AR1-aaa]local-user admin password cipher admin
[AR1-aaa]local-user admin privilege level 15
[AR1-aaa]local-user admin service-type telnet
[AR1-aaa]q
[AR1]telnet server enable
 Error: TELNET server has been enabled
[AR1]display telnet server status
 TELNET IPV4 server                      :Enable
 TELNET IPV6 server                      :Enable
 TELNET server port                      :23
[AR1]user-interface vty 0 4
[AR1-ui-vty0-4]protocol inbound telnet
[AR1-ui-vty0-4]authentication-mode aaa
[AR1-ui-vty0-4]user privilege level 15
[AR1-ui-vty0-4]return
<AR1>sys
Enter system view, return user view with Ctrl+Z.
[AR1]user-interface console 0
[AR1-ui-console0]idle-timeout 0 0
[AR1-ui-console0]q
[AR1]display version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.130 (AR2200 V200R003C00)
Copyright (C) 2011-2012 HUAWEI TECH CO., LTD
Huawei AR2220 Router uptime is 0 week, 0 day, 0 hour, 31 minutes
BKP 0 version information: 
1. PCB      Version  : AR01BAK2A VER.NC
2. If Supporting PoE : No
3. Board    Type     : AR2220
4. MPU Slot Quantity : 1
5. LPU Slot Quantity : 6

MPU 0(Master) : uptime is 0 week, 0 day, 0 hour, 31 minutes
MPU version information : 
1. PCB      Version  : AR01SRU2A VER.A
2. MAB      Version  : 0
3. Board    Type     : AR2220
4. BootROM  Version  : 0

The device is running!

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname AR2
[AR2]user-interface console 0
[AR2-ui-console0]idle-timeout 0 0
[AR2-ui-console0]q
[AR2]interface G	
[AR2]interface GigabitEthernet 0/0/0
[AR2-GigabitEthernet0/0/0]ip addr 10.1.1.2 24
Sep 17 2022 20:23:39-08:00 AR2 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
 on the interface GigabitEthernet0/0/0 has entered the UP state. 
[AR2-GigabitEthernet0/0/0]dis th
[V200R003C00]
#
interface GigabitEthernet0/0/0
 ip address 10.1.1.2 255.255.255.0 
#
return
[AR2-GigabitEthernet0/0/0]dis cu
[V200R003C00]
#
 sysname AR2
#
 snmp-agent local-engineid 800007DB03000000000000
 snmp-agent 
#
 clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load portalpage.zip
#
 drop illegal-mac alarm
#
 set cpu-usage threshold 80 restore 75
#
aaa 
 authentication-scheme default
 authorization-scheme default
 accounting-scheme default
 domain default 
 domain default_admin 
 local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
 local-user admin service-type http
#

[AR2-GigabitEthernet0/0/0]q
[AR2]display telnet server status
 TELNET IPV4 server                      :Enable
 TELNET IPV6 server                      :Enable
 TELNET server port                      :23
[AR2]telnet 10.1.1.1
            ^
Error: Unrecognized command found at '^' position.
[AR2]ping 10.1.1.1
  PING 10.1.1.1: 56  data bytes, press CTRL_C to break
    Reply from 10.1.1.1: bytes=56 Sequence=1 ttl=255 time=90 ms
    Reply from 10.1.1.1: bytes=56 Sequence=2 ttl=255 time=20 ms
    Reply from 10.1.1.1: bytes=56 Sequence=3 ttl=255 time=20 ms
    Reply from 10.1.1.1: bytes=56 Sequence=4 ttl=255 time=20 ms
    Reply from 10.1.1.1: bytes=56 Sequence=5 ttl=255 time=30 ms

  --- 10.1.1.1 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 20/36/90 ms

[AR2]telnet 10.1.1.1
            ^
Error: Unrecognized command found at '^' position.
[AR2]q
<AR2>telnet 10.1.1.1
  Press CTRL_] to quit telnet mode
  Trying 10.1.1.1 ...
  Connected to 10.1.1.1 ...

Login authentication


Username:admin
Password:
<AR1>sys
Enter system view, return user view with Ctrl+Z.
[AR1]display users
  User-Intf    Delay    Type   Network Address     AuthenStatus    AuthorcmdFlag
  0   CON 0   00:04:38                                   pass                   
  Username : Unspecified

+ 129 VTY 0   00:00:00  TEL    10.1.1.2                  pass                   
  Username : admin               


[AR1]

  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
HCIA-Datacom网络技术学习指南是华为网络学院提供的一份指导学习HCIA-Datacom网络技术的资料。HCIA-Datacom是华为认证的网络技术专业认证之一,通过该认证可以证明学员掌握了网络数据通信的基本知识和技能。 该指南内容主要包括以下几个方面: 1. 学习目标:明确学习HCIA-Datacom的目标,帮助学员了解认证的意义和用途,激发学员的学习动机。 2. 学习路径:提供合理的学习路径,帮助学员规划学习时间和学习资源,让学员能够系统地学习网络数据通信的相关知识。 3. 学习内容:详细介绍网络数据通信的基本原理、网络技术的分类和应用场景等内容,帮助学员建立起整体的网络数据通信知识体系。 4. 实践环节:通过设计实际案例和实验,让学员通过实践来巩固和应用所学的知识,提高学员的实践能力。 5. 学习资源:提供大量的学习资源,包括教学视频、教材、案例分析等,帮助学员在学习过程中深入理解网络数据通信的概念和技术。 6. 学习评估:通过测试和测评,及时发现学员的学习进度和水平,帮助学员巩固知识并及时调整学习计划。 学习HCIA-Datacom网络技术需要一定的基础知识,如计算机基础、网络基础等,但指南也鼓励初学者根据自身情况进行学习。同时,指南强调学习网络技术不只是为了获得证书,更是为了提高自己的能力和就业竞争力。 总之,该指南是一份非常有价值的学习资料,可以帮助学员系统地学习和掌握HCIA-Datacom网络技术,为以后的职业发展奠定坚实的基础。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值