sample
Configures the packet sample rate associated with an access list.
Syntax: sample tag-name rate
tag-name
Name associated with this sample rate.
rate
A numeric value used as the denominator for the sample ratio 1/x. An entered value of 100 specifies a sample rate of 1 in 100 packets. Valid values: 1 - 65535. Default: None.
Description: A sample rate is associated with access-list packet filtering. The sample rate is expressed as a ratio of 1 over the entered value for rate i.e. 1/x where x is the entered value.
Use the sample command specifying a sample name and rate. Associate the sample rate with an access list using the sample option of the access-list command.
Factory Default: None.
Command Mode: Configuration.
Example: The following example configures a sample named sampleDeny to sample 1 in 100 packets and associates this rate with the acl1 access list for access-group srcFilter.
router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#sample sampleDeny 100
router(config)#ip access-group extended srcFilter
router(config-ext-nacl)#access-list acl1 deny ip 12.160.0.0 0.0.255.255 sample sampleDeny
Related Commands: access-list
rate-limit
Copyright © 2004
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: Routing_Pol.fm
HTML File Name: Routing_Pol31.html
Last Updated: 05/10/04 at 16:38:37