HP 6125XLG R2306-HP 6125XLG Blade Switch Network Management and Monitoring Con - Page 127

Configuring a traffic behavior, Configuring a QoS policy, Applying a QoS policy

Page 127 highlights

Configuring a traffic behavior The CPU resides in the device configured with traffic mirroring. After you configure a traffic behavior, you can use the display traffic behavior command in any view to view traffic behavior configuration. To configure a traffic behavior: Step 1. Enter system view. 2. Create a traffic behavior and enter traffic behavior view. 3. Specify a mirroring destination for the traffic behavior. Command system-view traffic behavior behavior-name • Mirror traffic to an interface: mirror-to interface interface-type interface-number • Mirror traffic to a CPU: mirror-to cpu Remarks N/A By default, no traffic behavior exists. By default, no mirroring destination is configured for a traffic behavior. Configuring a QoS policy After the preceding configuration, you can use the display qos policy command in any view to view QoS policy configuration. To configure a QoS policy: Step Command 1. Enter system view. system-view 2. Create a QoS policy and enter the QoS policy view. qos policy policy-name 3. Associate a class with a traffic classifier tcl-name behavior behavior in the QoS policy. behavior-name Remarks N/A By default, no QoS policy exists. By default, no traffic behavior is associated with a class. Applying a QoS policy Applying a QoS policy to an interface By applying a QoS policy to an interface, you can mirror the traffic in a specific direction on the interface. A policy can be applied to multiple interfaces, but in one direction (inbound or outbound) of an interface, only one policy can be applied. To apply a QoS policy to an interface: Step 1. Enter system view. Command system-view 121

  • 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
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148

121
Configuring a traffic behavior
The CPU resides in the device configured with traffic mirroring.
After you configure a traffic behavior, you can use the
display traffic behavior
command in any view to
view traffic behavior configuration.
To configure a traffic behavior:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a traffic behavior and
enter traffic behavior view.
traffic behavior
behavior-name
By default, no traffic behavior
exists.
3.
Specify a mirroring
destination for the traffic
behavior.
Mirror traffic to an interface:
mirror-to
interface
interface-type
interface-number
Mirror traffic to a CPU:
mirror-to cpu
By default, no mirroring destination
is configured for a traffic behavior.
Configuring a QoS policy
After the preceding configuration, you can use the
display qos policy
command in any view to view QoS
policy configuration.
To configure a QoS policy:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a QoS policy and
enter the QoS policy view.
qos policy
policy-name
By default, no QoS policy exists.
3.
Associate a class with a traffic
behavior in the QoS policy.
classifier
tcl-name
behavior
behavior-name
By default, no traffic behavior is
associated with a class.
Applying a QoS policy
Applying a QoS policy to an interface
By applying a QoS policy to an interface, you can mirror the traffic in a specific direction on the interface.
A policy can be applied to multiple interfaces, but in one direction (inbound or outbound) of an interface,
only one policy can be applied.
To apply a QoS policy to an interface:
Step
Command
1.
Enter system view.
system-view