Mirroring-Group; Mirroring-Group Mirroring-Port - H3C S5120-SI Series Command Reference Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

mirroring-group

Syntax
mirroring-group group-id local
undo mirroring-group { group-id | local }
View
System view
Default Level
2: System level
Parameters
group-id: Specifies the number of the mirroring group to be created or removed. Its value can only be 1.
local: Creates a local mirroring group or removes a local mirroring group with the undo command.
Description
Use the mirroring-group command to create a mirroring group.
Use the undo mirroring-group command to remove the specified mirroring group.
By default, no mirroring group exists on a device.
Examples
# Create a local mirroring group numbered 1.
<Sysname> system-view
[Sysname] mirroring-group 1 local

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
Default Level
2: System level
Parameters
group-id: Number of a local mirroring group, which can only be 1.
mirroring-port-list: A list of source ports/port ranges to be assigned to or removed from the mirroring
group specified by groupid. You can specify up to eight single ports, port ranges, or combinations of
both for the list. A single port takes the form of interface-type interface-number. A port range takes the
form interface-type interface-number to interface-type interface-number, where the end port number
must be greater than the start port number.
1-2

Advertisement

Table of Contents
loading

Table of Contents