二层交换机还是三层,要实验文档题不
1. 交换机支持的命令:
交换机基本状态:
switch: ;ROM状态, 路由器是rommon>
hostname> ;用户模式
hostname# ;特权模式
hostname(config)# ;全局配置模式
hostname(config-if)# ;接口状态
交换机口令设置:
switch>enable ;进入特权模式
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 ;返回命令
http://zhidao.baidu.com/question/49381876.html?fr=iks&word=%C7%F3%CB%BC%BF%C6%C2%B7%D3%C9%BD%BB%BB%BB%C5%E4%D6%C3%C3%FC%C1%EE%CA%D6%B2%E1%BB%AA%CE%AA%D2%B2%D0%D0++%B6%BC%B8%F8%D7%EE%BA%C3++1+6+1+0+4+9+3+3+2+4+qq%B5%C4%D3%CA%CF%E4&ie=gbk
百度文库有好多,自己找吧。