Qtech QSW-2900-24T-AC [57/209] Interface mirror

3-55
3.3 Interface mirror
3.3.1 Brief introduction of interface mirror
System provides mirror based on interface, that is, copy packet in a or more specified interface to monitor
interface to analyze and monitor packet. For example, copy packet of Ethernet 0/2 to specified monitor interface
Ethernet 0/3 so that test and keep record by protocols linked by monitor interface Ethernet 0/3.
System also provides packet mirror for specified source/destination MAC address. For example, mirror packet
from Ethernet 0/3 with the destination MAC address of 00:1f:ce:10:14:f1.
System also provides mirror divider, that is, sample packet that can be mirrored and send it to mirror
destination interface to reduce the number of packet to mirror destination interface.
3.3.2 Interface mirror configuration
Interface Mirror configuration command includes:
· Configure mirror destination interface
· Configure mirror source interface
· Display interface mirror
a) Configure mirror interface
Configure mirror destination interface in global configuration mode:
mirror destination-interface interface-num
This command will cancel original mirror destination interface.
Remove mirror interface:
no mirror destination-interface interface-num
For example:
! Configure Ethernet 0/1 to be mirror interface
QTECH(config)# mirror destination-interface ethernet 0/1
b) Configure mirror source interface
Configure mirror source-interface of switch in global configuration mode:
Configure mirror source-interface
mirror source-interface { interface-list | cpu } { both | egress | ingress }
interface-list is in the form of interface-num [ to interface-num ], which can be repeated for 3 times. Cpu
interface is in the form og character string cpu, both means mirroregress and ingress interfaces, egress means
mirror interface egress and ingress means mirror interface ingress.
Remove mirror source interface
no mirror source-interface { interface-list | cpu }
For example:
! Configure Ethernet 0/1 to Ethernet 0/12 to be mirror source interfaces
QTECH(config)# mirror source-interface ethernet 0/1 to ethernet 0/12 both
! Remove Ethernet 0/10 to Ethernet 0/12 from mirror source interfaces

Содержание

Скачать
Случайные обсуждения