结构描述如下:交换机2948的19口接2610的eth0/0口,将交换机的33,35分别划分为不同的VLAN(22,35),而交换机的19口设置为TRUNK
交换机的配置如下:
!
interface FastEthernet0/19
switchport mode trunk
no ip address
!
interface FastEthernet0/33
switchport access vlan 22
no ip address
!
interface FastEthernet0/35
switchport access vlan 35
no ip address
!
interface Vlan1
no ip address
no ip route-cache
shutdown
!
interface Vlan22
no ip route-cache
!
!
interface Vlan35
no ip route-cache
!
路由器的配置如下:
interface Ethernet0/0
no ip address
!
interface Ethernet0/0.1
encapsulation dot1Q 22
ip address <IP地址>
!
interface Ethernet0/0.2
encapsulation dot1Q 35
ip address <IP地址>
Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-I-M), Version 12.0(10), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2000 by cisco Systems, Inc.
Compiled Mon 20-Mar-00 23:30 by phanguye
Image text-base: 0x80008088, data-base: 0x80600628
cisco 2610 (MPC860) processor (revision 0x203) with 26624K/6144K bytes of memory
.
Processor board ID JAD05090JAE (1955700046)
M860 processor: part number 0, mask 49
Bridging software.
X.25 software, Version 3.0.0.
1 Ethernet/IEEE 802.3 interface(s)
32K bytes of non-volatile configuration memory.
8192K bytes of processor board System flash (Read/Write)
因为我的2610仅有8M flash/32M RAM,因此只能找比较小的支持IP PLUS特性的IOS了.好,开始GOOGLE
Configuration register is 0x2102
经过查询,2948交换机只支持802.1q封闭(1900支持ISL)