第九周单臂路由实验

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

猜你喜欢

转载自www.cnblogs.com/147258a/p/10877283.html