Video Monitoring Commands on Cisco ASR 9000 Series Router

Video Monitoring Commands on Cisco ASR 9000 Series Router

This chapter describes the commands used to configure and monitor video monitoring service on Cisco ASR 9000 Series Routers.

For detailed information about video monitoring concepts, configuration tasks, and examples, refer to the Implementing Video Monitoring Service on Cisco ASR 9000 Series Routers chapter in Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide.

clear performance traffic clone profile

To clear all packets cloned to a destination, use the clear performance traffic clone profile command in EXEC mode.

clear performance traffic clone profile profile name

Syntax Description

profile name

Profile name of clone whose packets need to be cleared.

Command Default

None

Command Modes

EXEC

Command History

Release Modification
Release 4.0.1

This command was introduced.

Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. If you suspect user group assignment is preventing you from using a command, contact your AAA administrator for assistance.

Task ID

Task ID Operation

netflow

read, write

Examples

Example

This example shows how to execute the clear performance traffic clone profile command from the command line interface

RP/0/RSP0/CPU0:routerclear performance traffic clone
 profile

clear performance traffic statistics

To clear all policy-map statistics, use the clear performance traffic statistics command in EXEC mode. This command clears all interval statistics, except the aggregate statistics.

clear performance traffic statistics interface type instance input

Syntax Description

interface

Specifies the particular interface or all interfaces whose statistics must be cleared.

input

Specifies the direction of traffic.

Command Default

None

Command Modes

EXEC

Command History

Release

Modification

Release 3.9.0

This command was introduced.

Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. If you suspect user group assignment is preventing you from using a command, contact your AAA administrator for assistance.

Task ID

Task ID

Operations

netflow

read, write

Examples

This example shows how to execute the clear performance traffic statistics command from the command line interface:

		RP/0/RSP0/CPU0:router clear performance traffic statistics interface gigabitEthernet 0/0/0/8 input
		
		
         

show performance traffic alerts

To display the active TCA (Threshold Crossing Alerts), use the show performance traffic alerts command in EXEC mode. TCAs are set when the configured parameters are met. TCAs are cleared when the configured parameters are not true. An event is generated for both set and clear.

show performance traffic alerts interface type instance input

Syntax Description

interface

Specifies a particular interface or all interfaces for which the performance traffic alerts are set.

Command Default

None.

Command Modes

EXEC

Command History

Release

Modification

Release 3.9.0

This command was introduced.

Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. If you suspect user group assignment is preventing you from using a command, contact your AAA administrator for assistance.

Task ID

Task ID

Operations

netflow

read

Examples

This is a sample output from the show performance traffic alerts command:

		RP/0/RSP0/CPU0:router# show performance traffic alerts interface ten0/6/0/0 input
		
		Interface: TenGigE0/6/0/0 Direction: input
		
		 GROUP Alerts
		  Class: class1
		    Num Flows: 1
		    Num Grouped Alerts: 1
		    Highest Alert Severity: Warning
		    React ID         Severity                   Metric
		    --------         --------                   ------
		          4          Critical                Flow Count
		
		 FLOW Alerts
		  Flow ID: 3496  Class: class1
		    Num Alerts: 3
		    Highest Alert Severity: Warning
		    React ID         Severity                   Metric
		    --------         --------                   ------
		          1          Critical 
		          2          Critical                   Media Rate Variation
		          5          Critical                   Delay Factor
		
		

This table describes the significant fields shown in the display.



Table 1 show performance traffic alerts Field Descriptions

Field

Description

Group/Flow Alerts

This alert is grouped or applies to a single flow.

Class

Name of the class-map used in the policy.

Flow ID

Unique identifier for the flow.
Note   

The flow id number will be different for unbind and rebind.

Num Flows

Number of flows that have been set in this group alert.

Num Grouped Alerts

Total number of grouped alerts.

Num Alerts

Total number of alerts set by flow.

Severity

Indicates the configured severity.

Highest Alert Severity

Indicates the highest severity of an alert set.

React ID

Specifies the configured react ID.

Metric

Indicates the type of alert set.

show performance traffic clone profile

To display the configured trap and clone profiles and the associated clone flows, use the show performance traffic clone profile command in EXEC mode.

show performance traffic clone profile profile name

Syntax Description

profile name

Profile name of clone.

Command Default

None

Command Modes

EXEC

Command History

Release Modification
Release 4.0.1

This command was introduced.

Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. If you suspect user group assignment is preventing you from using a command, contact your AAA administrator for assistance.

Task ID

Task ID Operation

netflow

read

Examples

Example

This example shows how to execute the show performance traffic clone profile command from the command line interface

RP/0/RSP0/CPU0:routershow performance traffic clone
 profile
-------------------------------------------------------------------------------
  Total number of trap and clone profiles: 3
-------------------------------------------------------------------------------
Profile Name: profile1                                  ID: 1         
-------------------------------------------------------------------------------
  description:                  new_profile
  egress interface:             GigabitEthernet0_0_0_8
  total number of clone flows:  2
-------------------------------------------------------------------------------
 clone  id      source             destination      
         1      2.2.2.2            229.1.1.1            
         2      2.2.2.2            229.1.1.2            
-------------------------------------------------------------------------------
Profile Name: profile2                                  ID: 2         
-------------------------------------------------------------------------------
  description:                  second profile
  egress interface:             GigabitEthernet0_0_0_19
  total number of clone flows:  5
-------------------------------------------------------------------------------
 clone  id      source             destination    
         1      1.1.1.1            229.1.1.10 
         2      1.1.1.1            229.1.1.11 
         3      1.1.1.1            229.1.1.12 
         4      1.1.1.1            229.1.1.14 
         5      1.1.1.1            229.1.1.15 
-------------------------------------------------------------------------------
Profile Name: profile3                                  ID: 3         
-------------------------------------------------------------------------------
  description:                  third profile
  egress interface:             TenGigE0_2_0_1
  total number of clone flows:  13
-------------------------------------------------------------------------------
 clone  id      source             destination
         1      12.12.12.12        233.1.1.1   
         2      12.12.12.12        233.1.1.2
         3      12.12.12.12        233.1.1.3
         4      12.12.12.12        233.1.1.4
         5      12.12.12.12        233.1.1.5
         6      12.12.12.12        233.1.1.6
         7      12.12.12.12        233.1.1.7
         8      12.12.12.12        233.1.1.8
         9      12.12.12.12        233.1.1.10
        10      12.12.12.12        233.1.1.11
        11      12.12.12.12        233.1.1.12
        12      12.12.12.12        233.1.1.16
        13      12.12.12.12        233.1.1.18

show policy-map type performance-traffic

To display the policy-map statistics of video monitoring features, use the show policy-map type performance-traffic command in EXEC mode. This command helps you to monitor the Quality of Experience (QoE) of the service provider's video flows.

show policy-map type performance-traffic interface type instance [ aggregate | brief | cumulative | detail | input | last | match ]

Syntax Description

interface type instance

Specifies particular interface to display.

aggregate

(Optional) Displays total number of flows and last time changed.

brief

(Optional) Displays only key metrics.

cumulative

(Optional) Displays cumulative statistics over the life time of the flow.

detail

(Optional) Displays detailed metrics.

input

(Optional) Displays input traffic policy.

last

(Optional) Displays last n intervals.

match

(Optional) Specifies match criteria to filter.

Command Default

The command default is 1.

Command Modes

EXEC

Command History

Release

Modification

Release 3.9.0

This command was introduced.

Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. If you suspect user group assignment is preventing you from using a command, contact your AAA administrator for assistance.

Task ID

Task ID

Operations

netflow

read

Examples

These are various sample outputs from the show policy-map type performance-traffic command:

		RP/0/RSP0/CPU0:router# show policy-map type performance-traffic interface tenGigE 0/6/0/0 brief
		
		-------------------------------------------------------------------------------
		Interface:      TenGigE0/6/0/0     Direction: input
		Service-Policy: policy1
		-------------------------------------------------------------------------------
		 Total Num Flows: 2
		 FlowID   Flow Key                                             MRV(%)  DF (ms)
		 ------   --------                                             ------  -------
		   3528  6.1.1.2:4000          -> 225.0.0.1:4000        UDP     0.000    3.337
		   3496  6.1.1.2:4000          -> 225.0.0.101:4000      UDP    50.000  2502.220
		
		-------------------------------------------------------------------------------
		  Class Name                                Num-Flows
		  ----------                                ---------
		  class1                                    2
		-------------------------------------------------------------------------------
		RP/0/RSP0/CPU0:router#show policy-map type performance-traffic interface tenGigE0/6/0/0 aggregate brief
		
		
		Interface: TenGigE0/6/0/0 Direction: input
		
		  Number of flows      : 2
		  Last flow add/delete : Tue Nov  3 13:46:56 2009
		
		RP/0/RSP0/CPU0:ios#show policy-map type performance-traffic interface ten0/6/0/0 detail
		Tue Nov  3 13:52:02.046 EST
		-------------------------------------------------------------------------------
		Interface:      TenGigE0/6/0/0     Direction: input
		Service-Policy: policy1
		-------------------------------------------------------------------------------
		 Total Num Flows: 2
		
		 Flow: 3528     Key: 6.1.1.2:4000 -> 225.0.0.1:4000 UDP
		 Class: class1                                    Total Intvls: 1
		  Intvl#  1,  Updated at: Tue Nov  3 13:51:56 2009,  Duration: 10 s
		    Metric type:       IP-CBR
		    MRV:               0.000    %         DF:             3.338 ms
		    Avg Packet Rate:   300.00  pps        Total Packets:  3000
		    Avg Bit Rate:      3158    kbps       Total Bytes:    3948000
		    Avg Packet Len:    1316.00  B
		    IPv4 TTL:          63
		
		 Flow: 3496     Key: 6.1.1.2:4000 -> 225.0.0.101:4000 UDP
		 Class: class1                                    Total Intvls: 1
		  Intvl#  1,  Updated at: Tue Nov  3 13:51:54 2009,  Duration: 10 s
		    Metric type:       IP-CBR
		    MRV:               50.000   %         DF:             2502.220 ms
		    Avg Packet Rate:   450.00  pps        Total Packets:  4500
		    Avg Bit Rate:      4737    kbps       Total Bytes:    5922000
		    Avg Packet Len:    1316.00  B
		    IPv4 TTL:          63
		
		-------------------------------------------------------------------------------
		  Class Name                                Num-Flows
		  ----------                                ---------
		  class1                                    2
		-------------------------------------------------------------------------------
		
		RP/0/RSP0/CPU0:router#show policy-map type performance-traffic interface tenGigE0/6/0/0 last 5
		
		-------------------------------------------------------------------------------
		Interface:      TenGigE0/6/0/0     Direction: input
		Service-Policy: policy1
		-------------------------------------------------------------------------------
		 Total Num Flows: 2
		
		 Flow: 3528     Key: 6.1.1.2:4000 -> 225.0.0.1:4000 UDP
		 Class: class1                                    Total Intvls: 5
		  Intvl#   Updated at                   Durn    MRV(%)    DF(ms)
		     1     Tue Nov  3 13:53:26 2009      10      0.000     3.337
		     2     Tue Nov  3 13:53:16 2009      10      0.000     3.337
		     3     Tue Nov  3 13:53:06 2009      10      0.000     3.337
		     4     Tue Nov  3 13:52:56 2009      10      0.000     3.337
		     5     Tue Nov  3 13:52:46 2009      10      0.000     3.337
		
		
		 Flow: 3496     Key: 6.1.1.2:4000 -> 225.0.0.101:4000 UDP
		 Class: class1                                    Total Intvls: 5
		  Intvl#   Updated at                   Durn    MRV(%)    DF(ms)
		     1     Tue Nov  3 13:53:24 2009      10     50.000  2502.220
		     2     Tue Nov  3 13:53:14 2009      10     50.000  2502.220
		     3     Tue Nov  3 13:53:04 2009      10     50.000  2502.220
		     4     Tue Nov  3 13:52:54 2009      10     50.000  2502.220
		     5     Tue Nov  3 13:52:44 2009      10     50.000  2502.220
		
		
		-------------------------------------------------------------------------------
		  Class Name                                Num-Flows
		  ----------                                ---------
		  class1                                    2
		-------------------------------------------------------------------------------
		
		RP/0/RSP0/CPU0:router#show policy-map type performance-traffic interface tenGigE0/6/0/0 match flow-id 3496
		
		-------------------------------------------------------------------------------
		Interface:      TenGigE0/6/0/0     Direction: input
		Service-Policy: policy1
		-------------------------------------------------------------------------------
		 Total Num Flows: 2
		 FlowID   Flow Key                                             MRV(%)  DF (ms)
		 ------   --------                                             ------  -------
		   3496  6.1.1.2:4000          -> 225.0.0.101:4000      UDP    50.000  2502.220
		-------------------------------------------------------------------------------
		  Num Flows Displayed: 1
		-------------------------------------------------------------------------------
		
		

This table describes the significant fields shown in the display.



Table 2 show policy-map type performance traffic command Descriptions

Field

Description

DF

Delay Factor.

Mrv

Media Rate Variation.

Total intvls

Number of user-defined intervals.

Service-policy

Name of the service-policy for this flow.

Duration

Length of an interval.

Num-flows

Total number of flows matching this policy.

Flow

Unique flow-ID