Vlan划分接口

在接入交换机(连接PC的交换机)创建Vlan,把接口加入到规划的Vlan中;

System-view

Vlan batch 10 20 30 //创建Vlan10、20、30

Interface Ethernet 0/0/1 //进入Ethernet0/0/1

Port link-type access //端口设置为access类型

Port default vlan 10 //接口规划进Vlan10

 

猜你喜欢

转载自www.cnblogs.com/TT99/p/11959487.html