相比华为的配置,思科的分级更多,由于这是我以前在别的博客的帖子,当时没有上图,大家只好将就一下了...
Switch>
Switch>enable
Switch#configure terminal
Switch(config)#interface f0/1
Switch(config-if)#no switchport
Switch(config-if)#ip address 192.168.0.1 255.255.255.0
Switch(config-if)#no shutdown
Switch(config-if)#end
Switch#
这样就把3550的f0/1端口的IP地址配置成192.168.0.1了。【configure terminal 写成conf
t 也可以,简写方便但不利于入门的时候记忆 】
Switch>enable
Switch#configure terminal
Switch(config)#username test password 123qwe
Switch(config)#line vty 0 4
Switch(config)#login local
千万不要忘记配置login
local,很多配置后找我说无法登录的都是因为没有配置login local
作者:ssergsw 发表于2013-6-18 9:08:46 原文链接
阅读:54 评论:0 查看评论