Chapter 4 Service Configuration
Parameter
Description
<
portlist
>
Port list.
ingress
Ingress mirroring source port.
egress
Egress mirroring source port.
Example
The following example adds the egress mirroring source ports 1, 5, 6, 7 and 12:
zte(cfg)#set mirror add source-port 1,5-7,12 egress
4.4.2 set mirror session add dest-port
Purpose
This command adds ingress/egress mirroring destination ports in accordance with a
session and enables the RSPAN function for the mirroring ports.
Command Mode
Global configuration mode
Syntax
set mirror session
<
1-3
>
add dest-port
<
1-28
>{
ingress
|
egress
|
rspan
}
Parameter Description
Parameter
Description
<
1-3
>
Mirror function session number. Three sessions can be supported.
<
1-28
>
Port number. Port ranges vary with different device models.
ingress
Ingress mirroring port. In a session, the egress mirroring port and
ingress mirroring port can be different mirroring ports.
egress
Egress mirroring port. In a session, the egress mirroring port and
ingress mirroring port can be different mirroring ports.
rspan
Enables the RSPAN function for the mirroring ports. If the ingress
mirroring port and egress mirroring port are different mirroring
ports, the RSPAN function can be enabled separately.
Example
The following example sets the ingress mirroring port 1:
zte(cfg)#set mirror session 1 add dest-port 1 ingress
4-73
SJ-20131111172707-003|2013-11-27 (R1.0)
ZTE Proprietary and Confidential