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

Configuring traffic mirroring, Traffic mirroring configuration task list, Configuring match criteria

Page 126 highlights

Configuring traffic mirroring Traffic mirroring copies the specified packets to the specified destination for packet analyzing and monitoring. It is implemented through QoS policies. You define traffic classes and configure match criteria to classify packets to be mirrored, and then you configure traffic behaviors to mirror packets that fit the match criteria to the specified destination. Traffic mirroring allows you to flexibly classify packets to be analyzed by defining match criteria. For more information about QoS policies, traffic classes, and traffic behaviors, see ACL and QoS Configuration Guide. You can configure the traffic to be mirrored to the following destinations: • Interface-Mirroring traffic to an interface copies the matching packets to an interface connecting to a data monitoring device, which analyzes the packets received on the interface. • CPU-Mirroring traffic to a CPU copies the matching packets to a CPU in a device that is configured with traffic mirroring, to analyze the packets or deliver the packets to upper layers. Traffic mirroring configuration task list Tasks at a glance (Required.) Configuring match criteria (Required.) Configuring a traffic behavior (Required.) Configuring a QoS policy (Required.) Applying a QoS policy: • Applying a QoS policy to an interface • Applying a QoS policy to a VLAN • Applying a QoS policy globally • Applying a QoS policy to the control plane For more information about the following commands except the mirror-to command, see ACL and QoS Command Reference. Configuring match criteria Step Command Remarks 1. Enter system view. system-view N/A 2. Create a class and enter class view. traffic classifier tcl-name [ operator { and | or } ] By default, no traffic class exists. 3. Configure match criteria. if-match match-criteria By default, no match criterion is configured in a traffic class. 120

  • 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

120
Configuring traffic mirroring
Traffic mirroring copies the specified packets to the specified destination for packet analyzing and
monitoring. It is implemented through QoS policies. You define traffic classes and configure match
criteria to classify packets to be mirrored, and then you configure traffic behaviors to mirror packets that
fit the match criteria to the specified destination. Traffic mirroring allows you to flexibly classify packets to
be analyzed by defining match criteria. For more information about QoS policies, traffic classes, and
traffic behaviors, see
ACL and QoS Configuration Guide
.
You can configure the traffic to be mirrored to the following destinations:
Interface
—Mirroring traffic to an interface copies the matching packets to an interface connecting
to a data monitoring device, which analyzes the packets received on the interface.
CPU
—Mirroring traffic to a CPU copies the matching packets to a CPU in a device that is configured
with traffic mirroring, to analyze the packets or deliver the packets to upper layers.
Traffic mirroring configuration task list
Tasks at a glance
(Required.)
Configuring match criteria
(Required.)
Configuring a traffic behavior
(Required.)
Configuring a QoS policy
(Required.) Applying a QoS policy:
Applying a QoS policy to an interface
Applying a QoS policy to a VLAN
Applying a QoS policy globally
Applying a QoS policy to the control plane
For more information about the following commands except the
mirror-to
command, see
ACL and QoS
Command Reference
.
Configuring match criteria
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a class and enter class
view.
traffic classifier
tcl-name
[
operator
{
and
|
or
} ]
By default, no traffic class exists.
3.
Configure match criteria.
if-match
match-criteria
By default, no match criterion is
configured in a traffic class.