思科常用令大全
思科常用命令大全
1用户模式
2:特权模式
enable
show vlan
show version
show interface
show mac-address-table
show running-config
copy running-config startup-config
3:全局配置模式
config terminal
hostname
enable password
ip default-gateway
4:接口配置模式
interface 端口
switchport mode trunk
5:line模式
line console 0
第2章 交换机的基本配置
1.配置主机
hostname
2.查看交换机的配置
show running-config
使能口令
enable password
加密保存的使能口令
enable secret
配置IP地址
interface vlan1
ip address
no shutdown
配置交换机的网关
ip default-gateway ipaddress
查看交换机的MAC地址表
show mac-address-table
使用CDP协议
show cdp
show cdp interface
show cdp neighbors
show cdp neighbors detail
原创力文档

文档评论(0)