Company Address: Flat 6, Bldg 4,South 2 of Honghualing Industrial Zone,Liuxian Road, Xili Town, Shenzhen, Guangdong, China(518055)
Tel: +86-755-26014509/4710/4711 Fax:+86-755-26014506
Website: www.cdatatec.com
64
In the worktime period, the message that its ip address is 10.10.10.2 are redirect to port 2,
OLT(config)#time‐rangeworktime8:00to18:00working‐day
OLT(config)#acl2000
OLT(acl‐basic‐2000)#rule2permitsource10.10.10.20.0.0.0time‐rangeworking‐day
OLT(acl‐basic‐2000)#exit
OLT(config)# traffic-redirectinbound 2000 port ge 1 to ge 2
12.8
traffic‐statistic
【Command】
traffic‐statistic(inbound|outbound)acl‐id[rule‐idrule‐id]port(ge|xge)port‐list
notraffic‐statistic(inbound|outbound )acl‐id[rule‐idrule‐id]port (ge|xge)port‐list
【View】
Configview
【Parameter】
Inbound:thetrafficon
inboundpacketsoftheinterface
Outbound:thetrafficonoutboundpacketsoftheinterface
rule‐id: theruleIDofACL
acl‐id:ACL’sname
port‐list:portslist
【Description】
traffic‐statistic:Command is used to configuration ACL statistics for specify the discharge port
and make it take effect. When you need to use the ACL rules on port traffic statistics, you can use
this command.
no traffic‐statistic:Command is used to cancel the ACL traffic statistics of the specified port.
When you need to delete the ACL traffic statistics of the specified port, you can use this
command.
【Example】
In the worktime period, the messagethat its ip address is 10.10.10.2hava traffic statistics.And the
message is from port 1
OLT(config)#time‐rangeworktime8:00
to18:00working‐day
OLT(config)#acl2000
OLT(acl‐basic‐2000)#rule2permitsource10.10.10.20.0.0.0time‐rangeworking‐day
OLT(acl‐basic‐2000)#exit
OLT(config)#traffic‐statisticinbound 2000 port ge 1
12.9
traffic‐statisticclear-counters
【Command】
traffic‐statisticclear-counters(inbound |outbound)acl‐id[rule‐idrule‐id]port(ge|xge)
port‐list
【View】