vlan常用的配置命令
时间: 2023-11-10 07:06:50 浏览: 165
1. 创建VLAN:
vlan vlan-id
2. 删除VLAN:
no vlan vlan-id
3. 配置VLAN名称:
vlan vlan-id name vlan-name
4. 配置VLAN接口:
interface interface-type interface-number
switchport access vlan vlan-id
5. 配置VLAN trunk接口:
interface interface-type interface-number
switchport mode trunk
switchport trunk allowed vlan vlan-id
6. 配置VLAN管理IP地址:
interface vlan vlan-id
ip address ip-address subnet-mask
7. 配置VLAN间路由:
interface vlan vlan-id
ip routing
8. 显示VLAN信息:
show vlan
9. 显示VLAN接口信息:
show interfaces switchport
10. 显示VLAN管理IP地址信息:
show ip interface brief
阅读全文
相关推荐
![doc](https://img-home.csdnimg.cn/images/20241231044833.png)
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)
![application/msword](https://img-home.csdnimg.cn/images/20210720083327.png)
![doc](https://img-home.csdnimg.cn/images/20241231044833.png)
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)
![](https://img-home.csdnimg.cn/images/20250102104920.png)
![docx](https://img-home.csdnimg.cn/images/20241231044901.png)
![](https://img-home.csdnimg.cn/images/20250102104920.png)
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)
![application/msword](https://img-home.csdnimg.cn/images/20210720083327.png)
![docx](https://img-home.csdnimg.cn/images/20241231044901.png)