HP 6125XLG R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 68

qos vlan-policy, Predefined user roles, Parameters, Usage guidelines, Examples, Related commands

Page 68 highlights

Predefined user roles network-admin Parameters policy-name: QoS policy name, a case-sensitive string of 1 to 31 characters. Usage guidelines To use the undo qos policy command to delete a QoS policy that has been applied to a certain object, you must first remove it from the object. Examples # Define QoS policy user1. system-view [Sysname] qos policy user1 [Sysname-qospolicy-user1] Related commands • classifier behavior • qos apply policy • qos apply policy global • qos vlan-policy qos vlan-policy Use qos vlan-policy to apply a QoS policy to the specified VLANs. Use undo qos vlan-policy to remove the QoS policy from the specified VLANs. Syntax qos vlan-policy policy-name vlan vlan-id-list { inbound | outbound } undo qos vlan-policy policy-name vlan vlan-id-list { inbound | outbound } Default No QoS policy is applied to a VLAN. Views System view Predefined user roles network-admin Parameters policy-name: Specifies a QoS policy name, a case-sensitive string of 1 to 31 characters. vlan-id-list: Specifies a list of up to eight VLAN IDs. A VLAN ID is in the range of 1 to 4094. You can enter individual discontinuous VLAN IDs and VLAN ID ranges in the form of start-vlan-id to end-vlan-id where the start VLAN ID must be smaller than the end VLAN ID. Each item in the VLAN list is separated by a space. You can specify up to eight VLAN IDs. inbound: Applies the QoS policy to the incoming packets in the specified VLANs. outbound: Applies the QoS policy to the outgoing packets in the specified VLANs. 63

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114

63
Predefined user roles
network-admin
Parameters
policy-name
: QoS policy name, a case-sensitive string of 1 to 31 characters.
Usage guidelines
To use the
undo
qos policy
command to delete a QoS policy that has been applied to a certain object,
you must first remove it from the object.
Examples
# Define QoS policy
user1
.
<Sysname> system-view
[Sysname] qos policy user1
[Sysname-qospolicy-user1]
Related commands
classifier behavior
qos apply policy
qos apply policy global
qos vlan-policy
qos vlan-policy
Use
qos vlan-policy
to apply a QoS policy to the specified VLANs.
Use
undo qos vlan-policy
to remove the QoS policy from the specified VLANs.
Syntax
qos vlan-policy
policy-name
vlan
vlan-id-list
{
inbound
|
outbound
}
undo qos vlan-policy
policy-name
vlan
vlan-id-list
{
inbound
|
outbound
}
Default
No QoS policy is applied to a VLAN.
Views
System view
Predefined user roles
network-admin
Parameters
policy-name
: Specifies a QoS policy name, a case-sensitive string of 1 to 31 characters.
vlan-id-list
: Specifies a list of up to eight VLAN IDs. A VLAN ID is in the range of 1 to 4094. You can enter
individual discontinuous VLAN IDs and VLAN ID ranges in the form of
start-vlan-id
to
end-vlan-id
where
the start VLAN ID must be smaller than the end VLAN ID. Each item in the VLAN list is separated by a
space. You can specify up to eight VLAN IDs.
inbound
: Applies the QoS policy to the incoming packets in the specified VLANs.
outbound
: Applies the QoS policy to the outgoing packets in the specified VLANs.