Cisco Cisco ASR 5000

Page of 9109
  Bulk Statistics Configuration Mode Commands 
context schema  ▀   
 
Command Line Interface Reference, StarOS Release 18  ▄  
 
   
1733 
context schema 
Configures context bulk statistics schema. 
Product
 
All 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec > Global Configuration > Bulk Statistics Configuration 
configure > bulkstats mode
 
Entering the above command sequence results in the following prompt: 
[local]host_name(config-bulkstats)# 
Syntax
 
context schema schema_name format schema_format 
no context schema schema_name 
no
 
Removes the specified schema. 
schema_name
 
Specifies the schema’s name. 
schema_name
 must be an alphanumeric string of 1 through 31 characters. 
format
 
schema_format
 
Specifies the schema’s format. 
schema_format
 must be an alphanumeric string of 1 through “1021 minus “number of characters in rest of 
the command, including spaces”” characters. For more information, see th
  
section. 
For information on the schema format’s syntax, see th
  section. 
Important:
  For the complete list of the statistics that are supported for this schema, refer to the Statistics and 
Counters Reference
Usage 
Use this command to define schemas for Context bulk statistics collection. Multiple context schemas can be 
created to categorize context statistics. All of the schemas are processed at each collection interval. To create 
multiple context schemas, re-issue the 
context schema
 
schema_name
 command using a different schema 
name. 
Example
 
To create a Firewall context schema named 
sfw_context_stats1
 that specifies a schema format of: 
 
Total packets received by firewall: 
sfw-total-rxpackets