三层交换+路由+NAT+OSPF.docx_第1页
三层交换+路由+NAT+OSPF.docx_第2页
三层交换+路由+NAT+OSPF.docx_第3页
三层交换+路由+NAT+OSPF.docx_第4页
三层交换+路由+NAT+OSPF.docx_第5页
已阅读5页,还剩12页未读 继续免费阅读

下载本文档

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

文档简介

三层交换+路由+NAT+OSPF三层交换机1配置:WHGCDX1#show runBuilding configuration.Current configuration : 2514 bytes!version 12.2no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname WHGCDX1!enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0!ip dhcp excluded-address 10.4.1.1 10.4.1.100!ip dhcp pool V5 network 10.2.1.0 255.255.255.0 default-router 10.2.1.254 dns-server 10.1.1.1ip dhcp pool V45 network 10.4.1.0 255.255.255.0 default-router 10.7.1.1!no ip domain-lookup!spanning-tree vlan 1 priority 24576!interface FastEthernet0/1 switchport trunk encapsulation dot1q switchport mode trunk!interface FastEthernet0/2 switchport trunk encapsulation dot1q switchport mode trunk!interface FastEthernet0/3 switchport trunk encapsulation dot1q switchport mode trunk!interface FastEthernet0/4!interface FastEthernet0/5!interface FastEthernet0/6!interface FastEthernet0/7!interface FastEthernet0/8!interface FastEthernet0/9!interface FastEthernet0/10!interface FastEthernet0/11!interface FastEthernet0/12!interface FastEthernet0/13!interface FastEthernet0/14!interface FastEthernet0/15!interface FastEthernet0/16!interface FastEthernet0/17!interface FastEthernet0/18!interface FastEthernet0/19!interface FastEthernet0/20!interface FastEthernet0/21!interface FastEthernet0/22!interface FastEthernet0/23!interface FastEthernet0/24 switchport trunk encapsulation dot1q switchport mode trunk!interface GigabitEthernet0/1 no switchport ip address 192.168.1.2 255.255.255.0 duplex auto speed auto!interface GigabitEthernet0/2 switchport trunk encapsulation dot1q switchport mode trunk!interface Vlan1 no ip address shutdown!interface Vlan2 ip address 10.1.1.254 255.255.255.0!interface Vlan5 ip address 10.2.1.254 255.255.255.0!interface Vlan25 ip address 10.3.1.254 255.255.255.0!interface Vlan45 ip address 10.4.1.254 255.255.255.0!interface Vlan65 ip address 10.5.1.254 255.255.255.0!interface Vlan85 ip address 10.6.1.254 255.255.255.0!interface Vlan105 ip address 10.7.1.254 255.255.255.0!router ospf 100 log-adjacency-changes network 192.168.1.0 0.0.0.255 area 100 network 10.1.1.0 0.0.0.255 area 100 network 10.2.1.0 0.0.0.255 area 100 network 10.3.1.0 0.0.0.255 area 100 network 10.4.1.0 0.0.0.255 area 100 network 10.5.1.0 0.0.0.255 area 100 network 10.6.1.0 0.0.0.255 area 100 network 10.7.1.0 0.0.0.255 area 100!ip classless!line con 0line vty 0 4 exec-timeout 10 10 password cisco login!End三层交换机2配置:WHGCDX2#show runBuilding configuration.Current configuration : 1430 bytes!version 12.2no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname WHGCDX2!no ip domain-lookup!interface FastEthernet0/1 switchport trunk encapsulation dot1q switchport mode trunk!interface FastEthernet0/2 switchport trunk encapsulation dot1q switchport mode trunk!interface FastEthernet0/3 switchport trunk encapsulation dot1q switchport mode trunk!interface FastEthernet0/4 switchport trunk encapsulation dot1q switchport mode trunk!interface FastEthernet0/5!interface FastEthernet0/6!interface FastEthernet0/7!interface FastEthernet0/8!interface FastEthernet0/9!interface FastEthernet0/10!interface FastEthernet0/11!interface FastEthernet0/12!interface FastEthernet0/13!interface FastEthernet0/14!interface FastEthernet0/15!interface FastEthernet0/16!interface FastEthernet0/17!interface FastEthernet0/18!interface FastEthernet0/19!interface FastEthernet0/20!interface FastEthernet0/21!interface FastEthernet0/22!interface FastEthernet0/23!interface FastEthernet0/24 switchport trunk encapsulation dot1q switchport mode trunk!interface GigabitEthernet0/1 switchport trunk encapsulation dot1q switchport mode trunk!interface GigabitEthernet0/2!interface Vlan1 no ip address shutdown!ip classless!line con 0line vty 0 4 login!EndSW0配置:SW001#show runBuilding configuration.Current configuration : 1054 bytes!version 12.2no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname SW001!no ip domain-lookup!interface FastEthernet0/1!interface FastEthernet0/2!interface FastEthernet0/3!interface FastEthernet0/4!interface FastEthernet0/5!interface FastEthernet0/6!interface FastEthernet0/7!interface FastEthernet0/8!interface FastEthernet0/9!interface FastEthernet0/10!interface FastEthernet0/11!interface FastEthernet0/12!interface FastEthernet0/13!interface FastEthernet0/14!interface FastEthernet0/15!interface FastEthernet0/16!interface FastEthernet0/17!interface FastEthernet0/18!interface FastEthernet0/19!interface FastEthernet0/20!interface FastEthernet0/21!interface FastEthernet0/22!interface FastEthernet0/23!interface FastEthernet0/24!interface GigabitEthernet1/1!interface GigabitEthernet1/2 switchport access vlan 2!interface Vlan1 no ip address shutdown!line con 0!line vty 0 4 loginline vty 5 15 login!EndSW1配置:SW002#show runBuilding configuration.Current configuration : 1265 bytes!version 12.2no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname SW002!vtp domain ciscovtp mode transparentvtp password ciscovtp version 2!vlan 2 name V2!vlan 5 name V5!vlan 25 name V25!vlan 45 name V45!vlan 65 name V65!vlan 85 name V85!vlan 105 name V105!interface FastEthernet0/1!interface FastEthernet0/2!interface FastEthernet0/3!interface FastEthernet0/4!interface FastEthernet0/5!interface FastEthernet0/6!interface FastEthernet0/7!interface FastEthernet0/8!interface FastEthernet0/9!interface FastEthernet0/10!interface FastEthernet0/11!interface FastEthernet0/12!interface FastEthernet0/13!interface FastEthernet0/14!interface FastEthernet0/15!interface FastEthernet0/16!interface FastEthernet0/17!interface FastEthernet0/18!interface FastEthernet0/19!interface FastEthernet0/20!interface FastEthernet0/21!interface FastEthernet0/22!interface FastEthernet0/23!interface FastEthernet0/24!interface GigabitEthernet1/1 switchport mode trunk!interface GigabitEthernet1/2 switchport mode trunk!interface Vlan1 no ip address shutdown!line con 0!line vty 0 4 loginline vty 5 15 login!endSW3配置:SW00201#show ruBuilding configuration.Current configuration : 1059 bytes!version 12.1no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname SW00201!interface FastEthernet0/1!interface FastEthernet0/2!interface FastEthernet0/3!interface FastEthernet0/4!interface FastEthernet0/5!interface FastEthernet0/6!interface FastEthernet0/7!interface FastEthernet0/8!interface FastEthernet0/9!interface FastEthernet0/10!interface FastEthernet0/11!interface FastEthernet0/12!interface FastEthernet0/13!interface FastEthernet0/14!interface FastEthernet0/15!interface FastEthernet0/16!interface FastEthernet0/17!interface FastEthernet0/18!interface FastEthernet0/19!interface FastEthernet0/20!interface FastEthernet0/21!interface FastEthernet0/22!interface FastEthernet0/23!interface FastEthernet0/24!interface GigabitEthernet1/1 switchport mode trunk!interface GigabitEthernet1/2 switchport access vlan 5!interface Vlan1 no ip address shutdown!line con 0!line vty 0 4 loginline vty 5 15 login!EndRoute1配置:ISP1#show runBuilding configuration.Current configuration : 750 bytes!version 12.4no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname ISP1!interface FastEthernet0/0 ip address 192.168.4.2 255.255.255.0 duplex auto speed auto!interface FastEthernet0/1 no ip address duplex auto speed auto shutdown!interface Serial1/0 ip address 192.168.3.1 255.255.255.0!interfa

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论