2010-2011年第一学期《路由交换技术》考试文档一、网络拓扑(10分)二、路由器R2811-1配置(19分)r2811-1#showrunning-configBuildingconfiguration...Currentconfiguration:1006bytes!version12.4noservicetimestampslogdatetimemsecnoservicetimestampsdebugdatetimemsecnoservicepassword-encryption!hostnamer2811-1(0.5分)!!!!!!!!!!!!noipdomain-lookup!!!!!!interfaceFastEthernet0/0ipaddress192.168.60.1255.255.255.0(0.5分)ipnatinside(1分)duplexautospeedauto!interfaceFastEthernet0/1noipaddressduplexautospeedautoshutdown!interfaceSerial0/0/0ipaddress192.168.70.1255.255.255.0(0.5分)ipnatinside(1分)clockrate64000!interfaceSerial0/0/1ipaddress88.1.1.1255.255.255.240(0.5分)ipnatoutside(1分)clockrate64000!interfaceVlan1noipaddressshutdown!routerospf1(2分)log-adjacency-changesnetwork192.168.60.00.0.0.255area0(1分)network192.168.70.00.0.0.255area0(1分)!ipnatinsidesourcelist1interfaceSerial0/0/1overload(2分)ipnatinsidesourcestatic192.168.50.888.1.1.3(2分)ipclasslessiproute0.0.0.00.0.0.088.1.1.2(2分)!!access-list1permit192.168.10.00.0.0.255(2分)access-list1permit192.168.30.00.0.0.255(2分)!!!!!linecon0linevty04login!!!end三、路由器R2811-2配置(17分)r2811-2#showrunning-configBuildingconfiguration...Currentconfiguration:1095bytes!version12.4noservicetimestampslogdatetimemsecnoservicetimestampsdebugdatetimemsecnoservicepassword-encryption!hostnamer2811-2(0.5分)!!!!!!!!!!!!noipdomain-lookup!!!!!!interfaceFastEthernet0/0noipaddressduplexautospeedauto!interfaceFastEthernet0/0.1encapsulationdot1Q30(1分)ipaddress192.168.30.1255.255.255.0(0.5分)!interfaceFastEthernet0/0.2encapsulationdot1Q40(1分)ipaddress192.168.40.1255.255.255.0(0.5分)ipaccess-group102in(2分)!interfaceFastEthernet0/1noipaddressduplexautospeedautoshutdown!interfaceSerial0/0/0ipaddress192.168.70.2255.255.255.0(0.5分)!interfaceSerial0/0/1noipaddressshutdown!interfaceVlan1noipaddressshutdown!routerospf1(2分)log-adjacency-changesnetwork192.168.70.00.0.0.255area0(2分)network192.168.30.00.0.0.255area0(2分)network192.168.40.00.0.0.255area0(1分)!!ipclassless!!access-list102denyip192.168.40.00.0.0.255192.168.10.00.0.0.255(2分)access-list102permitipanyany(2分)!!!!!linecon0linevty04login!!!end四、路由器ISP配置(1分)ISP#showrunning-configBuildingconfiguration...Currentconfiguration:557bytes!version12.4noservicetimestampslogdatetimemsecnoservicetimestampsdebugdatetimemsecnoservicepassword-encryption!hostnameISP(0.5分)!!!!!!!!!!!!!!!!!!interfaceFastEthernet0/0noipaddressduplexautospeedautoshutdown!interfaceFastEthernet0/1noipaddressduplexautospeedautoshutdown!interfaceSerial0/0/0ipaddress88.1.1.2255.255.255.240(0.5分)!interfaceSerial0/0/1noipaddressshutdown!interfaceVlan1noipaddressshutdown!ipclassless!!!!!!!linecon0linevty04login!!!end五、交换机SW3560-1配置(27分)sw3560-1#showrunning-configBuildingconfiguration...Currentconfiguration:1967bytes!version12.2noservicetimestampslogdatetimemsecnoservicetimestampsdebugdatetimemsecnoservicepassword-encryption!hostnamesw3560-1(0.5分)!!!!!!!!!!!!noipdomain-lookup!!!!!!interfaceFastEthernet0/1noswitchport(1分)ipaddress192.168.60.2255.255.255.0(0.5分)duplexautospeedauto!interfaceFastEthernet0/2!interfaceFastEthernet0/3!interfaceFastEthernet0/4!interfaceFastEthernet0/5!interfaceFastEthernet0/6!interfaceFastEthernet0/7!interfaceFastEthernet0/8(以下合计2分)switchportaccessvlan50!interfaceFastEthernet0/9switchportaccessvlan50!interfaceFastEthernet0/10switchportaccessvlan50!interfaceFastEthernet0/11switchportaccessvlan50!interfaceFastEthernet0/12switchportaccessvlan50!interfaceFastEthernet0/13!interfaceFastEthernet0/14!interfaceFastEthernet0/15!interfaceFastEthernet0/16!interfaceFastEthernet0/17!interfaceFastEthernet0/18!interfaceFastEthernet0/19!interfaceFastEthernet0/20!interfaceFastEthernet0/21!interfaceFastEthernet0/22!interfaceFastEthernet0/23channel-group1modeon(2分)switchporttrunkencapsulationdot1qswitchportmodetrunk(1分)!interfaceFastEthernet0/24channel-group1modeon(2分)switchporttrunkencapsulationdot1qswitchportmodetrunk(1分)!interfaceGigabitEthernet0/1!interfaceGigabitEthernet0/2!interfacePort-channel1switchporttrunkencapsulationdot1qswitchportmodetrunk!interfaceVlan1noipaddressshutdown!interfaceVlan10ipaddress192.168.10.1255.255.255.0(1分)ipaccess-group101in(2分)!interfaceVlan20ipaddress192.168.20.1255.255.255.0(1分)!interfaceVlan50ipaddress192.168.50.1255.255.255.0(1分)!routerospf1(2分)log-adjacency-changesnetwork192.168.10.00.0.0.255area0(1分)network192.168.20.00.0.0.255area0(1分)network192.168.50.00.0.0.255area0(1分)network192.168.60.00.0.0.255area0(1分)!ipclassless!!access-list101denyip192.168.10.00.0.0.255192.168.40.00.0.0.255(2分)access-list101permitipanyany(2分)!!!!!linecon0linevty04login!!!endsw3560-1#showvtpstatusVTPVersion:2ConfigurationRevision:15MaximumVLANssupportedlocally:1005NumberofexistingVLANs:8VTPOperatingMode:Server(1分)VTPDomainName:mydomain(1分)VTPPruningMode:DisabledVTPV2Mode:DisabledVTPTrapsGeneration:DisabledMD5digest:0x050x970xC20x4D0xA30xB10x060xD3Configurationlastmodifiedby192.168.10.1at3-1-9300:00:00LocalupdaterIDis192.168.10.1oninterfaceVl10(lowestnumberedVLANinterfacefound)六、交换机SW2960-1配置(16.5分)sw2950-1#showrunning-configBuildingconfig