- 3
- 0
- 约7.9千字
- 约 9页
- 2016-08-25 发布于河南
- 举报
cisco命令
Enable
Config t
Line con 0
Exec-t 0 0 配置永不超时
Logg sy
Exit
No ip do lookup
Hostname
1.交换机支持的命令:
交换机基本状态:
switch: ;ROM状态, 路由器是rommon
hostname ;用户模式
hostname# ;特权模式
hostname(config)# ;全局配置模式
hostname(config-if)# ;接口状态
交换机口令设置:
switchenable ;进入特权模式
switch#config terminal ;进入全局配置模式
switch(config)#hostname ;设置交换机的主机名
switch(config)#enable secret xxx ;设置特权加密口令
switch(config)#enable password xxa ;设置特权非密口令
switch(config)#line console 0 ;进入控制台口
switch(config-line)#line vty 0 4 ;进入虚拟终端
switch(config-line)#login ;允许登录
switch(config-line)#password xx ;设置登录口令xx
switch#exit ;返回命令
交换机VLAN
原创力文档

文档评论(0)