企业三层架构配置实例

上传人:M****1 文档编号:431213036 上传时间:2024-02-08 格式:DOC 页数:10 大小:114KB
返回 下载 相关 举报
企业三层架构配置实例_第1页
第1页 / 共10页
企业三层架构配置实例_第2页
第2页 / 共10页
企业三层架构配置实例_第3页
第3页 / 共10页
企业三层架构配置实例_第4页
第4页 / 共10页
企业三层架构配置实例_第5页
第5页 / 共10页
点击查看更多>>
资源描述

《企业三层架构配置实例》由会员分享,可在线阅读,更多相关《企业三层架构配置实例(10页珍藏版)》请在金锄头文库上搜索。

1、企业三层架构配置实例作者:救世主220实验日期:2015。6.15实验拓扑如下:ISP router3配置:Router#show runBuilding configuration.。hostname Router!interface Loopback0 ip address 1。1。1.1 255。255。255。0!interface FastEthernet0/0 ip address 100.1.1。10 255.255.255。0 duplex auto speed autorouter2配置:Routershow runBuilding configuration.。Curren

2、t configuration : 979 bytes!version 12。4no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname Router!interface FastEthernet0/0 ip address 100。1.1.1 255。255。255。0 ip nat outside duplex auto speed auto!interface FastEthernet0/1 ip addre

3、ss 10.0.1。1 255.255.255。0 ip nat inside duplex auto speed auto!interface FastEthernet1/0 ip address 10。0.2。1 255。255。255.0 ip nat inside duplex auto speed auto!router ospf 110 router-id 1。1。1。1 log-adjacencychanges network 10。0。0.0 0.255.255.255 area 0 default-information originate!ip nat inside sou

4、rce list 1 interface FastEthernet0/0 overloadip route 0.0。0。0 0。0。0。0 100。1。1.10 !access-list 1 permit 10.0.0。0 0.255。255。255!Router1配置:Routershow runBuilding configuration.。Current configuration : 835 bytes!version 12。4no service timestamps log datetime msecno service timestamps debug datetime msec

5、no service passwordencryption!hostname Router!interface FastEthernet0/0 ip address 10.0.2。2 255。255。255。0 duplex auto speed auto!interface FastEthernet0/1 ip address 10.0。6.2 255.255.255。0 duplex auto speed auto!interface FastEthernet1/0 ip address 10。0。4.2 255。255。255。0 duplex auto speed auto!route

6、r ospf 110 routerid 3.3.3.3 logadjacency-changes network 10.0。0。0 0.255。255.255 area 0!Router0配置:Routershow runBuilding configuration.Current configuration : 757 bytes!version 12。4no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname

7、Router!interface FastEthernet0/0 ip address 10。0。1。2 255.255。255。0 duplex auto speed auto!interface FastEthernet0/1 ip address 10。0。3。2 255。255。255.0 duplex auto speed auto!interface FastEthernet1/0 ip address 10.0。5。2 255。255。255.0 duplex auto speed auto!router ospf 110 router-id 2。2。2.2 log-adjace

8、ncy-changes network 10.0.0.0 0。255.255.255 area 0switch0(左边)配置:Switchshow 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-addre

9、ss 10。0.7.1 10.0。7.99ip dhcp excludedaddress 10。0.8.1 10.0。8.99!ip dhcp pool vlan10 network 10。0。7.0 255。255.255.0 default-router 10。0.7。254 dnsserver 8。8。8。8ip dhcp pool vlan20 network 10。0。8.0 255。255.255.0 default-router 10。0.8.254 dnsserver 8.8.8。8ip routing!!spanningtree mode pvstspanning-tree

10、vlan 10 priority 24576spanning-tree vlan 20 priority 28672!interface Port-channel 1 switchport trunk encapsulation dot1q switchport mode trunk!interface FastEthernet0/1 no switchport ip address 10。0.3.3 255。255。255.0 duplex auto speed auto!interface FastEthernet0/2 switchport trunk allowed vlan 10,2

11、0 switchport trunk encapsulation dot1q switchport mode trunk!interface FastEthernet0/3 switchport trunk allowed vlan 10,20 switchport trunk encapsulation dot1q switchport mode trunk!interface FastEthernet0/4 channel-group 1 mode on switchport trunk encapsulation dot1q switchport mode trunk!interface

12、 FastEthernet0/5 channelgroup 1 mode on switchport trunk encapsulation dot1q switchport mode trunk!interface FastEthernet0/6 no switchport ip address 10.0.4。3 255.255.255。0 ip ospf cost 10 duplex auto speed auto!interface Vlan10 ip address 10。0.7.1 255。255。255。0 standby version 2 standby 1 ip 10.0。7

13、.254 standby 1 priority 110 standby 1 preempt standby 1 track FastEthernet0/6!interface Vlan20 ip address 10。0.8。1 255.255.255。0 standby version 2 standby 1 ip 10.0.8。254 standby 1 preempt!router ospf 110 router-id 4。4.4.4 logadjacency-changes network 10.0。0.0 0.255。255。255 area 0switch1(右边):Switch#

14、show runBuilding configuration.。Current configuration : 2266 bytes!version 12。2no service timestamps log datetime msecno service timestamps debug datetime msecno service passwordencryption!hostname Switch!ip dhcp excludedaddress 10。0.8。1 10。0。8.254!ip routing!spanning-tree mode pvstspanning-tree vlan 20 priority 24576spanningtree vlan 10 priority 28672!interface Port-channel 1 switchport trunk encapsulation dot1q switchport mode trunk!interface FastEthernet0/1 no switchport ip address 10.0。6.3 255.255.255.0 ip ospf cost 10 duplex auto speed auto!interface FastEthern

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 办公文档 > 解决方案

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号