[原创]大型网络项目CISCO路由器交换机配置详细文档实验结果及分析见结尾处实验拓朴图如下:接入层交换机B1-F2-S1配置文档如下:enableconfigureterminalhostnameb1-f2-s1linevty015passwordhebin1loginexitlineconsole0passwordhebin2loginexitenablepasswordhebin3enablesecrethebin4interfacevlan1ipaddress10.16.34.3255.255.255.0noshutdownexitipdefault-gateway10.16.34.254vtpdomainben-c1vtpversion2vtppruningvtppasswordcisco-vtpinterfacerangefastethernet0/1-2switchportmodetrunknoshutdownexitspanning-treeuplinkfastinterfacef0/11switchportmodeaccessspanning-treeportfastendvlandatabasevlan9nameb1-hlvlan12nameb1-f2vlan13nameb1-f3vlan14nameb1-f4vlan15nameb1-f5vlan16nameb1-f6vlan17nameb1-f7exitconfterminalinterfacef0/12switchportmodeaccessswitchportaccessvlan12noshutdownexitinterfacef0/13switchportmodeaccessswitchportaccessvlan13noshutdownexitinterfacef0/14switchportmodeaccessswitchportaccessvlan14noshutdownexitinterfacef0/15switchportmodeaccessswitchportaccessvlan15noshutdownexitinterfacef0/16switchportmodeaccessswitchportaccessvlan16noshutdownexitinterfacef0/17switchportmodeaccessswitchportaccessvlan17noshutdownendconftvtpdomainhebinvtpdomainben-c1vtpmodeclIEntend汇聚层交换机B1-D-S1配置文档如下:enableconfigureterminalhostnameb1-d-s1linevty015passwordhebin1loginexitlineconsole0passwordhebin5loginexitenablepasswordhebin2enablesecrethebin3endconfigureterminalinterfacevlan1ipaddress10.16.34.1255.255.255.0noshutdownexitipdefault-gateway10.16.34.254interfacerangefastethernet0/1-2switchportmodetrunknoshutdownexitinterfacerangefastethernet0/23-24switchportmodetrunkchannel-group1modeonnoshutdownexitinterfacef0/11switchportmodeaccessspanning-treeportfastnoshutdownendconftspanning-treevlan1spanning-treevlan1rootprimaryspanning-treevlan9spanning-treevlan9rootprimaryspanning-treevlan12spanning-treevlan12rootsecondaryspanning-treevlan13spanning-treevlan13rootsecondaryspanning-treevlan14spanning-treevlan14rootsecondaryspanning-treevlan15spanning-treevlan15rootsecondaryspanning-treevlan16spanning-treevlan16rootsecondaryspanning-treevlan17spanning-treevlan17rootsecondaryvtpdomainben-c1vtpmodeservervtpversion2vtppruningvtppasswordcisco-vtpendconftinterfacerangefastethernet0/3-10shutdownexitinterfacerangefastethernet0/12-22shutdownend汇聚层交换机B1-D-S2配置技术文档下:enableconfigureterminalhostnameb1-d-s2linevty015passwordhebin1loginexitlineconsole0passwordhebin5loginexitenablepasswordhebin2enablesecrethebin3endconfigureterminalinterfacevlan1ipaddress10.16.34.2255.255.255.0noshutdownexitipdefault-gateway10.16.34.254interfacerangefastethernet0/1-2switchportmodetrunknoshutdownexitinterfacerangefastethernet0/23-24switchportmodetrunkchannel-group1modeonnoshutdownexitinterfacef0/11switchportmodeaccessspanning-treeportfastnoshutdownendconftspanning-treevlan1spanning-treevlan1rootsecondaryspanning-treevlan9spanning-treevlan9rootsecondaryspanning-treevlan12spanning-treevlan12rootprimaryspanning-treevlan13spanning-treevlan13rootprimaryspanning-treevlan14spanning-treevlan14rootprimaryspanning-treevlan15spanning-treevlan15rootprimaryspanning-treevlan16spanning-treevlan16rootprimaryspanning-treevlan17spanning-treevlan17rootprimaryvtpdomainben-c1vtpmodeservervtpversion2vtppruningvtppasswordcisco-vtpendconftinterfacerangefastethernet0/3-10shutdownexitinterfacerangefastethernet0/12-22shutdownend路由器B1-D-S1-R配置文档如下:enableconfterminalhostnameb1-d-s1-rlinevty04passwordciscoaloginexitlineconsole0passwordciscobloginendconfterminalinterfaceloopback0ipaddress10.16.35.1255.255.255.255noshutdownexitinterfaceethernet1/0ipaddress10.16.65.1255.255.255.224noshutdownexitinterfacefastethernet0/0ipaddress10.16.34.252255.255.255.0noshutdownexitinterfacefastethernet0/0.9ipaddress10.16.65.249255.255.255.248encapsulationdot1q9noshutdownexitinterfacefastethernet0/0.12ipaddress10.16.98.252255.255.255.0encapsulationdot1q12noshutdownexitinterfacefastethernet0/0.13ipaddress10.16.99.252255.255.255.0encapsulationdot1q13noshutdownexitinterfacefastethernet0/0.14ipaddress10.16.100.252255.255.255.0encapsulationdot1q14noshutdownexitinterfacefastethernet0/0.15ipaddress10.16.101.252255.255.255.0encapsulationdot1q15noshutdownexitinterfacefastethernet0/0.16ipaddress10.16.102.252255.255.255.0encapsulationdot1q16noshutdownexitinterfacefastethernet0/0.17ipaddress10.16.103.252255.255.255.0encapsulationdot1q17noshutdownendconftinterfacefastethernet0/0noipredirectsstandby1ip10.16.34.254standby1priority150standby1preemptstandby1trackethernet1/0100exitinterfacefastethernet0/0.12noipredirectsstandby12ip10.16.98.254standby12priority120exitinterfacefastethernet0/0.13noipredirectsstandby13ip10.16.99.254standby13priority120exitinterfacefastethernet0/0.14noipredirectsstandby14ip10.16.100.254standby14priority120exitinterfacefastethernet0/0.15noipredirectsstandby15ip10.16.101.254standby15priority120exitinterfacefastethernet0/0.16noipredirectsstandby16ip10.16.102.254standby16priority120exitinterfacefastethernet0/0.17noipredirectsstandby17ip10.16.103.254standby17priority120endconftlineaux0passwordhebinloginendconftinterfaceethernet1/1ipaddress10.16.65.33255.255.255.224noshutdownendconfterminalrou