高级交换路由课程设计(2)

2020-02-20 22:49

四、主要配置

1.配置R1:

interface Loopback1

ip address 1.1.1.1 255.255.255.255 interface Serial1/0

ip address 192.168.12.1 255.255.255.0 encapsulation ppp

serial restart-delay 0

interface GigabitEthernet2/0

ip address 192.168.14.1 255.255.255.0 negotiation auto

interface GigabitEthernet3/0

ip address 192.168.15.1 255.255.255.0 negotiation auto

router eigrp 1

redistribute ospf 1 metric 1000 100 255 1 1500 network 192.168.14.0 network 192.168.15.0 no auto-summary router ospf 1 router-id 1.1.1.1

log-adjacency-changes

redistribute eigrp 1 subnets network 1.1.1.1 0.0.0.0 area 0

network 192.168.12.0 0.0.0.255 area 0

2.配置R2:

interface Loopback1

ip address 2.2.2.2 255.255.255.0

interface Tunnel1

ip address 10.10.10.1 255.255.255.0 tunnel source Serial1/1

tunnel destination 123.123.123.3

interface Serial1/0

ip address 192.168.12.2 255.255.255.0 encapsulation ppp

serial restart-delay 0

!

interface Serial1/1

ip address 123.123.123.2 255.255.255.0 encapsulation frame-relay serial restart-delay 0

frame-relay interface-dlci 102

router ospf 1 router-id 2.2.2.2 log-adjacency-changes

network 2.2.2.0 0.0.0.255 area 0 network 192.168.12.0 0.0.0.255 area 0 !

router bgp 100

no synchronization

bgp router-id 2.2.2.2 bgp log-neighbor-changes

network 2.2.2.0 mask 255.255.255.0 neighbor 123.123.123.3 remote-as 200

neighbor 123.123.123.3 filter-list 1 out neighbor 123.123.123.11 remote-as 300

neighbor 123.123.123.11 filter-list 1 out no auto-summary !

ip forward-protocol nd

ip as-path access-list 1 permit ^$

ip nat inside source list 1 interface Serial1/1 overload !

access-list 1 permit 192.168.0.0 0.0.255.255

3.配置R3:

interface Loopback1

ip address 3.3.3.3 255.255.255.0 !

interface Tunnel1

ip address 10.10.10.2 255.255.255.0 tunnel source Serial1/0

tunnel destination 123.123.123.2 !

interface Serial1/0

ip address 123.123.123.3 255.255.255.0

ip access-group 111 in

encapsulation frame-relay serial restart-delay 0

frame-relay interface-dlci 201 !

router bgp 200

no synchronization bgp router-id 3.3.3.3 bgp log-neighbor-changes

network 3.3.3.0 mask 255.255.255.0 neighbor 123.123.123.2 remote-as 100 no auto-summary

!

access-list 111 permit tcp any any eq www time-range time access-list 111 deny tcp any any

4.配置R4:

interface FastEthernet0/0 no ip address duplex auto

speed auto

no clns route-cache !

interface FastEthernet0/0.2

encapsulation dot1Q 2

ip address 192.168.2.1 255.255.255.0 !

interface FastEthernet0/0.3 encapsulation dot1Q 3

ip address 192.168.3.1 255.255.255.0 interface GigabitEthernet1/0

ip address 192.168.14.4 255.255.255.0 negotiation auto no clns route-cache !

interface GigabitEthernet2/0

ip address 192.168.45.4 255.255.255.0 negotiation auto no clns route-cache !

router eigrp 1

network 192.168.1.0 network 192.168.2.0

network 192.168.3.0 network 192.168.14.0 network 192.168.45.0 no auto-summary

(R5与R4配置相似略)

5.配置R6:

port-channel load-balance src-dst-mac !

spanning-tree vlan 1 priority 8192 spanning-tree vlan 2 priority 8192 spanning-tree vlan 3 priority 16384 interface Port-channel1 switchport mode trunk no ip address

interface FastEthernet0/0 switchport mode trunk no ip address

interface FastEthernet0/1 switchport mode trunk no ip address

interface FastEthernet0/2 switchport mode trunk no ip address

interface FastEthernet0/3 switchport mode trunk no ip address

interface FastEthernet0/14 switchport mode trunk no ip address

channel-group 1 mode on !

interface FastEthernet0/15 switchport mode trunk no ip address

channel-group 1 mode on interface Vlan1

ip address 192.168.1.6 255.255.255.0 interface Vlan2

ip address 192.168.2.1 255.255.255.0 interface Vlan3

ip address 192.168.3.1 255.255.255.0 Int vlan 2

standby 1 ip 192.168.2.1

standby 1 priority 120

standby 1 preempt

standby 1 authentication md5 key-string cisco standby 1 track f0/0 30 standby 2 ip 192.168.2.254 standby 2 preempt

standby 2 authentication md5 key-string cisco standby 2 track f0/0 no clns route-cache Int vlan 3

standby 3 ip 192.168.3.1 standby 3 priority 120

standby 3 preempt

Standby3 authentication md5 key-string cisco standby 3 track f0/0 30 standby 4 ip 192.168.3.254

standby 4 preempt

standby 4 authentication md5 key-string cisco Standby4 track f0/0 no clns route-cache

6.配置S1:

Switch>en Switch#conf t

Switch(config)#hostname S1 S1(config)#enable password 123 S1(config)#line vty 0 3

S1(config-line)#password cisco S1(config-line)#exit

S1(config)#int vlan 1

S1(config-if)#ip add 192.168.1.21 255.255.255.0 S1(config-if)#no shut

S1(config)#ip default-gateway 192.168.1.1

S1(config)#int f0/1

S1(config-if)#switchport mode access S1(config-if)#switchport access vlan 2 S1(config-if)#int f0/13

S1(config-if)#switch mode access S1(config-if)#switch access vlan 3 S1(config-if)#int f0/23


高级交换路由课程设计(2).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:比较新框架政经网

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: