欢迎来到天天文库
浏览记录
ID:19002595
大小:81.50 KB
页数:7页
时间:2018-09-25
《静态路由和虚拟局域网》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、三层交换机fa0/3端口与路由器fa0/0连接:Switch>enableSwitch#configtermEnterconfigurationcommands,oneperline.EndwithCNTL/Z.Switch(config)#interfacefastethernet0/3Switch(config-if)#noswitchportSwitch(config-if)#ipaddress10.0.0.1255.255.255.252Switch(config-if)#noshutdow
2、nSwitch(config-if)#exitSwitch(config)#exitSwitch#%SYS-5-CONFIG_I:ConfiguredfromconsolebyconsoleSwitch#showipinterfacebriefInterfaceIP-AddressOK?MethodStatusProtocolFastEthernet0/1unassignedYESunsetupupFastEthernet0/2unassignedYESunsetupupFastEthernet0/
3、310.0.0.1YESmanualdowndownFastEthernet0/4unassignedYESunsetdowndownFastEthernet0/5unassignedYESunsetupupFastEthernet0/6unassignedYESunsetdowndownFastEthernet0/7unassignedYESunsetdowndownFastEthernet0/8unassignedYESunsetdowndownFastEthernet0/9unassigned
4、YESunsetdowndownFastEthernet0/10unassignedYESunsetdowndownFastEthernet0/11unassignedYESunsetdowndownFastEthernet0/12unassignedYESunsetdowndownFastEthernet0/13unassignedYESunsetdowndownFastEthernet0/14unassignedYESunsetdowndownFastEthernet0/15unassigned
5、YESunsetdowndownFastEthernet0/16unassignedYESunsetdowndownFastEthernet0/17unassignedYESunsetdowndownFastEthernet0/18unassignedYESunsetdowndownFastEthernet0/19unassignedYESunsetdowndownFastEthernet0/20unassignedYESunsetdowndownFastEthernet0/21unassigned
6、YESunsetdowndownFastEthernet0/22unassignedYESunsetdowndownFastEthernet0/23unassignedYESunsetdowndownFastEthernet0/24unassignedYESunsetdowndownGigabitEthernet0/1unassignedYESunsetdowndownGigabitEthernet0/2unassignedYESunsetdowndownVlan1unassignedYESunse
7、tadministrativelydowndownVlan10192.168.1.1YESmanualupupVlan20192.168.2.1YESmanualupupSwitch#路由器的fa0/0和fa0/1端口地址设置:Router>enableRouter#configtermEnterconfigurationcommands,oneperline.EndwithCNTL/Z.Router(config)#interfacefastethernet0/0Router(config-if)
8、#ipaddress10.0.0.2255.255.255.252Router(config-if)#noshutdownRouter(config-if)#%LINK-5-CHANGED:InterfaceFastEthernet0/0,changedstatetoup%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/0,changedstatetoupRouter(config-if)#exitRou
此文档下载收益归作者所有