HP 6125G HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 65

qos apply policy global

Page 65 highlights

View undo qos apply policy [ policy-name ] { inbound | outbound } User profile view Default level 2: System level Parameters inbound: Applies the QoS policy to the traffic sent by the online users. outbound: Applies the QoS policy to the traffic received by the online users. policy-name: Policy name, a string of 1 to 31 characters. Description Use qos apply policy to apply a QoS policy to a user profile. Use undo qos apply policy to remove the QoS policy. If a user profile is activated, the QoS policy, including the ACLs referenced in the QoS policy, applied to it cannot be configured or removed. The QoS policy applied to a user profile takes effect when the user-profile is activated and the users are online. Only the remark, car, and filter actions are supported in the QoS policies applied in user profile view. A null policy cannot be applied in user profile view. Examples # Apply policy test to the traffic sent by the users online. (Assume that that the QoS policy has been configured.) system-view [Sysname] user-profile user [Sysname-user-profile-user] qos apply policy test inbound qos apply policy global Syntax qos apply policy policy-name global { inbound | outbound } View undo qos apply policy [ policy-name ] global { inbound | outbound } System view Default level 2: System level Parameters policy-name: Policy name, a string of 1 to 31 characters. inbound: Applies the QoS policy to the incoming packets on all ports. outbound: Applies the QoS policy to the outgoing packets on all ports. 60

  • 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

60
undo qos apply policy
[
policy-name
] {
inbound
|
outbound
}
View
User profile view
Default level
2: System level
Parameters
inbound
: Applies the QoS policy to the traffic sent by the online users.
outbound
: Applies the QoS policy to the traffic received by the online users.
policy-name
: Policy name, a string of 1 to 31 characters.
Description
Use
qos apply policy
to apply a QoS policy to a user profile.
Use
undo
qos apply policy
to remove the QoS policy.
If a user profile is activated, the QoS policy, including the ACLs referenced in the QoS policy, applied to
it cannot be configured or removed.
The QoS policy applied to a user profile takes effect when the user-profile is activated and the users are
online.
Only the
remark
,
car
, and
filter
actions are supported in the QoS policies applied in user profile view.
A null policy cannot be applied in user profile view.
Examples
# Apply policy
test
to the traffic sent by the users online. (Assume that that the QoS policy has been
configured.)
<Sysname> system-view
[Sysname] user-profile user
[Sysname-user-profile-user] qos apply policy test inbound
qos apply policy global
Syntax
qos apply policy
policy-name
global
{
inbound
|
outbound
}
undo qos apply policy
[
policy-name
]
global
{
inbound
|
outbound
}
View
System view
Default level
2: System level
Parameters
policy-name
: Policy name, a string of 1 to 31 characters.
inbound
: Applies the QoS policy to the incoming packets on all ports.
outbound
: Applies the QoS policy to the outgoing packets on all ports.