![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/1/46/14651ff9-768d-4b79-9311-420a5abc824b/14651ff9-768d-4b79-9311-420a5abc824b-bg184.png)
number or (if congured) a name.
Depending on how many sessions are congured on the switch, you can use the same
command
to congure a MAC address as mirroring criteria in up to four sessions. To identify
a
session, you can enter either its name or number; for example: mirror 1 2 3 traffsrc4
Next Available Options:
■ mirror_session_id < 1 to 4 > -- Mirror destination number.(p. 386)
■ mirror_session_name -- Mirror destination name.(p. 386)
mirror_session_id
■ [no] monitor mac MAC-ADDR < src | dst | both > mirror < 1 to 4 >
Mirror destination number.
Range: < 1 to 4 >
mirror_session_name
■ [no] monitor mac MAC-ADDR < src | dst | both > mirror
Mirror destination name.
monitor_mac_direction
■ [no] monitor mac MAC-ADDR < src | dst | both >
Species how the MAC address is used to lter and mirror packets in inbound and/or
outbound
trafc on the interfaces on which the mirroring session is applied.
Supported Values:
■ src -- Monitor traffic with this MAC as source
■ dst -- Monitor traffic with this MAC as destination
■ both -- Monitor traffic with this MAC as source or destination
Next Available Option:
■ mirror -- Mirror destination.(p. 385)
386© 2009 Hewlett-Packard Development Company, L.P.
monitorCommand Line Interface Reference Guide