158 MES3000 Ethernet switch series
no port monitor remote vlan
vlan_id [tx | rx]
Remove the remote monitoring VLAN.
Ethernet interface configuration mode commands
Command line request in Ethernet interface configuration mode appears as follows:
console(config-if)#
These commands cannot be executed in Ethernet interface range configuration mode.
Table 5.180 —Commands available in Ethernet interface configuration mode
port monitor {gigabitethernet
gi_port | tengigabitethernet
te_port} [rx | tx]
gi_port: (1..8/0/1..24);
te_port: (1..8/0/1..4)
Enable monitoring function for the configured interface. This
interface will be deemed as the controlling port for the monitored
port specified in the command.
- gi_port/te_port—monitored port
- rx—copy packets received by the monitored port
- tx—copy packets sent by the monitored port
When rx/tx parameter is missing, all packets will be copied from
the monitored port.
Monitoring function can be configured on two ports
simultaneously.
no port monitor
{gigabitethernet gi_port |
tengigabitethernet te_port}
Disable monitoring function for the configured interface. This
interface will no longer be deemed as the controlling port for the
monitored port specified in the command.
port monitor vlan vlan_id
Enable monitoring function for the configured interface. This
interface will be deemed as the controlling port for the specified
VLAN.
Monitoring port should not belong to the configured
VLAN.
VLAN monitoring may be enabled only when there is a single
controlling port configured for the system.
If the controlling port has already been configured, you
can use only that port for VLAN monitoring.
no port monitor vlan vlan_id
Remove the specified VLAN from the monitoring.
Enable remote monitoring function for the configured interface.
Disable remote monitoring function for the configured interface.
EXEC mode commands
Command line request in EXEC mode appears as follows:
console>
Table 5.181 —Commands available in EXEC mode
Show information on monitored and controlling ports.
Example execution of commands
Define Ethernet interface 13 as the controlling interface for Ethernet interface 18. Transfer all
traffic from the interface 18 to the interface 13.
console# configure
console(config)# interface gigabitethernet 1/0/13
console(config-if)# port monitor gigabitethernet 1/0/18