Configuration Example
The following example configures two network ports, one tool port, and a passall map and configures alarm buffer thresholds on the ports.
Step |
Description |
Command |
|||
|
Configure two network ports and a tool port. |
(config) # port 12/1/x5..x6 type network (config) # port 12/1/x2 type tool |
|||
|
Configure buffer thresholds on each port. |
(config) # port 12/1/x5 alarm buffer-threshold 30(config) # port 12/1/x6 alarm buffer-threshold 32(config) # port 12/1/x2 alarm buffer-threshold 35 |
|||
|
Create a passall map. |
(config) # map-passall alias bufExample(config map-passall alias bufExample) # from 12/1/x5..x6(config map-passall alias bufExample) # to 12/1/x2(config map-passall alias bufExample) # exit(config) # |
|||
|
Display buffer statistics. |
(config) # show buffer port 12/1/x5,12/1/x6,12/1/x2(config) # show profile current buffer(config) # show profile history buffer |
Use the following command to display the buffer statistics on the ports.
(config) # show buffer port 12/1/x5,12/1/x6,12/1/x2
Port Buffer Usage (%) Last Time Exceeds Threshold Buffer Alarm Threshold (%)
RX TX RX TX RX TX
-----------------------------------------------------------------------------------------------
12/1/x5 41 N/A 2014/07/01 17:30:07.371 N/A 30 N/A12/1/x6 39 N/A 2014/07/01 17:30:07.378 N/A 32 N/A12/1/x2 N/A 37 N/A 2014/07/01 17:30:07.384 N/A 35
Use the following command to display the current buffers:
(config) # show profile current buffer all
12/1/x2 counters value---------------------------
RX: 0 TX: 37 RX Config: 0 TX Config: 35Last Time Exceeding: 2014/07/01 17:30:07.384
12/1/x5 counters value---------------------------
RX: 41 TX: 0 RX Config: 30 TX Config: 0Last Time Exceeding: 0
12/1/x6 counters value---------------------------
RX: 39 TX: 0 RX Config: 32 TX Config: 0Last Time Exceeding: 0
Use the following command to display the last minute of buffer history for a specific port:
(config) # show profile history buffer 12/1/x5 min
===================================Port: 12/1/x5 minute history report===================================
Counter Name 0 sec ago 5 secs ago 10 secs ago 15 secs ago ============ ============ ============ ============ ===========
RX: 44 44 44 44 TX: 0 0 0 0 RX Config: 30 30 30 30 TX Config: 0 0 0 0
Counter Name 20 secs ago 25 secs ago 30 secs ago 35 secs ago ============ ============ ============ ============ ===========
RX: 44 44 44 44 TX: 0 0 0 0 RX Config: 30 30 30 30 TX Config: 0 0 0 0
Counter Name 40 secs ago 45 secs ago 50 secs ago 55 secs ago ============ ============ ============ ============ ===========
RX: 44 44 44 44 TX: 0 0 0 0 RX Config: 30 30 30 30 TX Config: 0 0 0 0