2025年华为模拟器ensp交换机配置(华为模拟器(ensp)交换机中配置vlan)

华为模拟器ensp交换机配置(华为模拟器(ensp)交换机中配置vlan)小白白 当你看到这篇博客 那么你需要系统学习 多看看视频 别自己懵逼乱撞了 实验 1 配置 IP 为什么无法配置 IP 配置 vlanif 完成和路由器的直连通信 然后远程管理 SW1 interface g0 0 10 SW1 GigabitEther 0 10 ip add SW1 GigabitEther 0 10 ip address 10 1 1 254 24

大家好,我是讯享网,很高兴认识大家。



小白白,当你看到这篇博客,那么你需要系统学习,多看看视频,别自己懵逼乱撞了 实验: 1.配置IP 为什么无法配置IP? 配置vlanif,完成和路由器的直连通信,然后远程管理 [SW1]interface g0/0/10 [SW1-GigabitEthernet0/0/10]ip add [SW1-GigabitEthernet0/0/10]ip address 10.1.1.254 24 //交换接口无法执行配置IP地址的命令,因为这是一个二层接口。一些路由器上安装了2层板卡也会出现此问题(ensp的1220之类的ethernet接口) [SW1]display interface g0/0/10 //验证命令 GigabitEthernet0/0/10 current state : UP Line protocol current state : UP Description: Switch Port, //2层接口!! 真机可以支持2层接口转换成3层接口 interface GigabitEthernet0/0/10 undo portswitch //2层接口变成3层接口,模拟器支持该命令,但没有效果。反之亦然.如果想把路由接口变成2层接口也是如此,模拟器嘛,请不要大惊小怪 [SW1-GigabitEthernet0/0/10]ip add 10.1.1.254 24 //模拟器配置地址依旧报错。在物理接口不能配置IP地址,但是可以使用vlan接口 还有联系乾颐堂官网 非常不推荐把2层接口变为3层接口,会让广播域增加太多。推荐使用vlanif接口 [SW1]interface Vlanif 1 [SW1-Vlanif1]ip add [SW1-Vlanif1]ip address 10.1.1.254 24 [SW1-Vlanif1] Nov 7 2017 21:36:34-08:00 SW1 %%01IFNET/4/LINKSTATE(l)[0]:The line protocol IP on the interface Vlanif1 has entered the UP state user-interface vty 0 4 set authentication password simple huawei123 //开启远程管理功能,设置了密码 ! [SW1]clear configuration interface g0/0/10 //恢复接口的默认配置 Warning: All configurations of the interface will be cleared, and its state will be shutdown. Continue? [Y/N] :y Info: Total execute 0 command(s), 0 successful, 0 failed. Router: interface GigabitEthernet0/0/1 ip address 10.1.1.10 255.255.255.0 远程管理实施: <R1>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: Info: The max number of VTY users is 5, and the number of current VTY users on line is 1. The current login time is 2017-11-07 21:45:15. <SW1>sy <SW1>sy //暂时不能进入系统模式,权限不足


讯享网

小讯
上一篇 2025-05-31 18:00
下一篇 2025-06-01 20:59

相关推荐

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/145343.html