新配置交换机
1.打开xshell 新建协议Serial接口
2.打开设备管理器确认端口
3.波特9600
进入界面开始
sys
sysname (名字)
int vlan 1
ip add 192.168.1.1 24
quit
打开远程登录 telnet server enable
aaa
local-user (用户名) password i(irreversible)-cipher (密码)
local-user admin service-type telnet --------- 打开telnet服务
local-user admin privilege level 15 ------ 设置等级
quit
user-interface vty 0 4
authentication-mode aaa 设置协议aaa
protocol inbound all 允许telnet shh 同时登录
记得保存save
dis arp | include <这里填MAC地址 或者 ip地址> 查询端口(需要在dhcp主交换机进行查询)
dis ip pool 查看mac地址池
ip pool name(pool16) 查看进入地址池
excluded-ip-address 192.168.16.243 把这台电脑的地址池固定
交换机基本命令
于 2024-04-15 13:17:05 首次发布