资源预览内容
第1页 / 共3页
第2页 / 共3页
第3页 / 共3页
亲,该文档总共3页全部预览完了,如果喜欢就下载吧!
资源描述
Switch 的配置:!vlan 1!vlan 10!vlan 20!interface FastEthernet 0/1 switchport access vlan 10!interface FastEthernet 0/2 switchport access vlan 20!interface FastEthernet 0/3 switchport mode trunk!interface FastEthernet 0/4 switchport mode trunkR0 的配置:!interface FastEthernet 0/1 ip address 172.16.1.2 255.255.255.0 duplex auto speed auto!interface FastEthernet 0/2 ip address 172.16.2.2 255.255.255.0 duplex auto speed auto! interface Loopback 0 ip address 172.16.3.100 255.255.255.0!router ospf 1 network 172.16.0.0 0.0.255.255 area 0Core1的配置:Core1#show run!vlan 1!vlan 10!vlan 20!interface GigabitEthernet 0/3 switchport mode trunk!interface GigabitEthernet 0/23 no switchport no ip proxy-arp ip address 172.16.1.1 255.255.255.0!interface VLAN 10 no ip proxy-arp ip address 192.168.1.251 255.255.255.0 vrrp 1 priority 120 vrrp 1 ip 192.168.1.254!interface VLAN 20 no ip proxy-arp ip address 192.168.2.251 255.255.255.0 vrrp 2 ip 192.168.2.254!router ospf 1 network 172.16.0.0 0.0.255.255 area 0 network 192.168.0.0 0.0.255.255 area 0Core2的配置:Core2#show run !vlan 1!vlan 10!vlan 20!interface GigabitEthernet 0/4 switchport mode trunk!interface GigabitEthernet 0/24 no switchport ip address 172.16.2.1 255.255.255.0!interface VLAN 10 ip address 192.168.1.252 255.255.255.0 vrrp 1 ip 192.168.1.254!interface VLAN 20 ip address 192.168.2.252 255.255.255.0 vrrp 2 priority 120 vrrp 2 ip 192.168.2.254!router ospf 1 network 172.16.0.0 0.0.255.255 area 0 network 192.168.0.0 0.0.255.255 area 0!
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号