HP Mellanox SX1018 Mellanox MLNX-OS® User Manualfor SX1018HP Ethernet - Page 84

Configuring Mirroring Sessions

Page 84 highlights

Rev 1.6.9 The default behavior in congestion situations is to drop any excessive frames that may clog the system. ETS, PFC and FC configurations do not apply to the destination port. 5.10.1.5 Truncation When enabled, the system can truncate the mirrored packets into smaller 64-byte packets (default) which is enough to capture the packets' L2 and L3 headers. 5.10.2 Configuring Mirroring Sessions Figure 13 presents two network scenarios with direct and remote connectivity to the analyzer equipment. Direct connectivity is when the analyzer is connected to the analyzer port of the switch. In this case there is no need for adding an L2 header to the mirrored traffic. Remote connectivity is when the analyzer is indirectly connected to the analyzer port of the switch. In this situation, adding an L2 header may be necessary depending on the network's setup. Figure 13: Mirroring Session  To configure a mirroring session: Step 1. Create a session. Run: switch (config) # monitor session 1 This command enters a monitor session configuration mode. Upon first implementation the command also creates the session. Step 2. Add source interface(s). Run: switch (config monitor session 1) # add source interface ethernet 1/1 direction both Mellanox Technologies 84 Mellanox Technologies Confidential

  • 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

Rev 1.6.9
Mellanox Technologies
84
Mellanox Technologies Confidential
The default behavior in congestion situations is to drop any excessive frames that may clog the
system.
5.10.1.5 Truncation
When enabled, the system can truncate the mirrored packets into smaller 64-byte packets
(default) which is enough to capture the packets’ L2 and L3 headers.
5.10.2
Configuring Mirroring Sessions
Figure 13 presents two network scenarios with direct and remote connectivity to the analyzer
equipment. Direct connectivity is when the analyzer is connected to the analyzer port of the
switch. In this case there is no need for adding an L2 header to the mirrored traffic. Remote con-
nectivity is when the analyzer is indirectly connected to the analyzer port of the switch. In this
situation, adding an L2 header may be necessary depending on the network’s setup.
Figure 13: Mirroring Session
To configure a mirroring session:
Step 1.
Create a session. Run:
Step 2.
Add source interface(s). Run:
ETS, PFC and FC configurations do not apply to the destination port.
switch (config) # monitor session 1
This command enters a monitor session configuration mode. Upon first implementa-
tion the command also creates the session.
switch (config monitor session 1) # add source interface ethernet 1/1 direction both