Дерево страниц
Перейти к концу метаданных
Переход к началу метаданных

mirror <rx|tx>interface

This command enables the operation of mirroring the interfaces of the central switch PP4X and PLC8 modules for incoming/outgoing traffic. Interface mirroring allows you to copy traffic going from one interface to another for external analysis.

The use of the negative form of the command (no) disables the interface mirroring operation.

Syntax     

[no] mirror <rx|tx> interface <INTERFACE> <RANGE>
no mirror all

Parameters

<rx|tx> – traffic type:

  • rx – incomig;
  • tx – outgoing.

<INTERFACE> – interface type:  front-port; plc-front-port; plc-pon-port; plc-slot-channel; port-channel; slot-channel . The description of interfaces is given in Table 4.1.

<RANGE> – interface number. The range of values and numbering rules are described in Table 4.1. If the value 'all' is specified, all interfaces of the specified type will be specified in the command.
You may specify the list of numbers using comma ( , ) or specify the range using hyphen ( - ).

Command mode

CONFIG

Example

ma4000(config)# mirror rx interface front-port all

For incoming traffic coming to front-port interfaces, port mirroring operation is enabled. Traffic is copied from front-port interfaces to the interface analyzer installed by the command mirror rx analyzer for further analysis without interfering with the front-port data stream.

mirror <rx|tx> analyzer

This command allows you to install an interface to which packets will be duplicated to analyze incoming/outgoing traffic from the interfaces installed by the mirror rx port/mirror tx port command.

Syntax     

mirror <rx|tx> analyzer <INTERFACE><RANGE>

Parameters

<rx|tx> – traffic type:

  • rx – incomig;
  • tx – outgoing.

<INTERFACE> – interface type:  front-port; plc-front-port; plc-pon-port; plc-slot-channel; port-channel; slot-channel . The description of interfaces is given in Table 4.1.

<RANGE> – interface number. The range of values and numbering rules are described in Table 4.1. If you specify the value 'all' in the command, all interfaces of the given type will be specified.
You may specify the list of numbers using comma ( , ) or specify the range using hyphen ( - ).

Command mode

CONFIG

Example

ma4000(config)# mirror rx analyzer front-port 1/2

Data for external analysis will be duplicated to the 2 uplink ports of the first PP4X board from the port/ports where the option 'mirror incoming traffic' is set.

mirror add-tag

This command allows adding the 802.1q mark to the traffic being analyzed. Setting the tag value can be done by the command mirror <rx/tx> added-tag-config.

The use of the negative form of the command (no) removes the tag.

Syntax     

[no] mirror add-tag

Parameters

The command contains no arguments.

Command mode

CONFIG

Example

ma4000(config)# mirror add-tag

mirror <rx|tx> added-tag-config

This command allows you to set a tag value that can be added to the analyzed incoming/outgoing traffic.

Syntax     

mirror <rx|tx>  added-tag-config vlan <VID> [user-prio <USER-PRIO>]

Parameters

<VID> – identification VLAN number, takes values from [1 .. 4094];

<USER-PRIO> – COS priority, takes values from [0 .. 7].

Command mode

CONFIG

Example

ma4000(config)# mirror rx added-tag-config vlan 4 user-prio 5

mirror <rx|tx> vlan

The command specifies the VLANID to be used in the mirroring operation when transmitting incoming/outgoing traffic.

Syntax     

[no] mirror <rx|tx> vlan <VID>

Parameters

<rx|tx> – traffic type:

  • rx – incomig;
  • tx – outgoing.

<VID> – VLAN ID, takes values of [1..4094].

Command mode

CONFIG

Example

ma4000(config)# mirrorrxvlan 3
  • Нет меток