211
Command Line Interface
Layer-2 Interface Commands
port monitor
Configures a port to monitor the traffic from another port.
NOTE:
Enable monitor in global configuration mode after setting the monitor port.
Command Mode:
Interface Configuration
Syntax
[no] port monitor <port> direction <direction>
Description
■
<port>
- Sets the port to be monitored.
■
direction <direction>
- Sets the data direction to be monitored, may be rx, tx, or
both. rx: monitors received packets. tx: monitors transmitted packages. both: monitors
received and transmitted packets.
■
no port monitor
- Disables port monitoring. Default.
Example
!Sets port 2 as the monitoring Port for port 4 with bi-direction (both)
monitoring.
Switch(config)#
interface
GigabitEthernet 1/2
Switch(config-if)#
port monitor
1/4
direction
both
Switch(config-if)#
!Disables port 2 as a monitoring port.
Switch(config)#
interface
GigabitEthernet 1/2
Switch(config-if)#
no port monitor
1/4
Switch(config-if)#
Содержание ZoneSwitch 4124
Страница 2: ......
Страница 64: ...50 Accessing the Switch Overview...
Страница 164: ...150 Graphical User Interface RMON Events Log RMON Events Log The Events Log menu item displays event logs...
Страница 168: ...154 Graphical User Interface POE...
Страница 170: ...156 Command Line Interface RMON Commands 364 POE Commands 374 Configuration File Example 378...
Страница 395: ...381 Safety and CE Regulations Safety and CE Regulations In this Chapter Safety Notices 382 Compliance Statements 383...
Страница 398: ...384 Safety and CE Regulations...
Страница 409: ...395 Index Workspace 53 Z ZoneSwitch 4124 4 ZoneSwitch 4224 7...
Страница 410: ...396 Index...