beautypg.com

Show port monitor, Show port monitor -189 – SMC Networks SMC TigerStack III SMC6824MPE User Manual

Page 451

background image

M

IRROR

P

ORT

C

OMMANDS

4-189

Example

The following example configures the switch to mirror all packets from port
6 to port 11.

show port monitor

Use this command to display mirror information.

Syntax

show port monitor [interface]

interface - ethernet unit/port (source port)

unit - Switch (unit 1).
port - Port number.

Default Setting

Shows all sessions.

Command Mode

Privileged Exec

Command Usage

This command displays the currently configured source port, destination
port, and mirror mode (i.e., RX, TX, RX/TX).

Example

The following shows mirroring configured from port 6 to port 11.

Console(config)#interface ethernet 1/11
Console(config-if)#port monitor ethernet 1/6 both
Console(config-if)#

Console(config)#interface ethernet 1/11
Console(config-if)#port monitor ethernet 1/6
Console(config-if)#end
Console#show port monitor
Port Mirroring
-------------------------------------
Destination port(listen port):Eth1/1
Source port(monitored port) :Eth1/6
Mode :RX/TX
Console#