vlan从5500上启动,假设路由器的IP为192.168.1.1,路由器连接到G1/0/1接口,5500的VLAN1的IP是192.168.1.254,VLAN2的IP是192.168.2.254,一台机器连接G1/0/2接口,该机器网关设置为192.168.2.254,5500上设置
sys
int vlan 1
ip add 192.168.1.254 24
vlan 2
int vlan 2
ip add 192.168.2.254 24
vlan 2
port acc g1/0/2
ip route 0.0.0.0 0.0.0.0 192.168.1.1