交换机的基本配置

mac2025-01-18  42

**

命名交换机

** 在全局配置模式下 使用hostname Switch(config)# hostname guyan 交换机命名为guyan 配置模式密码 在特权配置模式下 enable secret 加密显示密码 enable password 明文显示密码 enable password/secret level

配置console 0 在全局配置模式 line console 0 passsword console login 配置交换机的管理地址 全局配置模式 interface vlan 1 ip address 192.168.1.1 255.255.255.0 no shutdown 配置telnet远程访问 line vty 0 4 password telnet login exit 配置交换机接口基本属性 depulx full 设置为该接口为全双工模式 speed auto 设置接口数率为自适应模式

write 可以保存配置 查看配置 show runing config

最新回复(0)