校园网.docx
- 文档编号:10654101
- 上传时间:2023-02-22
- 格式:DOCX
- 页数:16
- 大小:41.99KB
校园网.docx
《校园网.docx》由会员分享,可在线阅读,更多相关《校园网.docx(16页珍藏版)》请在冰豆网上搜索。
校园网
R0:
spanning-treemodepvst
interfaceFastEthernet0/0
ipaddress192.168.70.2255.255.255.0
interfaceFastEthernet0/1
ipaddress192.168.80.2255.255.255.0
routerospf1
log-adjacency-changes
network192.168.70.00.0.0.255area0
network192.168.80.00.0.0.255area0
!
ipclassless
linevty04
login
End
MultilayerSwitch0:
iprouting
spanning-treemodepvst
spanning-treevlan10,30,50priority24576
spanning-treevlan20,40,60priority28672
interfaceFastEthernet0/1
noswitchport
ipaddress192.168.70.1255.255.255.0
interfaceFastEthernet0/11
switchporttrunkencapsulationdot1q
switchportmodetrunk
interfaceFastEthernet0/12
switchporttrunkencapsulationdot1q
switchportmodetrunk
interfaceFastEthernet0/13
switchporttrunkencapsulationdot1q
switchportmodetrunk
interfaceFastEthernet0/14
switchporttrunkencapsulationdot1q
switchportmodetrunk
!
interfaceFastEthernet0/15
switchporttrunkencapsulationdot1q
switchportmodetrunk
!
interfaceFastEthernet0/16
switchporttrunkencapsulationdot1q
switchportmodetrunk
interfaceFastEthernet0/23
channel-group1modeon
switchporttrunkencapsulationdot1q
switchportmodetrunk
interfaceFastEthernet0/24
channel-group1modeon
switchporttrunkencapsulationdot1q
switchportmodetrunk
interfacePort-channel1
switchporttrunkencapsulationdot1q
switchportmodetrunk
interfaceVlan10
ipaddress192.168.10.253255.255.255.0
ipaccess-group12in
ipaccess-group101out
!
interfaceVlan20
ipaddress192.168.20.253255.255.255.0
ipaccess-group101out
!
interfaceVlan30
ipaddress192.168.30.253255.255.255.0
ipaccess-group101out
!
interfaceVlan40
ipaddress192.168.40.253255.255.255.0
ipaccess-group12in
ipaccess-group101out
!
interfaceVlan50
ipaddress192.168.50.253255.255.255.0
ipaccess-group101out
!
interfaceVlan60
ipaddress192.168.60.253255.255.255.0
ipaccess-group101out
!
routerospf1
log-adjacency-changes
network192.168.10.00.0.0.255area0
network192.168.20.00.0.0.255area0
network192.168.30.00.0.0.255area0
network192.168.40.00.0.0.255area0
network192.168.50.00.0.0.255area0
network192.168.60.00.0.0.255area0
network192.168.70.00.0.0.255area0
access-list10deny192.168.60.00.0.0.255
access-list10permitany
access-list11deny192.168.50.00.0.0.255
access-list11permitany
access-list101permiticmp192.168.20.00.0.0.255192.168.0.00.0.255.255echo
access-list101denyicmp192.168.0.00.0.255.255192.168.20.00.0.0.255echo
access-list101permiticmpanyany
access-list12permit192.168.0.00.0.255.255
linevty04
login
end
MultilayerSwitch1:
iprouting
spanning-treemodepvst
spanning-treevlan20,40,60priority24576
spanning-treevlan10,30,50priority28672
interfaceFastEthernet0/1
noswitchport
ipaddress192.168.80.1255.255.255.0
interfaceFastEthernet0/11
switchporttrunkencapsulationdot1q
switchportmodetrunk
!
interfaceFastEthernet0/12
switchporttrunkencapsulationdot1q
switchportmodetrunk
!
interfaceFastEthernet0/13
switchporttrunkencapsulationdot1q
switchportmodetrunk
!
interfaceFastEthernet0/14
switchporttrunkencapsulationdot1q
switchportmodetrunk
!
interfaceFastEthernet0/15
switchporttrunkencapsulationdot1q
switchportmodetrunk
!
interfaceFastEthernet0/16
switchporttrunkencapsulationdot1q
switchportmodetrunk
interfaceFastEthernet0/23
channel-group1modeon
switchporttrunkencapsulationdot1q
switchportmodetrunk
interfaceFastEthernet0/24
channel-group1modeon
switchporttrunkencapsulationdot1q
switchportmodetrunk
interfacePort-channel1
switchporttrunkencapsulationdot1q
switchportmodetrunk
interfaceVlan10
ipaddress192.168.10.254255.255.255.0
ipaccess-group12in
ipaccess-group101out
interfaceVlan20
ipaddress192.168.20.254255.255.255.0
ipaccess-group101out
interfaceVlan30
ipaddress192.168.30.254255.255.255.0
ipaccess-group101out
interfaceVlan40
ipaddress192.168.40.254255.255.255.0
ipaccess-group12in
ipaccess-group101out
interfaceVlan50
ipaddress192.168.50.254255.255.255.0
ipaccess-group101out
interfaceVlan60
ipaddress192.168.60.254255.255.255.0
ipaccess-group101out
routerospf1
log-adjacency-changes
network192.168.10.00.0.0.255area0
network192.168.20.00.0.0.255area0
network192.168.30.00.0.0.255area0
network192.168.40.00.0.0.255area0
network192.168.50.00.0.0.255area0
network192.168.60.00.0.0.255area0
network192.168.80.00.0.0.255area0
access-list10deny192.168.60.00.0.0.255
access-list10permitany
access-list11deny192.168.50.00.0.0.255
access-list11permitany
access-list101permiticmp192.168.20.00.0.0.255192.168.0.00.0.255.255echo
access-list101denyicmp192.168.0.00.0.255.255192.168.20.00.0.0.255echo
access-list101permiticmpanyany
access-list12permit192.168.0.00.0.255.255
linevty04
login
end
Switch0:
spanning-treemodepvst
interfaceFastEthernet0/1
switchportaccessvlan10
!
interfaceFastEthernet0/2
switchportaccessvlan10
!
interfaceFastEthernet0/3
switchportaccessvlan10
interfaceFastEthernet0/11
switchportmodetrunk
!
interfaceFastEthernet0/12
switchportmodetrunk
linevty04
login
linevty515
login
End
Switch1:
spanning-treemodepvst
interfaceFastEthernet0/1
switchportaccessvlan20
interfaceFastEthernet0/2
switchportaccessvlan20
!
interfaceFastEthernet0/3
switchportaccessvlan20
!
interfaceFastEthernet0/4
switchportaccessvlan20
!
interfaceFastEthernet0/5
switchportaccessvlan20
!
interfaceFastEthernet0/6
switchportaccessvlan20
!
interfaceFastEthernet0/7
switchportaccessvlan20
!
interfaceFastEthernet0/8
switchportaccessvlan20
!
interfaceFastEthernet0/9
switchportaccessvlan20
!
interfaceFastEthernet0/10
switchportaccessvlan20
interfaceFastEthernet0/12
switchportmodetrunk
interfaceFastEthernet0/13
switchportmodetrunk
linevty04
login
linevty515
login
end
Switch2:
spanning-treemodepvst
interfaceFastEthernet0/1
switchportaccessvlan30
interfaceFastEthernet0/2
switchportaccessvlan30
interfaceFastEthernet0/3
switchportaccessvlan30
interfaceFastEthernet0/4
switchportaccessvlan30
interfaceFastEthernet0/5
switchportaccessvlan30
interfaceFastEthernet0/6
switchportaccessvlan30
interfaceFastEthernet0/7
switchportaccessvlan30
interfaceFastEthernet0/8
switchportaccessvlan30
interfaceFastEthernet0/9
switchportaccessvlan30
interfaceFastEthernet0/10
switchportaccessvlan30
interfaceFastEthernet0/13
switchportmodetrunk
!
interfaceFastEthernet0/14
switchportmodetrunk
linevty04
login
linevty515
login
end
Switch3:
spanning-treemodepvst
!
interfaceFastEthernet0/1
switchportaccessvlan40
!
interfaceFastEthernet0/2
switchportaccessvlan40
!
interfaceFastEthernet0/3
switchportaccessvlan40
!
interfaceFastEthernet0/4
switchportaccessvlan40
!
interfaceFastEthernet0/5
switchportaccessvlan40
!
interfaceFastEthernet0/6
switchportaccessvlan40
!
interfaceFastEthernet0/7
switchportaccessvlan40
!
interfaceFastEthernet0/8
switchportaccessvlan40
!
interfaceFastEthernet0/9
switchportaccessvlan40
!
interfaceFastEthernet0/10
switchportaccessvlan40
interfaceFastEthernet0/14
switchportmodetrunk
interfaceFastEthernet0/15
switchportmodetrunk
linevty04
login
linevty515
login
end
Switch4:
spanning-treemodepvst
!
interfaceFastEthernet0/1
switchportaccessvlan50
!
interfaceFastEthernet0/2
switchportaccessvlan50
!
interfaceFastEthernet0/3
switchportaccessvlan50
!
interfaceFastEthernet0/4
switchportaccessvlan50
!
interfaceFastEthernet0/5
switchportaccessvlan50
!
interfaceFastEthernet0/6
switchportaccessvlan50
!
interfaceFastEthernet0/7
switchportaccessvlan50
!
interfaceFastEthernet0/8
switchportaccessvlan50
!
interfaceFastEthernet0/9
switchportaccessvlan50
!
interfaceFastEthernet0/10
switchportaccessvlan50
interfaceFastEthernet0/15
switchportmodetrunk
interfaceFastEthernet0/16
switchportmodetrunk
linecon0
linevty04
login
linevty515
login
End
Switch5:
spanning-treemodepvst
interfaceFastEthernet0/1
switchportaccessvlan60
interfaceFastEthernet0/2
switchportaccessvlan60
interfaceFastEthernet0/3
switchportaccessvlan60
interfaceFastEthernet0/4
switchportaccessvlan60
interfaceFastEthernet0/5
switchportaccessvlan60
interfaceFastEthernet0/6
switchportaccessvlan60
interfaceFastEthernet0/7
switchportaccessvlan60
interfaceFastEthernet0/8
switchportaccessvlan60
interfaceFastEthernet0/9
switchportaccessvlan60
interfaceFastEthernet0/10
switchportaccessvlan60
interfaceFastEthernet0/11
switchportmodetrunk
interfaceFastEthernet0/16
switchportmodetrunk
!
linecon0
linevty04
login
linevty515
login
end
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 校园网