Black Box Hardened Managed Ethernet Switche Computer Hardware User Manual


 
724-746-5500 | blackbox.com
Page 124
Chapter 7: Command-Line Management
The switch_a(config-if)# prompt will show on the screen.
switch_a(config)#interface fe1
switch_a(config-if)#
2. Usage:
Use this command to define a mirror source port and its direction.
Use the no parameter with this command to disable port mirroring by the destination port on the specified source port.
3. Command Syntax:
mirror interface SOURCEPORT direction SNOOPDIRECTION
no mirror interface SOURCEPORT
SOURCEPORT Name of the Source interface to be used.
SNOOPDIRECTION [both|receive|transmit]
both Specifies mirroring of traffic in both directions.
receive Specifies mirroring of received traffic.
transmit Specifies mirroring of transmitted traffic.
4. Example:
The following example enables port mirroring by the destination port fe1 (port 1) on the specified source port fe2 (port 2):
switch_a(config)#interface fe1
switch_a(config-if)#mirror interface fe2 direction both
switch_a(config-if)#
Link State Tracking
Group Setting:
1. Command Mode: Configure mode
Logon to Configure Mode (Configure Terminal Mode).
The switch_a(config)# prompt will show on the screen.
switch_a(config)#
2. Usage:
Use this command to enable link state tracking for the group.
Use the no parameter with this command to disable link state tracking for the group.
3. Command Syntax:
(no) link state track <1-10>
<1-10> Link state group number.
4. Example:
The following example enables link state tracking for the group 1:
switch_a(config)#link state track 1
switch_a(config)#