H3C 交换机限速和添加Vlan

<Sysname> system-view
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] qos lr outbound cir 10240				(10240=10MB)
[Sysname-GigabitEthernet1/0/1] qos lr inbound cir 10240
[Sysname-GigabitEthernet1/0/1]dis this  #查看该接口的VLAN 描述 限速等相关信息
[Sysname-GigabitEthernet1/0/1]description #百度_xx.xx.xx.xx_2M_B  添加此类的描述信息(如有需要)
display interface GigabitEthernet 1/0/26 #查看26端口状态
display interface brief  #查看所有端口的状态
[H3C]interface GigabitEthernet 1/0/24 #启用端口  
[H3C]undo shutdown   
[H3C]interface GigabitEthernet 1/0/24 #关闭端口  
[H3C]shutdown 
[H3C]interface GigabitEthernet 1/0/24  #将端口加入vlan 100
[H3C]port access vlan 100
[H3C]int Bridge-Aggregation 1 #放行vlan
[H3C]po tr per vlan 100 
[H3C]vlan 100 #批量放行vlan  
[H3C]port GigabitEthernet 1/0/1 to GigabitEthernet 1/0/24

save #保存配置

出现ALL backups complete:...出现备份完成信息,表示完成

 注意:此命令适用于H3C S5110 S5130 等

posted @ 2018-08-06 09:37  西北野狼110  阅读(2271)  评论(0编辑  收藏  举报