Experiment

experiment

 

1,2 host access vlan 10, 3,4 host access vlan 20, so that the host communicate 1,2, 3,4 host exchange.

1, PC side configuration: ip address configuration.

2, switch configuration:

1) Create a vlan

system-view               

vlan 10

vlan 20                        

quit

2) configurations on PC Interface

interface g0/0/1     

port link-type access    

port access vlan 10

quit

interface g0/0/2

port link-type access

port access vlan 10

quit

interface g0/0/3

port link-type access

port access vlan 20

quit

interface g0/0/4

port link-type access

port access vlan 20

quit

 
 

1,2 host access vlan 10, 3,4 host access vlan 20, so that the host communicate 1,2, 3,4 host exchange.

1, PC side configuration: ip address configuration.

2, switch configuration:

1) Create a vlan

system-view               

vlan 10

vlan 20                        

quit

2) configurations on PC Interface

interface g0/0/1     

port link-type access    

port access vlan 10

quit

interface g0/0/2

port link-type access

port access vlan 10

quit

interface g0/0/3

port link-type access

port access vlan 20

quit

interface g0/0/4

port link-type access

port access vlan 20

quit

Guess you like

Origin www.cnblogs.com/cn-2/p/11926105.html