Monitor
This command will allow the monitoring of packet flow. The command structure will first create a session, configure monitoring filters, start it, and delete it when finished.
|
Note 1: * = required parameter |
- Command Path - >ne monitor session
- Command Path - >olt monitor session
- Command - monitor
- Object - session
- Actions -
- session - packet monitor commands create, delete, edit, start, stop, show, status, and statistics
-
create - create packet monitor
-
*session-ID - session ID number
-
1-128
-
-
- delete - delete packet monitor
- *session-ID - session ID number
- *confirm - explicit confirmation to allow delete
- *session-ID - session ID number
- STATisticS - display packet monitor status
- *session-ID - session ID number
- status - display packet monitor status
-
*session-ID - session ID number
-
-
- session - packet monitor commands create, delete, edit, start, stop, show, status, and statistics
Create and show a session
- From the ESUx> command line, input **ne monitor session create session-ID=123, and press Enter. Output similar to the following is displayed:
ESUx> **ne monitor session show session-ID=33 <enter> ESUx> _
-
From the ESUx> command line, input **ne monitor session show session-ID=123, and press Enter. Output similar to the following is displayed:
ESUx> **ne monitor session show session-ID=123 <enter> | Packet Monitor Configuration | |=================================================================| | Session ID : 33 | | User Label : CONFIG-PKTMON-123 | | Type : Count | | Admin State : enabled | | Source(s) : NET1 | | Schedule | | Start : on-demand | | Stop : on-demand | | Filter | | Specification | | Packet Size(s) : unrestricted | |=================================================================| ESUx> _
Display status of a session
- From the ESUx> command line, input **ne monitor session status session-ID=123, and press Enter. Output similar to the following is displayed:
ESUx> **ne monitor session status session-ID=123 <enter> | Packet Monitor Status | |======|======|=========|===========|================| | Sesn | | | | | | ID | Type | Adm/Opr | Run State | Duration | |======|======|=========|===========|================| | 123 | cnt | ena/dn | n/a | n/a | |======|======|=========|===========|================| ESUx> _
Display statistics of a session
- From the ESUx> command line, input **ne monitor session statistics session-ID=123, and press Enter. Output similar to the following is displayed:
ESUx> **ne monitor session statistics session-ID=123 <enter> | Packet Monitor Statistics | |======|============|============|============| | | | Recent | Average | | Sesn | Total | Packets | Packets | | ID | Packets | Per Second | Per Second | |======|============|============|============| | 123 | 0 | 0 | 0 | |======|============|============|============| ESUx> _
Delete a session
- From the ESUx> command line, input **ne monitor session delete session-ID=123, and press Enter. Output similar to the following is displayed:
ESUx> **ne monitor session delete session-ID=123 <enter> explicit confirmation required [Y] : y ESUx> _