Chapter 4 Service Configuration
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.4.3 set mirror session delete source-port
Purpose
This command deletes ingress/egress mirroring source ports in accordance with a session:
Command Mode
Global configuration mode
Syntax
set mirror session
<
1-3
>
delete source-port
<
portlist
>{
ingress
|
egress
}
Parameter Description
Parameter
Description
<
1-3
>
Mirror function session number. Three sessions can be supported.
<
portlist
>
Port list.
ingress
Ingress mirroring source port.
egress
Egress mirroring source port.
Example
The following example deletes the ingress mirroring source ports 1, 5, 6, 7 and 12:
zte(cfg)#set mirror session 1 delete source-port 1,5-7,12 ingress
4-73
SJ-20130731155059-003|2013-11-27 (R1.0)
ZTE Proprietary and Confidential