cisco 3550:
interface FastEthernet0/26
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 20,60
cisco 2950:
interface FastEthernet0/26
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 20,60
一楼配置了26端口的trunk模式
但要把这两个vlan的数据发给2950则3560加两条路由:
ip rotue 192.168.20.0(vlan 20) 255.255.255.0 f0/26
ip rotue 192.168.50.0(vlan 50) 255.255.255.0 f0/26