2960交換機限速

2021-09-22 04:27:22 字數 1204 閱讀 6727

配置 

mls qos 

! class-map match-all classmap 

match access-group 47 

! ! 

policy-map policymap 

class classmap 

police 1000000 8000 exceed-action drop 

! ! 

inte***ce fastethernet0/47 

switchport mode access 

service-policy input policymap 

spanning-tree portfast 

! ! 

access-list 47 permit any

3560交換機限速: 

在3560 emi上做速率限制是採用qos的速率管制功能(policying),依次需要做如下配置。

1、在所有埠上關閉流量控制

3560(config)#inte***ce range gigabitethernet 0/1 - 12

3560(config-if-range)#flowcontrol receive off

3560(config-if-range)#flowcontrol send off

2、啟用qos

3560(config)#mls qos

3560#show mls qos

qos is enabled

3、依次配置acl、class-map、policy-map並應用在gi0/8介面下:

access-list 110 permit ip host 10.10.11.25 any

class-map match-all all-iptraffic

match access-group 110

policy-map qos

class all-iptraffic

police 2048000 102400 exceed-action drop

inte***ce gigabitethernet0/8

switchport access vlan 3

switchport mode access

service-policy input qos

flowcontrol send off

no cdp enable

華為交換機埠限速

2000 ei系列以上的交換機都可以限速 限速不同的交換機限速的方式不一樣 2000 ei直接在埠檢視下面輸入line rate 4 引數可選 埠限速配置 1功能需求及組網說明 埠限速配置 配置環境引數 1.pc1和pc2的ip位址分別為10.10.1.1 24 10.10.1.2 24 組網需求 ...

思科2960交換機配置命令

交換機基本狀態 switch rom狀態,路由器是rommon hostname 使用者模式 hostname 特權模式 hostname config 全域性配置模式 hostname config if 介面狀態 交換機口令設定 switch enable 進入特權模式 switch confi...

Cisco 2960交換機排錯

原始出處 作者資訊和本宣告。否則將追究法律責任。cisco 2960交換機排錯 運維部一卡座的網路埠,接了一台tp link 16 換機,突然有天,發現接在這個交換機上的所有pc都不通了,簡單檢查了一下,發現此交換機進線口不亮燈 卡座口與tp link交換機連線線 用測線儀測了下,發現8個燈亮,初步...