企业三层架构配置实例_第1页
企业三层架构配置实例_第2页
企业三层架构配置实例_第3页
企业三层架构配置实例_第4页
企业三层架构配置实例_第5页
已阅读5页,还剩5页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论