华为eNSP模拟器:AC初始化配置:使用Telnet实现远程登录AC,进行管理。 您所在的位置:网站首页 ac初始化配置实验总结 华为eNSP模拟器:AC初始化配置:使用Telnet实现远程登录AC,进行管理。

华为eNSP模拟器:AC初始化配置:使用Telnet实现远程登录AC,进行管理。

2024-04-10 01:17| 来源: 网络整理| 查看: 265

system-view  Enter system view, return user view with Ctrl+Z. [S5700]vlan 100 [S5700-vlan100]quit     [S5700]interface GigabitEthernet 0/0/2  Dec 15 2023 20:36:16-08:00 S5700 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5. 25.191.3.1 configurations have been changed. The current change number is 7, the  change loop count is 0, and the maximum number of records is 4095. [S5700-GigabitEthernet0/0/2]port link-type trunk [S5700-GigabitEthernet0/0/2]port trunk pvid vlan 100     [S5700-GigabitEthernet0/0/2]port trunk allow-pass vlan all  [S5700-GigabitEthernet0/0/2]quit [S5700]interface GigabitEthernet 0/0/1 [S5700-GigabitEthernet0/0/1]port link-type trunk      [S5700-GigabitEthernet0/0/1]port trunk allow-pass vlan all  [S5700-GigabitEthernet0/0/1]quit [S5700]interface Vlanif 100 Dec 15 2023 20:39:17-08:00 S5700 %%01IFNET/4/IF_STATE(l)[55]:Interface Vlanif100  has turned into UP state. [S5700-Vlanif100]ip address 10.1.100.1 24 Dec 15 2023 20:39:30-08:00 S5700 %%01IFNET/4/LINK_STATE(l)[56]:The line protocol  IP on the interface Vlanif100 has entered the UP state. [S5700-Vlanif100]quit 步骤 3: 配置AC6005 ,创建vlan 100,并设置 G0/0/1 为 trunk,并配置vlan 100 虚接口的 IP 地址为 10.1.100.2。

system-view  Enter system view, return user view with Ctrl+Z. [AC6005]vlan 100 Info: This operation may take a few seconds. Please wait for a moment...done. [AC6005-vlan100]quit [AC6005]interface GigabitEthernet 0/0/1 [AC6005-GigabitEthernet0/0/1]port link-type trunk      [AC6005-GigabitEthernet0/0/1]port trunk allow-pass vlan all  [AC6005-GigabitEthernet0/0/1]quit [AC6005]interface vlan 100 [AC6005-Vlanif100]ip address 10.1.100.2 24 [AC6005-Vlanif100]quit

验证:在AP上ping通 10.1.100.1、10.1.100.2 [Huawei]ping 10.1.100.1   PING 10.1.100.1: 56  data bytes, press CTRL_C to break     Reply from 10.1.100.1: bytes=56 Sequence=1 ttl=255 time=70 ms     Reply from 10.1.100.1: bytes=56 Sequence=2 ttl=255 time=10 ms     Reply from 10.1.100.1: bytes=56 Sequence=3 ttl=255 time=10 ms     Reply from 10.1.100.1: bytes=56 Sequence=4 ttl=255 time=20 ms     Reply from 10.1.100.1: bytes=56 Sequence=5 ttl=255 time=10 ms

  --- 10.1.100.1 ping statistics ---     5 packet(s) transmitted     5 packet(s) received     0.00% packet loss     round-trip min/avg/max = 10/24/70 ms [Huawei]ping 10.1.100.2   PING 10.1.100.2: 56  data bytes, press CTRL_C to break     Reply from 10.1.100.2: bytes=56 Sequence=1 ttl=255 time=40 ms     Reply from 10.1.100.2: bytes=56 Sequence=2 ttl=255 time=40 ms     Reply from 10.1.100.2: bytes=56 Sequence=3 ttl=255 time=20 ms     Reply from 10.1.100.2: bytes=56 Sequence=4 ttl=255 time=20 ms     Reply from 10.1.100.2: bytes=56 Sequence=5 ttl=255 time=40 ms

  --- 10.1.100.2 ping statistics ---     5 packet(s) transmitted     5 packet(s) received     0.00% packet loss     round-trip min/avg/max = 20/32/40 ms

2、配置 AC 的 Telnet 服务 步骤:远程 Telnet 采用 AAA 认证方式(用户名+密码) 步骤 1:启动 TeInet 服务,配置本地用户 huawei,密码为 huawei123,用户服务类型为TeInet,并设置用户的管理级别为 15 级,并进入 VTY 用户接口,设置认证方式为 aaa,VTY 入口协议为 Telnet。 [AC6005]telnet server enable  Info: TELNET server has been enabled. [AC6005]aaa     [AC6005-aaa]local-user huawei password cipher huawei123 Info: Add a new user. [AC6005-aaa]local-user huawei service-type telnet Info: The cipher password has been changed to an irreversible-cipher password. Warning: The user access modes include Telnet, FTP, or HTTP, so security risks e xist. Info: After changing the rights (including the password, access type, FTP direct ory, HTTP directory, and level) of a local user, the rights of users already onl ine do not change. The change takes effect to users who go online after the chan ge.     [AC6005-aaa]local-user huawei privilege level 15 Warning: This operation may affect online users, are you sure to change the user  privilege level ?[Y/N]y [AC6005-aaa]quit     [AC6005]user-interface vty 0 4 [AC6005-ui-vty0-4]authentication-mode aaa Warning: The level of the user-interface(s) will be the default level of AAA use rs, please check whether it is correct. [AC6005-ui-vty0-4]protocol inbound telnet  Warning: The inbound protocol include Telnet, so security risks exist. 验证 :在 AP上,使用命令 telnet 10.1.100.2,可以远程登录到 AC。

telnet 10.1.100.2   Press CTRL_] to quit telnet mode   Trying 10.1.100.2 ...   Connected to 10.1.100.2 ... Warning: Telnet is not a secure protocol, and it is recommended to use Stelnet.

Login authentication

Username:huawei Password:

显示登录成功。



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有