Cisco的4908-l3的配置比较繁杂,通过IRB来实现不同桥接组之间的通讯 可以与trunk互连 但是,要对每个单独的桥接组进行封装。本实例中主要介绍在一个基于4908为中心,3500为二级交换机的园区网方案设计以及每个设备的调试过程等。着重介绍4908的配置过程 至于3500的配置请见 基本配置栏目中 关于 3500全系列配置的文章。在此,不赘述!
Building configuration...
enable secret 5 $1$OHq9$9XvRCkMWcYtsC4glw.NYG.
Building configuration...
Building configuration...
erface FastEthernet0/7
switchport access vlan 50
!
interface FastEthernet0/8
switchport access vlan 50
!
interface FastEthernet0/9
switchport access vlan 50
!
interface FastEthernet0/10
switchport access vlan 50
!
interface FastEthernet0/11
switchport access vlan 50
!
interface FastEthernet0/12
switchport access vlan 50
!
interface FastEthernet0/13
switchport access vlan 50
!
interface FastEthernet0/14
switchport access vlan 40
!
interface FastEthernet0/15
switchport access vlan 40
!
interface FastEthernet0/16
switchport access vlan 40
!
interface FastEthernet0/17
switchport access vlan 40
!
interface FastEthernet0/18
switchport access vlan 40
!
interface FastEthernet0/19
switchport access vlan 40
!
interface FastEthernet0/20
switchport access vlan 40
!
interface FastEthernet0/21
switchport access vlan 40
!
interface FastEthernet0/22
switchport access vlan 40
!
interface FastEthernet0/23
switchport access vlan 40
!
interface FastEthernet0/24
switchport access vlan 40
!
interface GigabitEthernet0/1
switchport mode trunk
!
interface GigabitEthernet0/2
switchport mode trunk
!
interface VLAN1
ip address 10.1.10.1 255.255.0.0
no ip directed-broadcast
no ip route-cache
!
ip default-gateway 10.1.0.1
!
line con 0
password cisco
transport input none
stopbits 1
line vty 0 4
password cisco
login
line vty 5 15
password cisco
login
!
end
bluestudy1#show vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active
3 VLAN0003 active
4 VLAN0004 active
5 VLAN0005 active
40 jiben active Fa0/14, Fa0/15, Fa0/16, Fa0/17,
Fa0/18, Fa0/19, Fa0/20, Fa0/21,
Fa0/22, Fa0/23, Fa0/24
50 jiaoshi active Fa0/1, Fa0/2, Fa0/3, Fa0/4,
Fa0/5, Fa0/6, Fa0/7, Fa0/8,
Fa0/9, Fa0/10, Fa0/11, Fa0/12,
Fa0/13
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 1002 1003
3 enet 100003 1500 - - - - - 0 0
4 enet 100004 1500 - - - - - 0 0
5 enet 100005 1500 - - - - - 0 0
40 enet 100040 1500 - - - - - 0 0
50 enet 100050 1500 - - - - - 0 0
1002 fddi 101002 1500 - 0 - - - 1 1003
1003 tr 101003 1500 1005 0 - - srb 1 1002
1004 fdnet 101004 1500 - - 1 ibm - 0 0
1005 trnet 101005 1500 - - 1 ibm - 0 0
bluestudy1#
bluestudy1#
6.bluestudy2_C 配置
Building configuration...
Current configuration:
!
version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname bluestudy2_C
!
enable secret 5 $1$wdBN$5M0mlLk09wutc44dApZat0
enable password cisco
!
!
!
!
!
!
ip subnet-zero
!
!
!
interface FastEthernet0/1
switchport access vlan 110
!
interface FastEthernet0/2
switchport access vlan 110
!
interface FastEthernet0/3
switchport access vlan 110
!
interface FastEthernet0/4
switchport access vlan 110
!
interface FastEthernet0/5
switchport access vlan 120
!
interface FastEthernet0/6
switchport access vlan 120
!
interface FastEthernet0/7
switchport access vlan 120
!
interface FastEthernet0/8
switchport access vlan 120
!
interface FastEthernet0/9
switchport access vlan 120
!
interface FastEthernet0/10
switchport access vlan 120
!
interface FastEthernet0/11
switchport access vlan 120
!
interface FastEthernet0/12
switchport access vlan 120
!
interface FastEthernet0/13
switchport access vlan 120
!
interface FastEthernet0/14
switchport access vlan 120
!
interface FastEthernet0/15
switchport access vlan 120
!
interface FastEthernet0/16
switchport access vlan 120
!
interface FastEthernet0/17
switchport access vlan 120
!
interface FastEthernet0/18
switchport access vlan 120
!
interface FastEthernet0/19
switchport access vlan 120
!
interface FastEthernet0/20
switchport access vlan 120
!
interface FastEthernet0/21
switchport access vlan 140
!
interface FastEthernet0/22
switchport access vlan 140
!
interface FastEthernet0/23
switchport access vlan 140
!
interface FastEthernet0/24
switchport access vlan 140
!
interface FastEthernet0/25
switchport access vlan 140
!
interface FastEthernet0/26
switchport access vlan 140
!
interface FastEthernet0/27
switchport access vlan 140
!
interface FastEthernet0/28
switchport access vlan 140
!
interface FastEthernet0/29
switchport access vlan 140
!
interface FastEthernet0/30
switchport access vlan 140
!
interface FastEthernet0/31
switchport access vlan 140
!
interface FastEthernet0/32
switchport access vlan 140
!
interface FastEthernet0/33
switchport access vlan 140
!
interface FastEthernet0/34
switchport access vlan 140
!
interface FastEthernet0/35
switchport access vlan 140
!
interface FastEthernet0/36
switchport access vlan 140
!
interface FastEthernet0/37
switchport access vlan 140
!
interface FastEthernet0/38
switchport access vlan 140
!
interface FastEthernet0/39
switchport access vlan 140
!
interface FastEthernet0/40
switchport access vlan 140
!
interface FastEthernet0/41
switchport access vlan 140
!
interface FastEthernet0/42
switchport access vlan 140
!
interface FastEthernet0/43
switchport access vlan 140
!
interface FastEthernet0/44
switchport access vlan 140
!
interface FastEthernet0/45
switchport access vlan 140
!
interface FastEthernet0/46
switchport access vlan 140
!
interface FastEthernet0/47
switchport access vlan 140
!
interface FastEthernet0/48
switchport access vlan 140
!
interface GigabitEthernet0/1
switchport mode trunk
!
interface GigabitEthernet0/2
switchport mode trunk
!
interface VLAN1
ip address 10.1.40.1 255.255.0.0
no ip directed-broadcast
no ip route-cache
!
ip default-gateway 10.1.0.1
!
line con 0
password cisco
transport input none
stopbits 1
line vty 0 4
password cisco
login
line vty 5 15
password cisco
login
!
end
bluestudy2_C#show vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active
110 shixunshi active Fa0/1, Fa0/2, Fa0/3, Fa0/4
120 jifang active Fa0/5, Fa0/6, Fa0/7, Fa0/8,
Fa0/9, Fa0/10, Fa0/11, Fa0/12,
Fa0/13, Fa0/14, Fa0/15, Fa0/16,
Fa0/17, Fa0/18, Fa0/19, Fa0/20
140 zhuanjiasushe active Fa0/21, Fa0/22, Fa0/23, Fa0/24,
Fa0/25, Fa0/26, Fa0/27, Fa0/28,
Fa0/29, Fa0/30, Fa0/31, Fa0/32,
Fa0/33, Fa0/34, Fa0/35, Fa0/36,
Fa0/37, Fa0/38, Fa0/39, Fa0/40,
Fa0/41, Fa0/42, Fa0/43, Fa0/44,
Fa0/45, Fa0/46, Fa0/47, Fa0/48
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 1002 1003
110 enet 100110 1500 - - - - - 0 0
120 enet 100120 1500 - - - - - 0 0
140 enet 100140 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 1 1003
1003 tr 101003 1500 1005 0 - - srb 1 1002
1004 fdnet 101004 1500 - - 1 ibm - 0 0
1005 trnet 101005 1500 - - 1 ibm - 0 0
bluestudy2_C#wr
Building configuration...
[OK]
bluestudy2_C#
7.bluestudy2_D 配置
Building configuration...
Current configuration:
!
version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname bluestudy2_D
!
enable secret 5 $1$Tgi9$6gZxtbdeFGRcsvZjmUFmR1
enable password cisco
!
!
!
!
!
!
ip subnet-zero
!
!
!
interface FastEthernet0/1
switchport access vlan 130
!
interface FastEthernet0/2
switchport access vlan 130
!
interface FastEthernet0/3
switchport access vlan 130
!
interface FastEthernet0/4
switchport access vlan 130
!
interface FastEthernet0/5
switchport access vlan 130
!
interface FastEthernet0/6
switchport access vlan 130
!
interface FastEthernet0/7
switchport access vlan 130
!
interface FastEthernet0/8
switchport access vlan 130
!
interface FastEthernet0/9
switchport access vlan 130
!
interface FastEthernet0/10
switchport access vlan 130
!
interface FastEthernet0/11
switchport access vlan 130
!
interface FastEthernet0/12
switchport access vlan 130
!
interface FastEthernet0/13
switchport access vlan 130
!
interface FastEthernet0/14
switchport access vlan 130
!
interface FastEthernet0/15
switchport access vlan 130
!
interface FastEthernet0/16
switchport access vlan 130
!
interface FastEthernet0/17
switchport access vlan 130
!
interface FastEthernet0/18
switchport access vlan 130
!
interface FastEthernet0/19
switchport access vlan 130
!
interface FastEthernet0/20
switchport access vlan 130
!
interface FastEthernet0/21
switchport access vlan 130
!
interface FastEthernet0/22
switchport access vlan 130
!
interface FastEthernet0/23
switchport access vlan 130
!
interface FastEthernet0/24
switchport access vlan 130
!
interface FastEthernet0/25
switchport access vlan 130
!
interface FastEthernet0/26
switchport access vlan 130
!
interface FastEthernet0/27
switchport access vlan 130
!
interface FastEthernet0/28
switchport access vlan 130
!
interface FastEthernet0/29
switchport access vlan 130
!
interface FastEthernet0/30
switchport access vlan 130
!
interface FastEthernet0/31
switchport access vlan 130
!
interface FastEthernet0/32
switchport access vlan 130
!
interface FastEthernet0/33
switchport access vlan 130
!
interface FastEthernet0/34
switchport access vlan 130
!
interface FastEthernet0/35
switchport access vlan 130
!
interface FastEthernet0/36
switchport access vlan 130
!
interface FastEthernet0/37
switchport access vlan 130
!
interface FastEthernet0/38
switchport access vlan 130
!
interface FastEthernet0/39
switchport access vlan 130
!
interface FastEthernet0/40
switchport access vlan 130
!
interface FastEthernet0/41
switchport access vlan 130
!
interface FastEthernet0/42
switchport access vlan 130
!
interface FastEthernet0/43
switchport access vlan 130
!
interface FastEthernet0/44
switchport access vlan 130
!
interface FastEthernet0/45
switchport access vlan 130
!
interface FastEthernet0/46
switchport access vlan 130
!
interface FastEthernet0/47
switchport access vlan 130
!
interface FastEthernet0/48
switchport access vlan 130
!
interface GigabitEthernet0/1
switchport mode trunk
!
interface GigabitEthernet0/2
switchport mode trunk
!
interface VLAN1
ip address 10.1.50.1 255.255.0.0
no ip directed-broadcast
no ip route-cache
!
ip default-gateway 10.1.0.1
!
line con 0
transport input none
stopbits 1
line vty 0 4
password cisco
login
line vty 5 15
password cisco
login
!
end
bluestudy2_D#show vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active
130 dianzibeike active Fa0/1, Fa0/2, Fa0/3, Fa0/4,
Fa0/5, Fa0/6, Fa0/7, Fa0/8,
Fa0/9, Fa0/10, Fa0/11, Fa0/12,
Fa0/13, Fa0/14, Fa0/15, Fa0/16,
Fa0/17, Fa0/18, Fa0/19, Fa0/20,
Fa0/21, Fa0/22, Fa0/23, Fa0/24,
Fa0/25, Fa0/26, Fa0/27, Fa0/28,
Fa0/29, Fa0/30, Fa0/31, Fa0/32,
Fa0/33, Fa0/34, Fa0/35, Fa0/36,
Fa0/37, Fa0/38, Fa0/39, Fa0/40,
Fa0/41, Fa0/42, Fa0/43, Fa0/44,
Fa0/45, Fa0/46, Fa0/47, Fa0/48
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 1002 1003
130 enet 100130 1500 - - - - - 0 0
1002 fddi 101002 1500 - 0 - - - 1 1003
1003 tr 101003 1500 1005 0 - - srb 1 1002
1004 fdnet 101004 1500 - - 1 ibm - 0 0
1005 trnet 101005 1500 - - 1 ibm - 0 0
bluestudy2_D#
8.bluestudy2_E 配置
bluestudy2_E#show run
Building configuration...
Current configuration:
!
version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname bluestudy2_E
!
enable secret 5 $1$6crJ$S8GoXSWatDwinyOzSXGGD.
enable password cisco
!
!
!
!
!
!
ip subnet-zero
!
!
!
interface FastEthernet0/1
switchport access vlan 130
!
interface FastEthernet0/2
switchport access vlan 130
!
interface FastEthernet0/3
switchport access vlan 130
!
interface FastEthernet0/4
switchport access vlan 130
!
interface FastEthernet0/5
switchport access vlan 130
!
interface FastEthernet0/6
switchport access vlan 130
!
interface FastEthernet0/7
switchport access vlan 130
!
interface FastEthernet0/8
switchport access vlan 130
!
interface FastEthernet0/9
switchport access vlan 130
!
interface FastEthernet0/10
switchport access vlan 130
!
interface FastEthernet0/11
switchport access vlan 130
!
interface FastEthernet0/12
switchport access vlan 130
!
interface FastEthernet0/13
switchport access vlan 130
!
interface FastEthernet0/14
switchport access vlan 130
!
interface FastEthernet0/15
switchport access vlan 130
!
interface FastEthernet0/16
switchport access vlan 130
!
interface FastEthernet0/17
switchport access vlan 130
!
interface FastEthernet0/18
switchport access vlan 130
!
interface FastEthernet0/19
switchport access vlan 130
!
interface FastEthernet0/20
switchport access vlan 130
!
interface FastEthernet0/21
switchport access vlan 130
!
interface FastEthernet0/22
switchport access vlan 130
!
interface FastEthernet0/23
switchport access vlan 130
!
interface FastEthernet0/24
switchport access vlan 130
!
interface FastEthernet0/25
switchport access vlan 130
!
interface FastEthernet0/26
switchport access vlan 130
!
interface FastEthernet0/27
switchport access vlan 130
!
interface FastEthernet0/28
switchport access vlan 130
!
interface FastEthernet0/29
switchport access vlan 130
!
interface FastEthernet0/30
switchport access vlan 130
!
interface FastEthernet0/31
switchport access vlan 130
!
interface FastEthernet0/32
switchport access vlan 130
!
interface FastEthernet0/33
switchport access vlan 130
!
interface FastEthernet0/34
switchport access vlan 130
!
interface FastEthernet0/35
switchport access vlan 130
!
interface FastEthernet0/36
switchport access vlan 130
!
interface FastEthernet0/37
switchport access vlan 130
!
interface FastEthernet0/38
switchport access vlan 130
!
interface FastEthernet0/39
switchport access vlan 130
!
interface FastEthernet0/40
switchport access vlan 130
!
interface FastEthernet0/41
switchport access vlan 130
!
interface FastEthernet0/42
switchport access vlan 130
!
interface FastEthernet0/43
switchport access vlan 130
!
interface FastEthernet0/44
switchport access vlan 130
!
interface FastEthernet0/45
switchport access vlan 130
!
interface FastEthernet0/46
switchport access vlan 130
!
interface FastEthernet0/47
switchport access vlan 130
!
interface FastEthernet0/48
switchport access vlan 130
!
interface GigabitEthernet0/1
switchport mode trunk
!
interface GigabitEthernet0/2
switchport mode trunk
!
interface VLAN1
ip address 10.1.60.1 255.255.0.0
no ip directed-broadcast
no ip route-cache
!
!
line con 0
transport input none
stopbits 1
line vty 0 4
password cisco
login
line vty 5 15
password cisco
login
!
end
bluestudy2_E#show vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active
3 VLAN0003 active
4 VLAN0004 active
5 VLAN0005 active
130 dianzibeike active Fa0/1, Fa0/2, Fa0/3, Fa0/4,
Fa0/5, Fa0/6, Fa0/7, Fa0/8,
Fa0/9, Fa0/10, Fa0/11, Fa0/12,
Fa0/13, Fa0/14, Fa0/15, Fa0/16,
Fa0/17, Fa0/18, Fa0/19, Fa0/20,
Fa0/21, Fa0/22, Fa0/23, Fa0/24,
Fa0/25, Fa0/26, Fa0/27, Fa0/28,
Fa0/29, Fa0/30, Fa0/31, Fa0/32,
Fa0/33, Fa0/34, Fa0/35, Fa0/36,
Fa0/37, Fa0/38, Fa0/39, Fa0/40,
Fa0/41, Fa0/42, Fa0/43, Fa0/44,
Fa0/45, Fa0/46, Fa0/47, Fa0/48
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 1002 1003
3 enet 100003 1500 - - - - - 0 0
4 enet 100004 1500 - - - - - 0 0
5 enet 100005 1500 - - - - - 0 0
130 enet 100130 1500 - - - - - 0 0
1002 fddi 101002 1500 - 0 - - - 1 1003
1003 tr 101003 1500 1005 0 - - srb 1 1002
1004 fdnet 101004 1500 - - 1 ibm - 0 0
1005 trnet 101005 1500 - - 1 ibm - 0 0
bluestudy2_E#
9.bluestudy2_F 配置
User Access Verification
Password:
bluestudy2_F>en
Password:
bluestudy2_F#show run
Building configuration...
Current configuration:
!
version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname bluestudy2_F
!
enable secret 5 $1$Q0fY$1eAstu/ItuajqIfrIzUKq.
enable password cisco
!
!
!
!
!
!
ip subnet-zero
!
!
!
interface FastEthernet0/1
switchport access vlan 130
!
interface FastEthernet0/2
switchport access vlan 130
!
interface FastEthernet0/3
switchport access vlan 130
!
interface FastEthernet0/4
switchport access vlan 130
!
interface FastEthernet0/5
switchport access vlan 130
!
interface FastEthernet0/6
switchport access vlan 130
!
interface FastEthernet0/7
switchport access vlan 130
!
interface FastEthernet0/8
switchport access vlan 130
!
interface FastEthernet0/9
switchport access vlan 130
!
interface FastEthernet0/10
switchport access vlan 130
!
interface FastEthernet0/11
switchport access vlan 130
!
interface FastEthernet0/12
switchport access vlan 130
!
interface FastEthernet0/13
switchport access vlan 130
!
interface FastEthernet0/14
switchport access vlan 130
!
interface FastEthernet0/15
switchport access vlan 130
!
interface FastEthernet0/16
switchport access vlan 130
!
interface FastEthernet0/17
switchport access vlan 130
!
interface FastEthernet0/18
switchport access vlan 130
!
interface FastEthernet0/19
switchport access vlan 130
!
interface FastEthernet0/20
switchport access vlan 130
!
interface FastEthernet0/21
switchport access vlan 130
!
interface FastEthernet0/22
switchport access vlan 130
!
interface FastEthernet0/23
switchport access vlan 130
!
interface FastEthernet0/24
switchport access vlan 130
!
interface FastEthernet0/25
switchport access vlan 130
!
interface FastEthernet0/26
switchport access vlan 130
!
interface FastEthernet0/27
switchport access vlan 130
!
interface FastEthernet0/28
switchport access vlan 130
!
interface FastEthernet0/29
switchport access vlan 130
!
interface FastEthernet0/30
switchport access vlan 130
!
interface FastEthernet0/31
switchport access vlan 130
!
interface FastEthernet0/32
switchport access vlan 130
!
interface FastEthernet0/33
switchport access vlan 130
!
interface FastEthernet0/34
switchport access vlan 130
!
interface FastEthernet0/35
switchport access vlan 130
!
interface FastEthernet0/36
switchport access vlan 130
!
interface FastEthernet0/37
switchport access vlan 130
!
interface FastEthernet0/38
switchport access vlan 130
!
interface FastEthernet0/39
switchport access vlan 130
!
interface FastEthernet0/40
switchport access vlan 130
!
interface FastEthernet0/41
switchport access vlan 130
!
interface FastEthernet0/42
switchport access vlan 130
!
interface FastEthernet0/43
switchport access vlan 130
!
interface FastEthernet0/44
switchport access vlan 130
!
interface FastEthernet0/45
switchport access vlan 130
!
interface FastEthernet0/46
switchport access vlan 130
!
interface FastEthernet0/47
switchport access vlan 130
!
interface FastEthernet0/48
switchport access vlan 130
!
interface GigabitEthernet0/1
switchport mode trunk
!
interface GigabitEthernet0/2
switchport mode trunk
!
interface VLAN1
ip address 10.1.70.1 255.255.0.0
no ip directed-broadcast
no ip route-cache
!
ip default-gateway 10.1.0.1
!
line con 0
transport input none
stopbits 1
line vty 0 4
password cisco
login
line vty 5 15
password cisco
login
!
end
bluestudy2_F# show vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active
130 dianzibeike active Fa0/1, Fa0/2, Fa0/3, Fa0/4,
Fa0/5, Fa0/6, Fa0/7, Fa0/8,
Fa0/9, Fa0/10, Fa0/11, Fa0/12,
Fa0/13, Fa0/14, Fa0/15, Fa0/16,
Fa0/17, Fa0/18, Fa0/19, Fa0/20,
Fa0/21, Fa0/22, Fa0/23, Fa0/24,
Fa0/25, Fa0/26, Fa0/27, Fa0/28,
Fa0/29, Fa0/30, Fa0/31, Fa0/32,
Fa0/33, Fa0/34, Fa0/35, Fa0/36,
Fa0/37, Fa0/38, Fa0/39, Fa0/40,
Fa0/41, Fa0/42, Fa0/43, Fa0/44,
Fa0/45, Fa0/46, Fa0/47, Fa0/48
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 1002 1003
130 enet 100130 1500 - - - - - 0 0
1002 fddi 101002 1500 - 0 - - - 1 1003
1003 tr 101003 1500 1005 0 - - srb 1 1002
1004 fdnet 101004 1500 - - 1 ibm - 0 0
1005 trnet 101005 1500 - - 1 ibm - 0 0
bluestudy2_F#
10.bluestudy3_A 配置
bluestudy3_A#show run
Building configuration...
Current configuration:
!
version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname bluestudy3_A
!
enable secret 5 $1$GoU4$WyMKLmkYZaWSIQL7iWv9F0
enable password cisco
!
!
!
!
!
!
ip subnet-zero
!
!
!
interface FastEthernet0/1
switchport access vlan 20
!
interface FastEthernet0/2
switchport access vlan 20
!
interface FastEthernet0/3
switchport access vlan 20
!
interface FastEthernet0/4
switchport access vlan 20
!
interface FastEthernet0/5
switchport access vlan 30
!
interface FastEthernet0/6
switchport access vlan 30
!
interface FastEthernet0/7
switchport access vlan 30
!
interface FastEthernet0/8
switchport access vlan 30
!
interface FastEthernet0/9
switchport access vlan 30
!
interface FastEthernet0/10
switchport access vlan 30
!
interface FastEthernet0/11
switchport access vlan 30
!
interface FastEthernet0/12
switchport access vlan 30
!
interface FastEthernet0/13
switchport access vlan 30
!
interface FastEthernet0/14
switchport access vlan 30
!
interface FastEthernet0/15
switchport access vlan 10
!
interface FastEthernet0/16
switchport access vlan 10
!
interface FastEthernet0/17
switchport access vlan 10
!
interface FastEthernet0/18
switchport access vlan 10
!
interface FastEthernet0/19
switchport access vlan 50
!
interface FastEthernet0/20
switchport access vlan 50
!
interface FastEthernet0/21
switchport access vlan 50
!
interface FastEthernet0/22
switchport access vlan 50
!
interface FastEthernet0/23
switchport access vlan 50
!
interface FastEthernet0/24
switchport access vlan 50
!
interface FastEthernet0/25
switchport access vlan 50
!
interface FastEthernet0/26
switchport access vlan 50
!
interface FastEthernet0/27
switchport access vlan 50
!
interface FastEthernet0/28
switchport access vlan 50
!
interface FastEthernet0/29
switchport access vlan 50
!
interface FastEthernet0/30
switchport access vlan 50
!
interface FastEthernet0/31
switchport access vlan 50
!
interface FastEthernet0/32
switchport access vlan 50
!
interface FastEthernet0/33
switchport access vlan 50
!
interface FastEthernet0/34
switchport access vlan 50
!
interface FastEthernet0/35
switchport access vlan 50
!
interface FastEthernet0/36
switchport access vlan 50
!
interface FastEthernet0/37
switchport access vlan 50
!
interface FastEthernet0/38
switchport access vlan 50
!
interface FastEthernet0/39
switchport access vlan 50
!
interface FastEthernet0/40
switchport access vlan 50
!
interface FastEthernet0/41
switchport access vlan 50
!
interface FastEthernet0/42
switchport access vlan 50
!
interface FastEthernet0/43
switchport access vlan 50
!
interface FastEthernet0/44
switchport access vlan 50
!
interface FastEthernet0/45
switchport access vlan 50
!
interface FastEthernet0/46
switchport access vlan 50
!
interface FastEthernet0/47
switchport access vlan 50
!
interface FastEthernet0/48
switchport access vlan 50
!
interface GigabitEthernet0/1
switchport mode trunk
!
interface GigabitEthernet0/2
switchport mode trunk
!
interface VLAN1
ip address 10.1.20.1 255.255.0.0
no ip directed-broadcast
no ip route-cache
!
ip default-gateway 10.1.0.1
!
line con 0
password cisco
transport input none
stopbits 1
line vty 0 4
password cisco
login
line vty 5 15
password cisco
login
!
end
bluestudy3_A#show vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active
10 renshiban active Fa0/15, Fa0/16, Fa0/17, Fa0/18
20 caiwu active Fa0/1, Fa0/2, Fa0/3, Fa0/4
30 gaoji active Fa0/5, Fa0/6, Fa0/7, Fa0/8,
Fa0/9, Fa0/10, Fa0/11, Fa0/12,
Fa0/13, Fa0/14
50 jiaoshi active Fa0/19, Fa0/20, Fa0/21, Fa0/22,
Fa0/23, Fa0/24, Fa0/25, Fa0/26,
Fa0/27, Fa0/28, Fa0/29, Fa0/30,
Fa0/31, Fa0/32, Fa0/33, Fa0/34,
Fa0/35, Fa0/36, Fa0/37, Fa0/38,
Fa0/39, Fa0/40, Fa0/41, Fa0/42,
Fa0/43, Fa0/44, Fa0/45, Fa0/46,
Fa0/47, Fa0/48
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
[page]
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 1002 1003
10 enet 100010 1500 - - - - - 0 0
20 enet 100020 1500 - - - - - 0 0
30 enet 100030 1500 - - - - - 0 0
50 enet 100050 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 1 1003
1003 tr 101003 1500 1005 0 - - srb 1 1002
1004 fdnet 101004 1500 - - 1 ibm - 0 0
1005 trnet 101005 1500 - - 1 ibm - 0 0
bluestudy3_A#
11.bluestudy3_B 配置
Building configuration...
Current configuration:
!
version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname bluestudy3_B
!
enable secret 5 $1$oc4A$BVTFDiAcCEs..6KX8HATz1
enable password cisco
!
!
!
!
!
!
ip subnet-zero
!
!
!
interface FastEthernet0/1
switchport access vlan 40
!
interface FastEthernet0/2
switchport access vlan 40
!
interface FastEthernet0/3
switchport access vlan 40
!
interface FastEthernet0/4
switchport access vlan 40
!
interface FastEthernet0/5
switchport access vlan 40
!
interface FastEthernet0/6
switchport access vlan 40
!
interface FastEthernet0/7
switchport access vlan 40
!
interface FastEthernet0/8
switchport access vlan 40
!
interface FastEthernet0/9
switchport access vlan 40
!
interface FastEthernet0/10
switchport access vlan 40
!
interface FastEthernet0/11
switchport access vlan 40
!
interface FastEthernet0/12
switchport acces
s vlan 40
!
interface FastEthernet0/13
switchport access vlan 40
!
interface FastEthernet0/14
switchport access vlan 40
!
interface FastEthernet0/15
switchport access vlan 40
!
interface FastEthernet0/16
switchport access vlan 40
!
interface FastEthernet0/17
switchport access vlan 40
!
interface FastEthernet0/18
switchport access vlan 40
!
interface FastEthernet0/19
switchport access vlan 40
!
interface FastEthernet0/20
switchport access vlan 40
!
interface FastEthernet0/21
switchport access vlan 40
!
interface FastEthernet0/22
switchport access vlan 40
!
interface FastEthernet0/23
switchport access vlan 40
!
interface FastEthernet0/24
switchport access vlan 40
!
interface FastEthernet0/25
switchport access vlan 40
!
interface FastEthernet0/26
switchport access vlan 40
!
interface FastEthernet0/27
switchport access vlan 40
!
interface FastEthernet0/28
switchport access vlan 40
!
interface FastEthernet0/29
switchport access vlan 40
!
interface FastEthernet0/30
switchport access vlan 40
!
interface FastEthernet0/31
switchport access vlan 40
!
interface FastEthernet0/32
switchport access vlan 40
!
interface FastEthernet0/33
switchport access vlan 40
!
interface FastEthernet0/34
switchport access vlan 40
!
interface FastEthernet0/35
switchport access vlan 40
!
interface FastEthernet0/36
switchport access vlan 40
!
interface FastEthernet0/37
switchport access vlan 40
!
interface FastEthernet0/38
switchport access vlan 40
!
interface FastEthernet0/39
switchport access vlan 40
!
interface FastEthernet0/40
switchport access vlan 40
!
interface FastEthernet0/41
switchport access vlan 40
!
interface FastEthernet0/42
switchport access vlan 40
!
interface FastEthernet0/43
switchport access vlan 40
!
interface FastEthernet0/44
switchport access vlan 40
!
interface FastEthernet0/45
switchport access vlan 40
!
interface FastEthernet0/46
switchport access vlan 40
!
interface FastEthernet0/47
switchport access vlan 40
!
interface FastEthernet0/48
switchport access vlan 40
!
interface GigabitEthernet0/1
switchport mode trunk
!
interface GigabitEthernet0/2
switchport mode trunk
!
interface VLAN1
ip address 10.1.30.1 255.255.0.0
no ip directed-broadcast
no ip route-cache
!
ip default-gateway 10.1.0.1
!
line con 0
transport input none
stopbits 1
line vty 0 4
password cisco
login
line vty 5 15
password cisco
login
!
end
bluestudy3_B#show vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active
40 jiben active Fa0/1, Fa0/2, Fa0/3, Fa0/4,
Fa0/5, Fa0/6, Fa0/7, Fa0/8,
Fa0/9, Fa0/10, Fa0/11, Fa0/12,
Fa0/13, Fa0/14, Fa0/15, Fa0/16,
Fa0/17, Fa0/18, Fa0/19, Fa0/20,
Fa0/21, Fa0/22, Fa0/23, Fa0/24,
Fa0/25, Fa0/26, Fa0/27, Fa0/28,
Fa0/29, Fa0/30, Fa0/31, Fa0/32,
Fa0/33, Fa0/34, Fa0/35, Fa0/36,
Fa0/37, Fa0/38, Fa0/39, Fa0/40,
Fa0/41, Fa0/42, Fa0/43, Fa0/44,
Fa0/45, Fa0/46, Fa0/47, Fa0/48
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 1002 1003
40 enet 100040 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 1 1003
1003 tr 101003 1500 1005 0 - - srb 1 1002
1004 fdnet 101004 1500 - - 1 ibm - 0 0
1005 trnet 101005 1500 - - 1 ibm - 0 0
bluestudy3_B#