Chapter2ACLConguration
Related
Commands
showacl
acl-log
PurposeUsethiscommandtocongureACLlogmode,packetcountmode
ortimemode.
CommandModesGlobalconguration
Syntaxacl-log{count|time}<number>
Syntax
Description
count
Packetcountlogmode
timeTimelogmode
<number>
Numberofpacketcount,range:
1~42949672955;timeintervalcongured
whentimingthelog,inseconds,range:30~
42949672955
Instructions�ThiscommandisappliedonlytoZXR10GARrouterandZXR10
ZSRrouter .
�WhenanACLwiththelogisusedforsomeinterface,therst
packetenablingtheACLrulewiththelogfunctionwillimmedi-
atelytriggerapieceofloginformation.Thepacketcountmode
meansthatthetimeintervalbetweentherstandthesecond
pieceofloginformationisimplementedbysettingthenumber
ofpackets.Thetimemodemeansthatthetimeintervalofthe
loginformationisthespeciedtime.
�Ifnologmodeisspecied,thetimeis300secondsbydefault.
ExampleThisexampledescribeshowtoconguretimelogmode.
ZXR10(config)#acl-logtime120
Related
Commands
showacl-statistics
acl-stat
PurposeUsethiscommandtoenableordisableACLpacketstatisticsand
clearACLrulepacketstatistics.
CommandModesGlobalConguration
Syntaxacl-stat{start|stop}
acl-statclear<acl-no>[rule-id]
Syntax
Description
acl-statACLpacketstatisticskeyword.
start
ACL-statisticsisenabled.
CondentialandProprietaryInformationofZTECORPORATION11