1.基本配置
enable
conf t
hostname XX
enble password/secret XXX
line console 0
password XX
logging sychronous
login
line vty 0 4
password XX
login
banner motd XX
no ip domain-lookup //禁用DNS解析
service passwor-encryption //服务加密
ip default-gateway *** //交换机默认网关
2.接口配置(IP地址配置)
interface f0/0
ip address ip_address subnet_mask
no shutdown
interface vlan ** //交换机的管理IP地址
ip address **
no shut
3. 交换机
spanning-tree vlan *** priority ** //根桥
vtp mode server/client
vtp domain **
vtp password **
本内容试读结束,登录后可阅读更多
下载后可阅读完整内容,剩余4页未读,立即下载