Cisco Cisco ASR 5000

Page of 9109
  Bulk Statistics Configuration Mode Commands 
p2p schema  ▀   
 
Command Line Interface Reference, StarOS Release 18  ▄  
 
   
1835 
p2p schema 
Creates and configures P2P (Peer-to-Peer) statistics schema. 
Product
 
ADC 
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
 
p2p schema schema_name format schema_format 
no p2p schema schema_name 
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 a 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 P2P bulk statistics collection. Multiple P2P schemas can be created 
to further categorize P2P-level bulk statistics. All of the schemas are processed at each collection interval. To 
create multiple P2P schemas, re-issue the 
p2p schema schema_name
 command using a different schema 
name. 
Example
 
The following command creates a schema named 
p2pstats
 to record the total number of bytes detected in 
uplink and downlink direction: 
p2p schema p2pstats format “%p2p-uplnk-bytes-name% %p2p-uplnk-bytes-
value% %p2p-dwlnk-bytes-name% %p2p-dwlnk-bytes-value%”