3Com 4200G 12-Port Configuration Manual page 256

4200g series switch
Hide thumbs Also See for 4200G 12-Port:
Table of Contents

Advertisement

242
C
28: C
HAPTER
ONFIGURATION FOR
Configuring MAC-Based
Mirroring
M
F
IRRORING
EATURES
Configuring port mirroring in system view
Table 212 Configure port mirroring in system view
Operation
Enter system view
Create a port mirroring
group
Configure the destination
port
Configure the source port
and specify the direction of
the packets to be mirrored
Display parameter settings
of the mirroring
Configuration Example
The source port is GigabitEthernet1/0/1. Mirror all packets received and sent using
this port.
The destination port is GigabitEthernet1/0/7.
Configuration procedure:
<S4200G> system-view
System View: return to User View with Ctrl+Z.
[4200G] mirroring-group 1 local
[4200G] interface gigabitEthernet1/0/7
[4200G-GigabitEthernet1/0/7] monitor-port
[4200G-GigabitEthernet1/0/7] quit
[4200G] interface gigabitEthernet1/0/1
[4200G-GigabitEthernet1/0/1] mirroring-port both
In MAC-based mirroring configuration, the MAC address you enter must be a static
MAC address that already exists in the MAC address entries. With the MAC-based
mirroring configured, the device mirrors the following packets to the destination port:
Packets whose source MAC addresses match the specified MAC addresses
Packets whose destination MAC addresses match the specified MAC addresses
Configuration prerequisites
The MAC address you enter must be a static MAC address that already exists in
the MAC address entries.
The destination port is specified.
Command
system-view
mirroring-group group-id local
mirroring-group group-id
monitor-port monitor-port
mirroring-group group-id
mirroring-port mirroring-port-list
{ both | inbound | outbound }
display mirroring-group { all |
local }
Description
-
Required
Required
Required
Optional
The display command can
be executed in any view

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents