Inter-VLAN communication access and trunk interface basis (NA)

Experimental requirements:

Realize the communication between the same VLAN

lab environment:

s3700 (two sets)

s5700

pc (IP planning by yourself)

 

Configuration ideas:

(1) Configure the corresponding access interface for the two access switches separately, and introduce each vlan separately

(2) Realize the connection between the access switch and the aggregation switch, configure the trunk interface, and allow vlan 10 20 to pass.

Configuration instructions for each device:

s3700 

[SW1]vlan batch 10 20 //创建vlan 10 20

port link-type access //接入交换机的下行端口口,配置access

port default vlan 10 //允许vlan 10通过



port link-type trunk //接入交换机的上行端口,配置trunk接口,实现与汇聚交换机的通信

port trunk allow-pass vlan 10 20  //允许vlan 10 20 通过

各s3700接入交换机接口配置同理

s5700

vlan batch 10 20  //创建vlan 10 20

port link-type trunk  //在连接两端的接入交换机下行端口处,设置trunk

port trunk allow-pass vlan all  //允许通过所有vlan

Summary: Trunk interface is to realize vlan data frame to transmit data across multiple switches, and trunk links need to be configured between switches.

 

Guess you like

Origin blog.csdn.net/qq_43575090/article/details/108982456