No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Description about qos-profile limit speed effect of variety scene

Publication Date:  2014-11-07 Views:  37 Downloads:  0
Issue Description

【 Problem Summary 】 consultation of qos-profile scene
【 Problem Details 】
qos-profile can limit speed flexibly, illustrate several typical scence of limit speed effect.This case mainly to introduce e
ffect qos-profile with identifier and and group command in layer 2 interface of multiple vlan.

Handling Process
No
Root Cause
No
Solution

【Resolution Summary】The correct qos-profile configuration can meet the requirement after using sub-interface instead of vlan
【Resolution Details】
qos-profile template sets scheduling parameters for user queues of a QoS profile
#
qos-profile test
user-queue cir 50000 pir 50000
#
Variety scene description as below:

1.qos-profile in the layer2 interface
1.1 without identifier command
Configuration Example:
#
interface GigabitEthernet8/0/1
portswitch
undo shutdown
port trunk allow-pass vlan 10 to 20
qos-profile test inbound vlan 10 to 20 identifier none
#
Effect:
Interface g 8/0/1 of VLAN 10 to VLAN20 share inbound traffic to 50Mbit/s.

1.2 with identifier command
Configuration Example:
#
interface GigabitEthernet8/0/1
portswitch
undo shutdown
port trunk allow-pass vlan 10 to 20
qos-profile test inbound vlan 10 to 20 identifier vlan-id
#
Effect:
Interface g 8/0/1 of VLAN 10 to VLAN20, each VLAN inbound traffic limit to 50Mbit/s.

2.qos-profile with group command in layer2 interface
2.1 Two or more layer2 interfaces without identifier command
2.1.1 Two layer2 interfaces are the same board and same TM (Generally, the same TM on the sub-card.)
Configuration Example:
#
interface GigabitEthernet8/0/1
portswitch
undo shutdown
port trunk allow-pass vlan 10 to 20
qos-profile test inbound vlan 10 to 20 identifier none group test
#
interface GigabitEthernet8/0/2
portswitch
undo shutdown
port trunk allow-pass vlan 10 to 20
qos-profile test inbound vlan 10 to 20 identifier none group test
#
Effect:
Interface g 8/0/1 and g 8/0/2 of VLAN 10 to VLAN20 share inbound traffic to 50Mbit/s.

2.1.2 Two layer2 interfaces are different board
Configuration Example:
#
interface GigabitEthernet8/0/1
portswitch
undo shutdown
port trunk allow-pass vlan 10 to 20
qos-profile test inbound vlan 10 to 20 identifier none group test
#
interface GigabitEthernet9/0/2
portswitch
undo shutdown
port trunk allow-pass vlan 10 to 20
qos-profile test inbound vlan 10 to 20 identifier none group test
#
Effect:
Interface g8/0/1 of VLAN 10 to VLAN20 share inbound traffic to 50Mbit/s. Also ,Interface g 9/0/2 of VLAN 10 to VLAN20 share inbound traffic to 50Mbit/s.

2.2 Two or more layer2 interface with identifier command
2.2.1 Two layer2 interfaces are the same board and same TM
#
Configuration Example:
interface GigabitEthernet8/0/1
portswitch
undo shutdown
port trunk allow-pass vlan 10 to 20
qos-profile test inbound vlan 10 to 20 identifier vlan-id group test
#
interface GigabitEthernet8/0/2
portswitch
undo shutdown
port trunk allow-pass vlan 10 to 20
qos-profile test inbound vlan 10 to 20 identifier vlan-id group test
#
Effect:
Each VLAN with two interfaces share inbound traffic to 50Mbit/s, for example, VLAN 10 with port member g8/0/1 and 8/0/2 share inbound traffic to 50Mbit/s, and so on.

2.2.2 Two layer2 interfaces are different board
Configuration Example:
#
interface GigabitEthernet8/0/1
portswitch
undo shutdown
port trunk allow-pass vlan 10 to 20
qos-profile test inbound vlan 10 to 20 identifier vlan-id group test
#
interface GigabitEthernet9/0/2
portswitch
undo shutdown
port trunk allow-pass vlan 10 to 20
qos-profile test inbound vlan 10 to 20 identifier vlan-id group test
#
Effect:
Interface g8/0/1 of VLAN 10 to VLAN20,each VLAN inbound traffic limit to 50Mbit/s. Also ,Interface g 9/0/2 of VLAN 10 to VLAN20,each VLAN inbound traffic limit to 50Mbit/s

3.qos-profile in the layer3 interface
3.1 layer3 interfaces are the same board and sub-card
Configuration Example:
#
interface GigabitEthernet8/0/0.1
vlan-type dot1q 1
ip address X.X.X.1 255.255.255.0
qos-profile test inbound identifier none group 1
#
interface GigabitEthernet8/0/1.1
vlan-type dot1q 1
ip address X.X.X.1 255.255.255.0
qos-profile test inbound identifier none group 1
#
Effect:
Two sub-interfaces share inbound traffic limit to 50Mbit/s.

3.2 layer3 interfaces are the same board but different sub-card
Configuration Example:
#
interface GigabitEthernet8/0/0.1
vlan-type dot1q 1
ip address X.X.X.1 255.255.255.0
qos-profile test inbound identifier none group 1
#
interface GigabitEthernet8/1/1.1
vlan-type dot1q 1
ip address X.X.X.1 255.255.255.0
qos-profile test inbound identifier none group 1
#
Effect:
Each sub-interface inbound traffic limit to 50Mbit/s.

3.3 layer3 interfaces are different board
Configuration Example:
#
interface GigabitEthernet8/0/0.1
vlan-type dot1q 1
ip address X.X.X.1 255.255.255.0
qos-profile test inbound identifier none group 1
#
interface GigabitEthernet7/0/1.1
vlan-type dot1q 1
ip address X.X.X.1 255.255.255.0
qos-profile test inbound identifier none group 1
#
Effect:
Each sub-interface inbound traffic limit to 50Mbit/s.

END