H3C交换机端口限速实验

Inbound 

我的通俗理解:我发给别人,我用inbound命令,这是上传速度

[HY-ACCESS-D-GigabitEthernet1/0/40]qos lr inbound cir 8000
//单位是bit/s
//使用此条命令以后,该端口的电脑给其他电脑发送文件,最大速率不超过1Mb/s

Outbound 

我的通俗理解:别人发给我,我用outbound命令,这是下载速度

[HY-ACCESS-D-GigabitEthernet1/0/40]qos lr outbound cir 8000 
//单位是bit/s
//使用此条命令以后,其他电脑给该端口发送文件是,最大速率不超过1Mb/2,但是不会影响该端口给其他电脑发送文件的速度

Inbound和Outbound同时存在

[HY-ACCESS-D-GigabitEthernet1/0/40]qos lr inbound cir 8000
[HY-ACCESS-D-GigabitEthernet1/0/40]qos lr outbound cir 8000 
//同时设置了两条命令以后,该端口的电脑发送速度和接受速度均没有超过1Mb/s

小TIP:端口速率的单位经常用,bit/s来表示,1byte=8bit

发布了75 篇原创文章 · 获赞 30 · 访问量 3万+

猜你喜欢

转载自blog.csdn.net/NeverGUM/article/details/102727935