H3C S7500E Series Command Manual page 1163

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – Port Mirroring
H3C S7500E Series Ethernet Switches
You need to specify the type of the port mirroring group to be created when creating it.
Use the keyword local to create a local port mirroring group.
Use the keyword remote-destination to create a remote destination port
mirroring group.
Use the keyword remote-source to create a remote source port mirroring group.
You need to specify the port mirroring group type or the mirroring group number when
removing a port mirroring group:
Use the group-id argument to specify the port mirroring group to be removed.
Use the all keyword to remove all the port mirroring groups.
Use the local keyword to remove all the local port mirroring groups.
Use the remote-destination keyword to remove all the remote destination port
mirroring groups.
Use the remote-source keyword to remove all the remote source mirroring
groups.
Examples
# Create a local port mirroring group numbered 1.
<Sysname> system-view
[Sysname] mirroring-group 1 local
# Create remote destination mirroring group numbered 2.
<Sysname> system-view
[Sysname] mirroring-group 2 remote-destination
1.1.3 mirroring-group mirroring-port
Syntax
mirroring-group group-id mirroring-port mirroring-port-list { both | inbound |
outbound }
undo mirroring-group group-id mirroring-port mirroring-port-list { both | inbound |
outbound }
View
System view
Parameters
group-id: Port mirroring group number, in the range of 1 to 4.
mirroring-port-list: List of ports to be added to the port mirroring group. You can specify
multiple ports by providing this argument in the form of { interface-type
interface-number [ to interface-type interface-number ] }&<1-8>, where the
interface-type argument is port type, the interface-number argument is the port number,
Chapter 1 Port Mirroring Configuration Commands
1-3

Advertisement

Table of Contents
loading

Table of Contents