АМАТЕК AN-SGM28P24-400 [53/322] Configuration mirror

АМАТЕК AN-SGM28P24-400 [53/322] Configuration mirror
52 / 322
For example, display port 1/1 information
Switch# show interface ge1/1
For example, displays all ports information
Switch# show interface
3.2 Configuration MIRROR
The port mirroring is a very useful function for monitoring the flow of packets received and
sent by one or more ports. It can use mirroring ports to monitor packets received and sent from
one or more portsswitches support port mirroring capabilities, mirroring the port's ability to
monitor incoming data from other ports and the data that goes out. A mirrored port can monitor
multiple ports at the same timeThis section focuses on the configuration of MIRROR, including
the following
Configuration of the MIRROR listen on port and is listening on port
Display the configuration of MIRROR
3.2.1 Configuration of the MIRROR listen on port and
is listening on port
When the administrator configures the monitoring port, you need to enter the interface
configuration mode to set up the monitored port. For example, setting port ge1/1 monitoring port
ge1/2, you need to enter the port ge1/1 and type the command
Switch(config-ge1/1)# mirror interface ge1/2 direction both
At this point, the port ge1/1 is set to the listening port, and the ge1/2 is set to the listening
port
The command to set up the monitored port is as follows
Switch(config-ge1/1)#mirror interface <if-name> direction {both | receive | transmit}
At this time, ge1/1 port is set to monitor port, <if-name> is set to be listening port, while
behind the {both receive transmit} | | pointed out the direction of monitoringReceive represents
the received packets; the transmit monitors the packets sent; the both monitors all packets sent and
received. such as
Switch(config-ge1/1)#mirror interface ge1/2 direction both

Содержание

Похожие устройства

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