HCN网络技术实验指南2

 

 

配置Telnet密码验证:

The device is running!

<Huawei>SYS    
<Huawei>system-view 
Enter system view, return user view with Ctrl+Z.
[Huawei]int    
[Huawei]interface ?
  Bridge-if         Bridge-if interface
  Cellular          Cellular interface
  Dialer            Dialer interface
  Eth-Trunk         Ethernet-Trunk interface
  GigabitEthernet   GigabitEthernet interface
  Ima-group         ATM-IMA interface
  LoopBack          LoopBack interface
  MFR               MFR interface
  Mp-group          Mp-group interface
  NULL              NULL interface
  Tunnel            Tunnel interface
  Virtual-Ethernet  Virtual-Ethernet interface
  Virtual-Template  Virtual-Template interface
  Vlanif            Vlan interface
  Wlan-Ess          Wlan-Ess interface
[Huawei]interface G    
[Huawei]interface GigabitEthernet 0/0/0
[Huawei-GigabitEthernet0/0/0]ip add    
[Huawei-GigabitEthernet0/0/0]ip address 10.1.1.254 24
Oct 23 2018 14:01:30-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[0]:The line protocol
 IP on the interface GigabitEthernet0/0/0 has entered the UP state. 
[Huawei-GigabitEthernet0/0/0]quit
[Huawei]disp    
[Huawei]display it    
[Huawei]display ip    
[Huawei]display ip it    
[Huawei]display ip int    
[Huawei]display ip interface b    
[Huawei]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              10.1.1.254/24        up         up        
GigabitEthernet0/0/1              unassigned           down       down      
GigabitEthernet0/0/2              unassigned           down       down      
NULL0                             unassigned           up         up(s)     
[Huawei]
[Huawei]sys    
[Huawei]sysname 
                ^
Error:Incomplete command found at '^' position.
[Huawei]sys    
[Huawei]sysname R1
[R1]us    
[R1]user-in    
[R1]user-interface ?
  INTEGER<0,129-149>   The first user terminal interface to be configured
  console              Primary user terminal interface
  current              The current user terminal interface
  maximum-vty          The maximum number of VTY users, the default value is 5
  tty                  The asynchronous serial user terminal interface 
  vty                  The virtual user terminal interface 
[R1]user-interface vty    
[R1]user-interface vty 0 4
[R1-ui-vty0-4]au    
[R1-ui-vty0-4]authentication-mode ?
  aaa       AAA authentication
  password  Authentication through the password of a user terminal interface
[R1-ui-vty0-4]authentication-mode pa    
[R1-ui-vty0-4]authentication-mode password 
Please configure the login password (maximum length 16):huawei
[R1-ui-vty0-4]quit
[R1]dis    
[R1]display us    
[R1]display user?
  user-group      User group
  user-interface  <Group> user-interface command group
  users           The status and configuration of a user interface
[R1]display users
  User-Intf    Delay    Type   Network Address     AuthenStatus    AuthorcmdFlag
+ 0   CON 0   00:00:00                                   pass                   
  Username : Unspecified

  129 VTY 0   00:01:27  TEL    10.1.1.1                  pass                   
  Username : Unspecified

  130 VTY 1   00:00:57  TEL    10.1.1.2                  pass                   
  Username : Unspecified


[R1]
The device is running!

<Huawei>sys    
<Huawei>system-view 
Enter system view, return user view with Ctrl+Z.
[Huawei]int    
[Huawei]interface ?
  Bridge-if         Bridge-if interface
  Cellular          Cellular interface
  Dialer            Dialer interface
  Eth-Trunk         Ethernet-Trunk interface
  GigabitEthernet   GigabitEthernet interface
  Ima-group         ATM-IMA interface
  LoopBack          LoopBack interface
  MFR               MFR interface
  Mp-group          Mp-group interface
  NULL              NULL interface
  Tunnel            Tunnel interface
  Virtual-Ethernet  Virtual-Ethernet interface
  Virtual-Template  Virtual-Template interface
  Vlanif            Vlan interface
  Wlan-Ess          Wlan-Ess interface
[Huawei]interface g0/0/0
[Huawei-GigabitEthernet0/0/0]ip addr    
[Huawei-GigabitEthernet0/0/0]ip address 10.1.1.1 24
Oct 23 2018 14:03:04-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[0]:The line protocol
 IP on the interface GigabitEthernet0/0/0 has entered the UP state. 
[Huawei-GigabitEthernet0/0/0]quit
[Huawei]
[Huawei]ping 10.1.1.254
  PING 10.1.1.254: 56  data bytes, press CTRL_C to break
    Reply from 10.1.1.254: bytes=56 Sequence=1 ttl=255 time=160 ms
    Reply from 10.1.1.254: bytes=56 Sequence=2 ttl=255 time=40 ms
    Reply from 10.1.1.254: bytes=56 Sequence=3 ttl=255 time=40 ms
    Reply from 10.1.1.254: bytes=56 Sequence=4 ttl=255 time=60 ms
    Reply from 10.1.1.254: bytes=56 Sequence=5 ttl=255 time=30 ms

  --- 10.1.1.254 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 30/66/160 ms

[Huawei]sys    
[Huawei]sysname R2
[R2]TEL    
[R2]telnet 10.1.1.254
           ^
Error: Unrecognized command found at '^' position.
[R2]quit
<R2>quit

  Configuration console exit, please press any key to log on

<R2>tel    
<R2>telnet 10.1.1.254
  Press CTRL_] to quit telnet mode
  Trying 10.1.1.254 ...
  Connected to 10.1.1.254 ...

Login authentication


Password:
<R1>

  Configuration console time out, please retry to log on

  The connection was closed by the remote host
<R2>
The device is running!

<Huawei>sys    
<Huawei>system-view 
Enter system view, return user view with Ctrl+Z.
[Huawei]int g0/0/0
[Huawei-GigabitEthernet0/0/0]ip addr    
[Huawei-GigabitEthernet0/0/0]ip address 10.1.1.2 24
Oct 23 2018 14:03:35-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[0]:The line protocol
 IP on the interface GigabitEthernet0/0/0 has entered the UP state. 
[Huawei-GigabitEthernet0/0/0]quit
[Huawei]disp    
[Huawei]display ip int    
[Huawei]display ip interface br    
[Huawei]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              10.1.1.2/24          up         up        
GigabitEthernet0/0/1              unassigned           down       down      
GigabitEthernet0/0/2              unassigned           down       down      
NULL0                             unassigned           up         up(s)     
[Huawei]

  Please check whether system data has been changed, and save data in time

  Configuration console time out, please press any key to log on

<Huawei>SYS    
<Huawei>system-view 
Enter system view, return user view with Ctrl+Z.
[Huawei]SYS    
[Huawei]sysname R3
[R3]quit
<R3>quit

  Configuration console exit, please press any key to log on

<R3>tel    
<R3>telnet 10.1.1.254
  Press CTRL_] to quit telnet mode
  Trying 10.1.1.254 ...
  Connected to 10.1.1.254 ...

Login authentication


Password:
<R1>
<R1>

  Configuration console time out, please retry to log on

  The connection was closed by the remote host
<R3>

 

posted @ 2018-10-23 14:19  友情天  阅读(509)  评论(0编辑  收藏  举报