ip知识回顾

ip通信基础

 

把vlan 10、vlan 20加入到交换机接口:

system-view

vlan 10

vlan 20

quit

interface gi 1/0/1

port link-type access

port access vlan 10

interface gi 1/0/2

port link-type access

port access vlan 20

quit

interface gi 1/0/48  //配置级联口

port link-type trunk  //把接口配置为trunk模式

port trunk permit vlan 10 20 //允许vlan 10、vlan 20通过接口

 

 
 

posted on 2019-11-17 15:02  cdan  阅读(86)  评论(0)    收藏  举报

导航