Port Monitor Commands 38526Port Monitor CommandsThis chapter explains the following commands:• monitor session• show monitor sessionmonitor sessionUse the monitor session command in Global Configuration mode to configure a probe port anda monitored port for monitor session (port monitoring). Use the src-interface parameter tospecify the interface to monitor. Use rx to monitor only ingress packets, or use tx to monitor onlyegress packets. If you do not specify an {rx | tx} option, the destination port monitors bothingress and egress packets. Use the destination interface to specify the interface to receive themonitored traffic. Use the mode parameter to enabled the administrative mode of the session. Ifenabled, the probe port monitors all the traffic received and transmitted on the physicalmonitored port.Syntaxmonitor sessionsession-id {source interfacesrc-interface [rx | tx] | destination interfacedst-interface | mode}no monitor session•session id — Session identification number.• src-interface — Ethernet interface (Range: Any valid Ethernet Port)• rx — Monitors received packets only. If no option specified, monitors both rx and tx• tx — Monitors transmitted packets only. If no option is specified, monitors both rx and tx.• dst-interface — Ethernet interface (Range: Any valid Ethernet Port)Default ConfigurationThis command has no default configuration.Command ModeGlobal Configuration modeUser GuidelinesThis command has no user guidelines.