版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 日照市五莲县教体系统招聘专业教师考试真题2025
- 2026年小学二年级语文第二学期期末考试卷及答案(十八)
- 淀粉样变性心肌病精准诊疗
- 儿童噁唑烷酮类抗生素临床应用专家共识2026
- 三类人员继续教育培训班考试试卷
- 护理核心制度知识竞赛试题附答案(单选及多选)
- 2026毕业生c 面试题及答案
- 2026北影摄影面试题及答案
- 2025年中国琴式熨烫工作台市场调查研究报告
- 2025年中国牙科连锁管理系统市场调查研究报告
- 井冈山大学《经济地理学》2025-2026学年期末试卷
- 2026江苏苏州市健康养老产业发展集团有限公司下属子公司招聘15人(第二批)笔试参考试题及答案解析
- 2026贵州黔西南技师学院公开招聘事业单位工作人员14人考试备考试题及答案解析
- 心脏介入护理新进展与分享
- MOOC 跨文化交际通识通论-扬州大学 中国大学慕课答案
- (正式版)SHT 3078-2024 立式圆筒形料仓工程设计规范
- GB/T 23510-2009车用燃料甲醇
- 基层管理者的执行力培训课程
- 中等职业学校班主任能力比赛汽车运用与维修专业班级建设方案
- 静脉输液(教学)课件
- 山西恒泰佳源生物科技有限公司新建年产15万吨乙酸钠项目环评报告书
评论
0/150
提交评论