admin@stargate:/tmp/home/root# fc
Flow Cache Control Utility:
Proc FileSystem: /proc/fcache
::: Usage:
:::::: Flow Cache SW System :
fc status
fc enable
fc disable
fc resetstats
fc flush
[ --hw ]
- Flush all flows matching any combination of:
[ --if <interface> ]
| [ --flow <flowid> ]
| [ <--mac | --dstmac | --srcmac> <macaddr> ]
fc flwstats <cmd>
fc flwstats n <field> <value> [<field> <value> ]
- Create new query where <field> is one of the following:
srcv4, rxdstv4, dstv4, srcv6, dstv6, srcport, dstport,
srcipver, dstipver, proto, rxinvid, rxinpbits, rxoutvid,
rxoutpbits, txinvid, txinpbits, txoutvid, txoutpbits,
txtos|rxtos|txdscp|rxdscp <val>|all,
dstmac, srcmac, inrxdstmac(l2gre), inrxsrcmac(l2gre),
intxdstmac(l2gre), intxsrcmac(l2gre), srcphy, dstphy
rxchannel, txchannel (channel = gemidx for PON flows)
fc flwstats g <id> - Get results for query <id>.
fc flwstats d <id> - Delete query <id>.
fc flwstats c <id> - Clear counters on query <id>.
fc flwstats p [v] - Print out all active queries. (verbose)
fc flwstats i [<interval>] - set/get poll intreval in msec
fc nf-flwstats <cmd>
fc nf-flwstats n [<id>] - Activate query specified <id> or allocate
fc nf-flwstats g <id> [v] - Get results for query <id>. (verbose)
fc nf-flwstats d <id> - Delete query <id>.
fc nf-flwstats c <id> - Clear counters on query <id>.
fc nf-flwstats p - Print out all active queries.
fc config
[ --defer <rate> ]
| [ --sw-defer <pkts> ]
| [ --low-pkt-rate <rate> ]
| [ --monitor <0|1> ]
| [ --accel-mode <0|1> ]
| [ --hw-accel <0|1> ]
| [ --tx-thread <0|1> ]
| [ --tx-thread-idelay <yield lp>]
| [ --tcp-ack-mflows <0|1> ]
| [ --tos-mflows <0|1> ]
| [ --timer <ms> ]
| [ --mcast <0|1|2|3> ]
| [ --ipv6 <0|1> ]
| [ --4o6-frag <0|1> ]
| [ --gre <0|1> ]
| [ --l2tp <0|1> ]
| [ --idle-timer-tcp <s> ]
| [ --idle-timer-udp <s> ]
| [ --idle-timer-l2 <s> ]
| [ --idle-timer-mcast <s> ]
| [ --idle-timer-other <s> ]
| [ --pure-llc <0|1> ]
| [ --rx-pktlen-mode <0|1> ]
fc dump
[ --flow <flowid> ]
[ --mcast-bitmap <num-of-bitmaps> <bitmap-start-idx> <0|1> ]
[ --mcast-bitmap ]