华为交换机模拟器为什么不能配置IP(或反)?如何在华为设备上配置远程管理设备?如何保存ENSP的配置
2017-11-25 11:37
866 查看
实验:
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地址的命令,因为这是一个二层接口
[SW1]display interface g0/0/10 //验证命令
GigabitEthernet0/0/10 current state : UP
Line protocol current state : UP
Description:
Switch Port,
真机可以支持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 //暂时不能进入系统模式,权限不足
ENSP如何保存配置,使得下次启动时依旧还有配置
<SW3>save
The current configuration will be written to the device.
Are you sure to continue?[Y/N]y //在华为设备保存配置
然后点击ENSP的第四个按键“保存”
确保万无一失,在关闭ENSP时再保存
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地址的命令,因为这是一个二层接口
[SW1]display interface g0/0/10 //验证命令
GigabitEthernet0/0/10 current state : UP
Line protocol current state : UP
Description:
Switch Port,
真机可以支持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 //暂时不能进入系统模式,权限不足
ENSP如何保存配置,使得下次启动时依旧还有配置
<SW3>save
The current configuration will be written to the device.
Are you sure to continue?[Y/N]y //在华为设备保存配置
然后点击ENSP的第四个按键“保存”
确保万无一失,在关闭ENSP时再保存
相关文章推荐
- 华为防火墙配置远程管理设备
- 华为模拟器(ensp)交换机中配置vlan
- 网络设备配置与管理---使用DDN专线实现两个企业网络远程网络互联
- 如何清除掉“远程桌面”登录框保存的IP历史登陆的用户名
- LFS 光盘启动 IP 配置 + ssh 远程管理
- 基于华为交换机的局域网中交换机管理IP配置的两种参考方法
- 华为ENSP模拟器,启动AR/WLAN设备时,提示“…错误代码40…”
- pl/sql 如何配置连接远程一个或多个数据库(1.同一个ip不同用户名,2.不同ip不同用户名)以及记住密码
- 华为ENSP使用,以及基本的华为交换机配置
- 路由交换设备的密码配置与远程管理
- 如何在WIN7系统下配置SQL能够远程访问,并设置可用IP登录数据库
- 华为设备ENSP静态路由的配置实战
- 如何配置华为交换机WEB管理?华为交换机WEB管理
- 如何在H3C的设备上配置本地和远程用户名?
- SQL管理工具使用IP\实例名登录时报“请验证实例名称是否正确且sql配置为远程连接”
- RouterVisio华为模拟器保存配置
- 华为设备--Rspan远程镜像配置
- 【华为】华为模拟器 huawei ensp 无线网路配置模拟
- 配置文件不能保存 如何解决
- 华为eNSP模拟器中两个路由器IP互联