Cisco 中小企业网络结构设计案例Word格式文档下载.docx
《Cisco 中小企业网络结构设计案例Word格式文档下载.docx》由会员分享,可在线阅读,更多相关《Cisco 中小企业网络结构设计案例Word格式文档下载.docx(16页珍藏版)》请在冰豆网上搜索。
只是不适合复杂的网络和发展。
单臂路由的应用以后再起文讨论。
接ISP的可以是电口也可以是串口,本例以串口为例。
不同的二层支持的封装方式不同,我这里使用dot11,可以兼容华为的产品。
在二层配置中也列出了SNMP的配置(其实是我原有的配置中就有,懒得删),可供参考,三层中配置方式基本上一样。
因上传仓促配置出了些错误,在此谢谢“lu_ning78”的提醒。
本文旨在抛砖引玉,
以下内容需要回复才能看到
配置文件如下:
一、路由器配置ROUTER1
Router1#showrun
Buildingconfiguration...
Currentconfiguration:
989bytes
!
version12.4
servicetimestampsdebugdatetimemsec
servicetimestampslogdatetimemsec
noservicepassword-encryption
hostnamerouter2
boot-start-marker
boot-end-marker
noaaanew-model
memory-sizeiomem5
ipcef
interfaceFastEthernet0/0
ipaddress192.168.0.1255.255.255.0
ipnatinside
ipvirtual-reassembly
speed100
full-duplex
interfaceSerial1/0
ipaddress172.16.0.1255.255.255.0
ipnatoutside
serialrestart-delay0
interfaceSerial1/1
noipaddress
shutdown
interfaceSerial1/2
interfaceSerial1/3
iphttpserver
iproute192.168.0.0255.255.0.0192.168.0.2
ipnatinsidesourcelist101interfaceSerial1/0overload
access-list101permitip192.168.0.00.0.255.255any
control-plane
linecon0
lineaux0
linevty04
End
二、三层交换机SW1
sw1#showrun
1284bytes
hostnamesw1
interfaceFastEthernet1/0
interfaceFastEthernet1/1
noswitchport
ipaddress192.168.0.2255.255.255.0
interfaceFastEthernet1/2
interfaceFastEthernet1/3
descto_sw2
duplexfull
switchportmodetrunk
switchporttrunkallowedvlan10
interfaceFastEthernet1/4
descto_sw3
switchporttrunkallowedvlan20
interfaceFastEthernet1/5
interfaceFastEthernet1/6
interfaceFastEthernet1/7
interfaceFastEthernet1/8
interfaceFastEthernet1/9
interfaceFastEthernet1/10
interfaceFastEthernet1/11
interfaceFastEthernet1/12
interfaceFastEthernet1/13
interfaceFastEthernet1/14
interfaceFastEthernet1/15
interfaceVlan1
interfaceVlan10
ipaddress192.168.10.1255.255.255.0
ipaccess-group101in
interfaceVlan20
ipaddress192.168.20.1255.255.255.0
noiphttpserver
iproute0.0.0.00.0.0.0192.168.0.1
access-list101denyip192.168.10.00.0.0.255192.168.20.00.0.0.255
access-list101permitipanyany
三、二层交换机SW2
SW2#showrun
Currentconfiguration:
version12.0
noservicepad
servicetimestampsdebuguptime
servicetimestampsloguptime
servicepassword-encryption
hostnamesw2
enablesecret5$1$VNwo$L6oFFQa3
enablepassword7130D02131C09
interfaceFastEthernet0/1
switchportaccessvlan10
interfaceFastEthernet0/2
interfaceFastEthernet0/3
interfaceFastEthernet0/4
interfaceFastEthernet0/5
interfaceFastEthernet0/6
interfaceFastEthernet0/7
interfaceFastEthernet0/8
interfaceFastEthernet0/9
interfaceFastEthernet0/10
interfaceFastEthernet0/11
interfaceFastEthernet0/12
interfaceFastEthernet0/13
interfaceFastEthernet0/14
interfaceFastEthernet0/15
interfaceFastEthernet0/16
interfaceFastEthernet0/17
interfaceFastEthernet0/18
interfaceFastEthernet0/19
interfaceFastEthernet0/20
interfaceFastEthernet0/21
interfaceFastEthernet0/22
interfaceFastEthernet0/23
interfaceFastEthernet0/24
descto-sw1
switchporttrunkencapsulationdot1q
interfaceVLAN1
noipdirected-broadcast
noiproute-cache
interfaceVLAN10
ipaddress192.168.10.10255.255.255.0
ipdefault-gateway192.168.10.1
snmp-serverengineIDlocal000000090200000142B1E200
snmp-servercommunityprivateRW
snmp-servercommunitypublicRO
snmp-serverchassis-id0x0E
password703174C0605417
transportinputnone
stopbits1
login
linevty514
password703174C06054171
linevty15
password7141F070A1B01
end
四、二层交换机SW3
SW3#showrun
hostnamesw3
switchportaccessvlan20
interfaceVLAN20
ipaddress192.168.20.10255.255.255.0
ipdefault-gateway192.168.20.1