第1个回答 2013-11-20
创建VLan:
SW#vlan da
SW(vlan)#vlan 1 name vlan1
VLAN 1 modified:
Name: vlan1
SW(vlan)#vlan 2 name vlan2
VLAN 2 modified:
Name: vlan2SW(vlan)#vlan 3 name vlan3
VLAN 3 modified:
Name: vlan3
SW(vlan)#exi
APPLY completed.
Exiting....
启用三层交换机的路由功能(默认启动的,这里再配一下):SW(config)#ip routing VLAN 1跟VLAN 2就可以互相通信了。