switch>enable 进入特权模式switch#config terminal 进入全局模式switch(config)#hostname+xxx 设置主机名switch(config)#enable password 明文密码switch(config)#enable secret 密文密码switch(config)#ip default-gateway 设置网关switch#show mac-address-table 查看MAC地址switch(config)#logging synchronous 阻止控制台信息覆盖命令行上的输入switch(config)#no ip domain-lookup 关闭DNS查看功能switch(config)#exec-timeout 0 0 阻止会话退出
服务热线
1391-024-6332