ISLでトランクです。
ISLはCatalyst2950では対応していないプロトコルです。
ということでISLでトランクの設定がしたいがために、Catalyst2924XLを2台購入しました。
両方のスイッチのインタフェースで同じプロトコルにしなければならないので2台の2924XLが必要になるんですね。


Catalyst2924XLでは、VLANの作り方が異なります。
vlan databaseモードで作らないといけません。
以下、設定です。

■S1
S1#vlan database
S1(vlan)#vlan 10 name VLAN_10
VLAN 10 added:
Name: VLAN_10
S1(vlan)#sh changes
ADDED:
VLAN ISL Id: 10
Name: VLAN_10
Media Type: Ethernet
VLAN 802.10 Id: 100010
State: Operational
MTU: 1500
Backup CRF Mode: Disabled

S1(vlan)#apply
APPLY completed.
S1(vlan)#exit
APPLY completed.
Exiting....
S1#vlan database
S1(vlan)#vlan 20 name VLAN_20
VLAN 20 added:
Name: VLAN_20
S1(vlan)#sh changes
ADDED:
VLAN ISL Id: 20
Name: VLAN_20
Media Type: Ethernet
VLAN 802.10 Id: 100020
State: Operational
MTU: 1500
Backup CRF Mode: Disabled

S1(vlan)#apply
APPLY completed.
S1(vlan)#exit
APPLY completed.
Exiting....
S1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
S1(config)#int fa0/1
S1(config-if)#switchport mode access
S1(config-if)#switchport access vlan 10
S1(config-if)#int fa0/2
S1(config-if)#switchport mode access
S1(config-if)#switchport access vlan 20
S1(config-if)#int fa0/12
S1(config-if)#switchport mode trunk
S1(config-if)#switchport trunk encapsulation isl
S1(config-if)#switchport trunk allowed vlan 10,20


S1#sh vlan brief
VLAN Name Status Ports

        • -------------------------------- --------- -------------------------------

1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6,
Fa0/7, Fa0/8, Fa0/9, Fa0/10,
Fa0/11, Fa0/13, Fa0/14, Fa0/15,
Fa0/16, Fa0/17, Fa0/18, Fa0/19,
Fa0/20, Fa0/21, Fa0/22, Fa0/23,
Fa0/24
10 VLAN_10 active Fa0/1
20 VLAN_20 active Fa0/2
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active


S1#sh int fa0/12 switchport
Name: Fa0/12
Switchport: Enabled
Administrative mode: trunk
Operational Mode: trunk
Administrative Trunking Encapsulation: isl
Operational Trunking Encapsulation: isl
Negotiation of Trunking: Disabled
Access Mode VLAN: 0 (Inactive)
Trunking Native Mode VLAN: 1 (default)
Trunking VLANs Enabled: 1,10,20,1002-1005
Trunking VLANs Active: 1,10,20
Pruning VLANs Enabled: 2-1001

Priority for untagged frames: 0
Override vlan tag priority: FALSE
Voice VLAN: none
Appliance trust: none
Self Loopback: No




■S2
S2#vlan database
S2(vlan)#vlan 10 name VLAN_10
VLAN 10 added:
Name: VLAN_10
S2(vlan)#sh changes
ADDED:
VLAN ISL Id: 10
Name: VLAN_10
Media Type: Ethernet
VLAN 802.10 Id: 100010
State: Operational
MTU: 1500
Backup CRF Mode: Disabled

S2(vlan)#apply
APPLY completed.
S2(vlan)#exit
APPLY completed.
Exiting....
S2#vlan database
S2(vlan)#vlan 20 name VLAN_20
VLAN 20 added:
Name: VLAN_20
S2(vlan)#sh changes
ADDED:
VLAN ISL Id: 20
Name: VLAN_20
Media Type: Ethernet
VLAN 802.10 Id: 100020
State: Operational
MTU: 1500
Backup CRF Mode: Disabled

S2(vlan)#apply
APPLY completed.
S2(vlan)#exit
APPLY completed.
Exiting....
S2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
S2(config)#int fa0/1
S2(config-if)#switchport mode access
S2(config-if)#switchport access vlan 10
S2(config-if)#int fa0/2
S2(config-if)#switchport mode access
S2(config-if)#switchport access vlan 20
S2(config-if)#int fa0/12
S2(config-if)#switchport mode trunk
S2(config-if)#switchport trunk encapsulation isl
S2(config-if)#switchport trunk allowed vlan 10,20


S2#sh vlan brief
VLAN Name Status Ports

        • -------------------------------- --------- -------------------------------

1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6,
Fa0/7, Fa0/8, Fa0/9, Fa0/10,
Fa0/11, Fa0/13, Fa0/14, Fa0/15,
Fa0/16, Fa0/17, Fa0/18, Fa0/19,
Fa0/20, Fa0/21, Fa0/22, Fa0/23,
Fa0/24
10 VLAN_10 active Fa0/1
20 VLAN_20 active Fa0/2
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active


S2#sh interfaces fa0/12 switchport
Name: Fa0/12
Switchport: Enabled
Administrative mode: trunk
Operational Mode: trunk
Administrative Trunking Encapsulation: isl
Operational Trunking Encapsulation: isl
Negotiation of Trunking: Disabled
Access Mode VLAN: 0 (Inactive)
Trunking Native Mode VLAN: 1 (default)
Trunking VLANs Enabled: 1,10,20,1002-1005
Trunking VLANs Active: 1,10,20
Pruning VLANs Enabled: 2-1001

Priority for untagged frames: 0
Override vlan tag priority: FALSE
Voice VLAN: none
Appliance trust: none
Self Loopback: No


■192.168.0.100から192.168.0.200にping
C:\Documents and Settings\192.168.0.100>ping 192.168.0.200

Pinging 192.168.0.200 with 32 bytes of data:

Reply from 192.168.0.200: bytes=32 time=1ms TTL=128
Reply from 192.168.0.200: bytes=32 time=1ms TTL=128
Reply from 192.168.0.200: bytes=32 time=1ms TTL=128
Reply from 192.168.0.200: bytes=32 time=1ms TTL=128

Ping statistics for 192.168.0.200:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 1ms, Average = 1ms