预览加载中,请您耐心等待几秒...
1/9
2/9
3/9
4/9
5/9
6/9
7/9
8/9
9/9

在线预览结束,喜欢就下载吧,查找使用更方便

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

如何配置Cisco交换机的IP地址如何配置Cisco交换机的IP地址的方法1.计算机命令:PCAlogin:root使用;root用户password:linux口令是;linux#shutdown-hnow同;init0关机#logout#login#ifconfig显示;IP地址#ifconfigeth0netmask设置;IP地址#ifconfigeht0netmaskdown删除;IP地址#routeadd0.0.0.0gw#routedel0.0.0.0gw#routeadddefault设置网关gw;#routedeldefault删除网关gw;#route显示网关;#ping#telnet2.交换机支持的命令:交换机基本状态:switch:交换机的;ROM状态rommon路由器的ROM状态hostname用户模式hostname#特权模式;hostname(config)#全局配置模式;hostname(config-if)#接口状态;交换机口令设置:switchenable进入特权模式;switch#configterminal进入全局配置模式;switch(config)#hostname设置交换机的主机名;switch(config)#enablesecret设置特权加密口令xxx;switch(config)#enablepassword设置特权非密口令xxa;switch(config)#lineconsole进入控制台口0;switch(config-line)#linevty进入虚拟终端04;switch(config-line)#login允许登录;switch(config-line)#password设置登录口令xx;xxswitch#exit返回命令;交换机VLAN设置:switch#vlandatabase进入;VLAN设置switch(vlan)#vlan建2VLAN;2switch(vlan)#novlan删2vlan;2switch(config)#intf0/1进入端口;1switch(config-if)#switchportaccess当前端口加入vlan2;vlan2switch(config-if)#switchportmode设置为干线trunk;switch(config-if)#switchporttrunkallowedvlan1,2;设置允许的vlanswitch(config-if)#switchporttrunkencap设置dot1qvlan;中继switch(config)#vtpdomain设置发;vtp域名switch(config)#vtppassword设置发;vtp密码switch(config)#vtpmodeserver设置发;vtp模式switch(config)#vtpmodeclient设置发;vtp模式交换机设置IP地址:switch(config)#interfacevlan进入1vlan;1switch(config-if)#ipaddress设置IP;地址switch(config)#ipdefault-gateway设置默认网关;switch(config)#noshutdownswitch#dirflash:查看闪存;交换机显示命令:switch#write保存配置信息;switch#showvtp查看;vtp配置信息switch#showrun查看当前配置信息;switch#showvlan查看;vlan配置信息switch#showinterface查看端口信息;switch#showintf0/0查看指定端口信息;3.路由器支持的命令:路由器显示命令:router#showrun显示配置信息;router#showinterface显示接口信息;router#showiproute显示路由信息;router#showcdpnei显示邻居信息;router#reload重新起动;路由器口令设置:routerenable进入特权模式;router#configterminal进入全局配置模式;router(config)#hostname设置交换机的主机名;router(config)#enablesecret设置特权加密口令xxx;router(config)#enablepassword设置特权非密口令xxb;router(config)#lineconsole进入控制台口0;router(config-line)#linevty进入虚拟终端04;router(config-line)#login要求口令验证;router(config-line)#password设置登录口令xx;xxrouter(config)#(