Jump to content

Recommended Posts

Posted

Добрый день.

Впервые столкнулся с настройкой QoS, в связи с чем есть сомнения в правильности настройки. Если тут есть знатоки этого оборудования буду рад комментариям по конфигурации.

Задача:

Есть 2 Vlan: для приложения (10) и для ceph (11). Трафик на свитч уже приходит с тэгами приоритета.
Vlan 10 - 6 приоритет.

Vlan 11 - 4

 

В 10 влане небольшой трафик, максимум в 20% полосы, но его надо отдавать с минимальными задержками.

В 11 наоборот, может быть много трафика и надо отдавать всю свободную полосу (но не ущемлять при этом 10 влан).

 

Я набросал такой конфиг:

!Current Configuration:
!Software Capability "Stack Limit = 12, VLAN Limit = 4093"
!Image File "N4000v6.5.4.10"
!System Description "Dell Networking N4032, 6.5.4.10, Linux 3.7.10-8f4da1f6"
!System Software Version 6.5.4.10
!Cut-through mode is configured as disabled
!
configure
vlan 10-11
exit
vlan 10
name "app"
exit
vlan 11
name "ceph"
exit
slot 1/0 2    ! Dell Networking N4032
slot 1/1 7    ! Dell SFP+ Card
stack
member 1 1    ! N4032
exit
interface vlan 1
exit              
interface vlan 10
ip address dhcp
exit
username "admin" password XXX privilege 15 encrypted
aaa authentication login "defaultList" local
classofservice dot1p-mapping 0 0
classofservice dot1p-mapping 2 1
classofservice dot1p-mapping 7 4
cos-queue min-bandwidth 15 20 40 20 5 0 0
cos-queue strict 4
application install SupportAssist auto-restart start-on-boot
!

interface Te1/0/1 (остальные интерфейсы настроены так-же)
switchport mode general
switchport general acceptable-frame-type tagged-only
switchport general allowed vlan add 10-11 tagged
switchport general allowed vlan remove 1
classofservice traffic-class-group 3 1
classofservice traffic-class-group 4 2
traffic-class-group weight 40 60 0
traffic-class-group strict 2
exit
!  

 

console(config)#show interfaces traffic-class-group tengigabitethernet 1/0/1

Interface...................................... Te1/0/1

Traffic Class Group Min. Bandwidth Max. Bandwidth Weight Scheduler Type
------------------- -------------- -------------- ------ --------------
0                   0              0              40     Weighted Round Robin
1                   0              0              60     Weighted Round Robin
2                   0              0              0      Strict

console(config)#show classofservice traffic-class-group tengigabitethernet 1/0/1

 Traffic Class    Traffic Class Group
---------------- -------------------
0                0
1                0
2                0
3                1
4                2
5                0
6                0

console(config)#show  classofservice dot1p-mapping 

 User Priority    Traffic Class
 -------------    -------------
       0                0
       1                0
       2                1
       3                1
       4                2
       5                2
       6                3
       7                4

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...
На сайте используются файлы cookie и сервисы аналитики для корректной работы форума и улучшения качества обслуживания. Продолжая использовать сайт, вы соглашаетесь с использованием файлов cookie и с Политикой конфиденциальности.