如果这篇文章对您有帮助,请关注并点赞,感谢您的支持,如果还有其他问题,请私信给我
前几期我们介绍了华为交换机的vlan模式设置,里面有一条命令是port link-type access ,这个是设置端口工作模式为access。当我们在port link-type 后面打问号的时候,会出现下图的样子
![2d8ac33c73281069d818f55c9ab4d7d8.png](https://img-blog.csdnimg.cn/img_convert/2d8ac33c73281069d818f55c9ab4d7d8.png)
这是华为端口的工作模式,有四种,今天我们来讲解其中的三种:access ,trunk,hybrid
Access 端口只能属于一个vlan ,一般是连接计算机的端口,只能运行设置一个vlan
例如设置端口工作模式为access ,并指定缺省的vlanID为100
![bfdac4665a8ceacad1f742f8bdf144e4.png](https://img-blog.csdnimg.cn/img_convert/bfdac4665a8ceacad1f742f8bdf144e4.png)
登录到e0/0/3接口,命令为int ethernet 0/0/3
![6c6ccdeb42ad1c875e21fe0099e47be4.png](https://img-blog.csdnimg.cn/img_convert/6c6ccdeb42ad1c875e21fe0099e47be4.png)
更改端口工作模式为access,命令为 port lin