




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、.企业三层架构配置实例作者:救世主220实验日期: 2015.6.15实验拓扑如下:ISP router3 配置:Router#show runBuilding configuration.hostname Router!interface Loopback0ip address !interface FastEthernet0/0ip address 0 duplex autospeed autorouter2 配置:;.Router#show runBuilding configuration.Curre
2、nt configuration : 979 bytes!version 12.4no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname Router!interface FastEthernet0/0ip address ip nat outsideduplex autospeed auto!interface FastEthernet0/1ip address 1
3、 ip nat insideduplex autospeed auto!interface FastEthernet1/0ip address ip nat insideduplex autospeed auto!router ospf 110router-id log-adjacency-changesnetwork 55 area 0default-information originate!ip nat inside source list 1 int
4、erface FastEthernet0/0 overload ip route 0!access-list 1 permit 55!Router1 配置:Router#show runBuilding configuration.;.Current configuration : 835 bytes!version 12.4no service timestamps log datetime msecno service timestamps debug datetime msecno service
5、password-encryption!hostname Router!interface FastEthernet0/0ip address duplex autospeed auto!interface FastEthernet0/1ip address duplex autospeed auto!interface FastEthernet1/0ip address duplex autospeed auto!router ospf 110router-id
6、 log-adjacency-changesnetwork 55 area 0!Router0 配置:Router#show runBuilding configuration.Current configuration : 757 bytes!version 12.4no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname Router;.!interface
7、 FastEthernet0/0ip address duplex autospeed auto!interface FastEthernet0/1ip address duplex autospeed auto!interface FastEthernet1/0ip address duplex autospeed auto!router ospf 110router-id log-adjacency-changesnetwork
8、 55 area 0switch0(左边)配置:Switch#show runBuilding configuration.Current configuration : 2507 bytes!version 12.2no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname Switch!ip dhcp excluded-address 9ip dhcp ex
9、cluded-address 9!ip dhcp pool vlan10network default-router 54dns-server ;.ip dhcp pool vlan20network default-router 54dns-server ip routing!spanning-tree mode pvstspanning-tree vlan 10 priority 24576spanning-t
10、ree vlan 20 priority 28672!interface Port-channel 1switchport trunk encapsulation dot1qswitchport mode trunk!interface FastEthernet0/1no switchportip address duplex autospeed auto!interface FastEthernet0/2switchport trunk allowed vlan 10,20switchport trunk encapsulation dot1qsw
11、itchport mode trunk!interface FastEthernet0/3switchport trunk allowed vlan 10,20switchport trunk encapsulation dot1qswitchport mode trunk!interface FastEthernet0/4channel-group 1 mode onswitchport trunk encapsulation dot1qswitchport mode trunk!interface FastEthernet0/5channel-group 1 mode onswitchpo
12、rt trunk encapsulation dot1qswitchport mode trunk!interface FastEthernet0/6no switchportip address ;.ip ospf cost 10duplex autospeed auto!interface Vlan10ip address standby version 2standby 1 ip 54standby 1 priority 110standby 1 preemptstandby 1 tr
13、ack FastEthernet0/6!interface Vlan20ip address standby version 2standby 1 ip 54standby 1 preempt!router ospf 110router-id log-adjacency-changesnetwork 55 area 0switch1( 右边 ):Switch#show runBuilding configuration.Current configuration : 2266 by
14、tes!version 12.2no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname Switch!ip dhcp excluded-address 54!ip routing!spanning-tree mode pvstspanning-tree vlan 20 priority 24576spanning-tree vlan 10 priority 28672!;.int
15、erface Port-channel 1switchport trunk encapsulation dot1qswitchport mode trunk!interface FastEthernet0/1no switchportip address ip ospf cost 10duplex autospeed auto!interface FastEthernet0/2channel-group 1 mode onswitchport trunk encapsulation dot1qswitchport mode trunk!interfa
16、ce FastEthernet0/3channel-group 1 mode onswitchport trunk encapsulation dot1qswitchport mode trunk!interface FastEthernet0/4switchport trunk allowed vlan 10,20switchport trunk encapsulation dot1qswitchport mode trunk!interface FastEthernet0/5switchport trunk allowed vlan 10,20switchport trunk encaps
17、ulation dot1qswitchport mode trunk!interface FastEthernet0/6no switchportip address duplex autospeed auto!interface Vlan10ip address standby version 2standby 1 ip 54standby 1 preempt!interface Vlan20;.ip address standby versio
18、n 2standby 1 ip 54standby 1 priority 110standby 1 preemptstandby 1 track FastEthernet0/1!router ospf 110router-id log-adjacency-changesnetwork 55 area 0二层 sw0(左边)配置:Switch#show runBuilding configuration.Current configuration : 1193 bytes!version 12.2no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname Switch!spanning-tree mode pvst!
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- DB31/ 539-2011中小学校及幼儿园教室照明设计规范
- DB31/ 1059-2017家具制造业大气污染物排放标准
- 装潢设计在化妆品试用装包装的便捷性考核试卷
- 涤纶纤维在农业纺织品中的应用考核试卷
- 自我领导力在团队管理中的应用研究试题及答案
- 2024年玻璃布增强塑料项目资金筹措计划书代可行性研究报告
- 计算机四级标准法规试题及答案
- 2024年油炸类制品资金申请报告代可行性研究报告
- 嵌入式系统中的人机交互试题及答案
- 高端装备制造企业股权转让费用及产业升级合作协议
- 2025年全国法制宣传日普法知识竞赛题库及答案(共200题)
- 消防安装工程重点难点分析及应对措施
- 医师人员管理制度内容
- GB/T 44951-2024防弹材料及产品V50试验方法
- 2024年公路水运工程试验检测师《桥梁隧道工程》考试题库大全(含真题)-上(单选题)
- 2025届内蒙古鄂尔多斯市康巴什区鄂尔多斯一中高考考前模拟数学试题含解析
- 宁夏银川市一中2025届高考数学押题试卷含解析
- 高考3500词汇表(完整版)
- 中国咳嗽基层诊疗与管理指南(2024年)解读
- 经营高危险性体育项目游泳申请表
- 风险管理师-国家职业技能标准(2022年版)
评论
0/150
提交评论