单臂路由

烈酒焚心 提交于 2019-12-05 11:18:16

sys

valn 10

vlan 20

int g 1/01

port link-type access 

port access vlan 10

int g1/0/2

port link-type access

port access vlan 10

int g1/0/3

port link-type access

port access vlan 20

int g 1/0/4

port link-type access

port access vlan 20

qu

int g 1/0/48

port link-type trunk 

port trunk permit vlan 10 20

右边交换机:

sys

vlan 10

vlan 20

int g1/0/1

port link-type access 

port access vlan 10

int g1/0/2

port link-type access

port access vlan 20

qu

int g 1/0/48

port link-type trunk

port trunk permit vlan 10 20

上面交换机:

sys

vlan 10 

vlan 20

int range g1/0/1 to 1/0/2

port link-type trunk

port trunk permit vlan 10 20

int g1/0/48

port link-type trunk 

port trunk permit vlan 10 20

路由器:

sys

int g0/0.10

vlan-type dot1q vid 10

ip address 192.168.10.254 24

int g 0/0.20

vlan-type dot1q vid 20

ip add 192.168.20.254 24

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!