实例3-连接网络核心的多VLAN分布层
本节中的全设备配置均针对实例3:在 Catalyst 2948G-L3 配置样例中的连接网络核心的多VLAN 分布层。
图3:实例3的网络图
Catalyst 2948G-L3-01 配置
2948G-L3-01#show running-config
Building configuration...
Current configuration:
!
! Last configuration change at 07:30:32 PST Fri Jun 23 2000
! NVRAM config last updated at 07:30:33 PST Fri Jun 23 2000
!
version 12.0
no service pad
service timestamps debug datetime msec localtime
service timestamps log datetime msec localtime
no service passWord-encryption
!
hostname 2948G-L3-01
!
no logging console
enable password verysecret
!
clock timezone PST -8
clock calendar-valid
ip subnet-zero
!
!
!
interface Port-channel1
description Channel_to_2948G-01
no ip address
no ip directed-broadcast
hold-queue 300 in
!
interface Port-channel1.1
encapsulation dot1Q 1 native
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.10
encapsulation dot1Q 10
ip address 10.10.10.2 255.255.255.128
no ip redirects
no ip directed-broadcast
standby 10 PRiority 100
standby 10 preempt
standby 10 authentication C10-10
standby 10 ip 10.10.10.1
standby 10 track GigabitEthernet49 20
standby 10 track GigabitEthernet50 20
!
interface Port-channel1.15
encapsulation dot1Q 15
ip address 10.10.10.130 255.255.255.128
no ip redirects
no ip directed-broadcast
standby 15 priority 110
standby 15 preempt
standby 15 authentication C10-15
standby 15 ip 10.10.10.129
standby 15 track GigabitEthernet49 20
standby 15 track GigabitEthernet50 20
!
interface Port-channel2
description Channel_to_2948G-02
no ip address
no ip directed-broadcast
hold-queue 300 in
!
interface Port-channel2.1
encapsulation dot1Q 1 native
no ip redirects
no ip directed-broadcast
!
interface Port-channel2.20
encapsulation dot1Q 20
ip address 10.10.20.2 255.255.255.128
no ip redirects
no ip directed-broadcast
standby 20 priority 100
standby 20 preempt
standby 20 authentication C10-20
standby 20 ip 10.10.20.1
standby 20 track GigabitEthernet49 20
standby 20 track GigabitEthernet50 20
!
interface Port-channel2.25
encapsulation dot1Q 25
ip address 10.10.20.130 255.255.255.128
no ip redirects
no ip directed-broadcast
standby 25 priority 110
standby 25 preempt
standby 25 authentication C10-25
standby 25 ip 10.10.20.129
standby 25 track GigabitEthernet49 20
standby 25 track GigabitEthernet50 20
!
interface Port-channel3
description Channel_to_2948G-03
no ip address
no ip directed-broadcast
hold-queue 300 in
!
interface Port-channel3.1
encapsulation dot1Q 1 native
no ip redirects
no ip directed-broadcast
!
interface Port-channel3.30
encapsulation dot1Q 30
ip address 10.10.30.2 255.255.255.128
no ip redirects
no ip directed-broadcast
standby 30 priority 100
standby 30 preempt
standby 30 authentication C10-30
standby 30 ip 10.10.30.1
standby 30 track GigabitEthernet49 20
standby 30 track GigabitEthernet50 20
!
interface Port-channel3.35
encapsulation dot1Q 35
ip address 10.10.30.130 255.255.255.128
no ip redirects
no ip directed-broadcast
standby 35 priority 110
standby 35 preempt
standby 35 authentication C10-35
standby 35 ip 10.10.30.129
standby 35 track GigabitEthernet49 20
standby 35 track GigabitEthernet50 20
!
interface Port-channel4
description Channel_to_2948G-04
no ip address
no ip directed-broadcast
hold-queue 300 in
!
interface Port-channel4.1
encapsulation dot1Q 1 native
no ip redirects
no ip directed-broadcast
!
interface Port-channel4.40
encapsulation dot1Q 40
ip address 10.10.40.2 255.255.255.128
no ip redirects
no ip directed-broadcast
standby 40 priority 100
standby 40 preempt
standby 40 authentication C10-40
standby 40 ip 10.10.40.1
standby 40 track GigabitEthernet49 20
standby 40 track GigabitEthernet50 20
!
interface Port-channel4.45
encapsulation dot1Q 45
ip address 10.10.40.130 255.255.255.128
no ip redirects
no ip directed-broadcast
standby 45 priority 110
standby 45 preempt
standby 45 authentication C10-45
standby 45 ip 10.10.40.129
standby 45 track GigabitEthernet49 20
standby 45 track GigabitEthernet50 20
!
interface Port-channel5
description Channel_to_2948G-05
no ip address
no ip directed-broadcast
hold-queue 300 in
!
interface Port-channel5.1
encapsulation dot1Q 1 native
no ip redirects
no ip directed-broadcast
!
interface Port-channel5.50
encapsulation dot1Q 50
ip address 10.10.50.2 255.255.255.128
no ip redirects
no ip directed-broadcast
standby 50 priority 100
standby 50 preempt
standby 50 authentication C10-50
standby 50 ip 10.10.50.1
standby 50 track GigabitEthernet49 20
standby 50 track GigabitEthernet50 20
!
interface Port-channel5.55
encapsulation dot1Q 55
ip address 10.10.50.130 255.255.255.128
no ip redirects
no ip directed-broadcast
standby 55 priority 110
standby 55 preempt
standby 55 authentication C10-55
standby 55 ip 10.10.50.129
standby 55 track GigabitEthernet49 20
standby 55 track GigabitEthernet50 20
!
interface Port-channel6
description Channel_to_2948G-06
no ip address
no ip directed-broadcast
hold-queue 300 in
!
interface Port-channel6.1
encapsulation dot1Q 1 native
no ip redirects
no ip directed-broadcast
!
interface Port-channel6.60
encapsulation dot1Q 60
ip address 10.10.60.2 255.255.255.128
no ip redirects
no ip directed-broadcast
standby 60 priority 100
standby 60 preempt
standby 60 authentication C10-60
standby 60 ip 10.10.60.1
standby 60 track GigabitEthernet49 20
standby 60 track GigabitEthernet50 20
!
interface Port-channel6.65
encapsulation dot1Q 65
ip address 10.10.60.130 255.255.255.128
no ip redirects
no ip directed-broadcast
standby 65 priority 110
standby 65 preempt
standby 65 authentication C10-65
standby 65 ip 10.10.60.129
standby 65 track GigabitEthernet49 20
standby 65 track GigabitEthernet50 20
!
interface Port-channel7
description Channel_to_2948G-07
no ip address
no ip directe