Related commands
set lldp
re-init-delay,
tx-interval,
set port
vlan-name config
set port mirror
Use the set port mirror command to define a port mirroring source-destination pair. The
second port receives a copy of all packets sent to and received by the first port.
Syntax
set port mirror source-port module/port mirror-port module/port
sampling sampling_value direction direction_value
Parameters
Parameter
module
port
sampling_
value
direction_
value
User level
read-write
Context
general
Example
To set up port mirroring from port 3/1 to port 5/1 in the G350 for all packets sent and received:
G350-001(super)# set port mirror source-port 3/1 mirror-port 5/1
sampling always direction both
set lldp
system-control,
lldp,
show
lldp,
show lldp
Description
Number of the module
Number of the port on the module.
You can also specify a range of ports
separated by a dash, for example, 4/5-13 for
ports 5 to 13 on module 4 in the G350, or
10/3-5 for ETH LAN ports 3-5 on the front
panel of the G250.
Specifies whether to allow or disable
sampling of the transmissions
The direction of transmissions to mirror
Alphabetical listing of CLI commands
set lldp
tx-delay,
set lldp
config,
show port lldp
tx-hold-multiplier,
set lldp
config,
show port lldp
Possible
Default
Values
Value
always,
disable
rx, tx,
both
Issue 1.1 June 2005
449