Professional Documents
Culture Documents
Table of Contents
Table of Contents
Chapter 1 Port Mirroring Configuration Commands ................................................................. 1-1 1.1 Port Mirroring Configuration Commands ........................................................................... 1-1 1.1.1 display mirroring-group ........................................................................................... 1-1 1.1.2 mirroring-group........................................................................................................ 1-2 1.1.3 mirroring-group mirroring-port ................................................................................. 1-3 1.1.4 mirroring-group monitor-port ................................................................................... 1-4 1.1.5 mirroring-group reflector-port .................................................................................. 1-5 1.1.6 mirroring-group remote-probe vlan ......................................................................... 1-7 1.1.7 mirroring-port........................................................................................................... 1-8 1.1.8 monitor-port ............................................................................................................. 1-8
Huawei Proprietary and Confidential Copyright (c) Huawei Technologies Co., Ltd
View
Any view
Parameter
group-id: A port mirroring group number, which can be 1 and 2. local: A local mirroring group. remote-source: A remote source mirroring group. remote-destination: A remote destination mirroring group. all: All mirroring groups.
Description
Use the display mirroring-group command to display the information of a mirroring group. The contents displayed vary according to the types of the mirroring groups. And they are arranged by the mirroring group numbers.
Example
# Display all the mirroring groups information.
<Sysname> display mirroring-group all mirroring-group 1: type: local status: active mirroring port: Ethernet1/0/1 Ethernet1/0/2 both both
Huawei Proprietary and Confidential Copyright (c) Huawei Technologies Co., Ltd
1-1
Table 1-1 Description on the fields of the display mirroring-group command Field mirroring-group type status mirroring port monitor port reflector port remote-probe vlan Description Port mirroring group number A mirroring groups type, including local, remote-source and remote-destination. A mirroring groups status. active for already effective, and inactive for not effective yet. Source mirroring port Destination mirroring port Reflector mirroring port Remote mirroring VLAN
1.1.2 mirroring-group
Syntax
mirroring-group group-id { local | remote-destination | remote-source } undo mirroring-group { group-id | all | local | remote-destination | remote-source }
View
System view
Parameter
group-id: A port mirroring group number, which can be 1 and 2. local: A local mirroring group. remote-source: A remote source mirroring group. remote-destination: A remote destination mirroring group. all: All mirroring groups.
Description
Use the mirroring-group command to create a mirroring group.
1-2 Huawei Proprietary and Confidential Copyright (c) Huawei Technologies Co., Ltd
Use the undo mirroring-group command to remove a mirroring group. You need to specify the type of the port mirroring group to be created when creating it.