学HCIA的第一天

 


<Huawei>system-view 
[Huawei]sysname r1
[r1]user-interface console 0
[r1-ui-console0]idle-timeout 0 0
[r1-ui-console0]quit
[r1]user-interface console 0
 [r1-ui-console0]authentication-mode password 
Please configure the login password (maximum length 16):jincheng
 <r1>system-view 
[r1]interface g0/0/0
[r1-GigabitEthernet0/0/0]ip address 192.168.1.1 24
Oct 29 2022 20:02:27-08:00 r1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the UP state. 
[r1-GigabitEthernet0/0/0]display ip interface brief
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 2
The number of interface that is DOWN in Physical is 2
The number of interface that is UP in Protocol is 2
The number of interface that is DOWN in Protocol is 2

Interface                         IP Address/Mask      Physical   Protocol  
GigabitEthernet0/0/0              192.168.1.1/24       up         up        
GigabitEthernet0/0/1              unassigned           down       down      
GigabitEthernet0/0/2              unassigned           down       down      
NULL0                             unassigned           up         up(s)     
[r1-GigabitEthernet0/0/0]
Oct 29 2022 20:06:21-08:00 r1 %%01IFPDT/4/IF_STATE(l)[1]:Interface GigabitEthern
et0/0/0 has turned into DOWN state.
[r1-GigabitEthernet0/0/0]
Oct 29 2022 20:06:21-08:00 r1 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the DOWN state. 
[r1-GigabitEthernet0/0/0]
Oct 29 2022 20:07:04-08:00 r1 %%01IFPDT/4/IF_STATE(l)[3]:Interface GigabitEthern
et0/0/0 has turned into UP state.
[r1-GigabitEthernet0/0/0]
Oct 29 2022 20:07:04-08:00 r1 %%01IFNET/4/LINK_STATE(l)[4]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the UP state. 
[r1-GigabitEthernet0/0/0]
Oct 29 2022 20:14:40-08:00 r1 %%01IFPDT/4/IF_STATE(l)[5]:Interface GigabitEthern
et0/0/1 has turned into UP state.
[r1-GigabitEthernet0/0/0]quit
[r1]ping 192.168.1.2 24
                     ^
Error:Too many parameters found at '^' position.
[r1]ping 192.168.1.2
  PING 192.168.1.2: 56  data bytes, press CTRL_C to break
    Request time out
    Request time out
    Request time out
    Request time out
    Request time out

  --- 192.168.1.2 ping statistics ---
    5 packet(s) transmitted
    0 packet(s) received
    100.00% packet loss

[r1]
Oct 29 2022 20:23:11-08:00 r1 %%01IFPDT/4/IF_STATE(l)[6]:Interface GigabitEthern
et0/0/0 has turned into DOWN state.
[r1]
Oct 29 2022 20:23:11-08:00 r1 %%01IFNET/4/LINK_STATE(l)[7]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the DOWN state. 



<Huawei>system-view
[Huawei]sysname r2
[r2]user-interface console 0
[r2-ui-console0]idle-timeout 0 0
[r2-ui-console0]quit
[r2]aaa
[r2-aaa]jincheng privilege level 15 password cipher xueyuan
[r2-aaa]local-user jincheng privilege level 15 password cipher xueyuan
Info: Add a new user.
[r2-aaa]
[r2-aaa]local-user jincheng service-type terminal
[r2-aaa]local-user xuesheng privilege level 0 password cipher 123
Info: Add a new user.
[r2-aaa]quit
[r2]user-interface console 0
[r2-ui-console0]authentication-mode aaa
[r2-ui-console0]return 
<r2>quit

  Configuration console exit, please press any key to log on


Login authentication

Username:jincheng
Password:
<r2>quit

  Configuration console exit, please press any key to log on


Login authentication


Username:xuesheng
Password:
<r2>quit

  Configuration console exit, please press any key to log on


Login authentication


Username:jincheng
Password:
  ----------------------------------------------------------------------------- 
    
  User last login information:     
  -----------------------------------------------------------------------------
  Access Type: Serial      
  IP-Address : --     
  Time       : 2022-10-29 20:19:03-08:00     
  -----------------------------------------------------------------------------
<r2>sys    
<r2>system-view 
Enter system view, return user view with Ctrl+Z.
[r2]interface g0/0/0
[r2-GigabitEthernet0/0/0]ip address 192.168.1.2 24
Oct 29 2022 20:20:18-08:00 r2 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the UP state. 
[r2-GigabitEthernet0/0/0]quit 
[r2]display ip interface brief 
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 2
The number of interface that is DOWN in Physical is 2
The number of interface that is UP in Protocol is 2
The number of interface that is DOWN in Protocol is 2

Interface                         IP Address/Mask      Physical   Protocol  
GigabitEthernet0/0/0              192.168.1.2/24       up         up        
GigabitEthernet0/0/1              unassigned           down       down      
GigabitEthernet0/0/2              unassigned           down       down      
NULL0                             unassigned           up         up(s)     
[r2]

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值