User guide

3-70 Packet Over SONET Module Installation and User Guide
Configuring the PoS Module
The following command example configures a filter to collect statistics on ingress flows
destined for 192.168.1.1 from the 192.169.0.0/16 subnet with a destination port of 80
using protocol 6.
config flowstats filter 1 export 1 ports all ingress
dest-ip 192.168.1.1/FFFFFFFF source-ip 192.169.0.0/FFFF0000
dest-port 80/FFFF source-port 0/0 protocol 6/FF
Likewise, the following command example configures a filter to collect statistics on
egress traffic from the 192.168.0.0/16 subnet to 192.169.1.1 with a destination port of 80
using protocol 6.
config flowstats filter 1 export 1 ports all egress
dest-ip 192.169.1.1/FFFFFFFF source-ip 192.168.0.0/FFFF0000
dest-port 80/FFFF source-port 0/0 protocol 6/FF
The following command example configures a filter to collect aggregate statistics for all
egress traffic flowing from the 192.170.0.0/16 subnet to the 192.171.255.255 subnet.
config flowstats filter 2 aggregation export 1 ports all egress
dest-ip 192.171.0.0/FFFF0000 source-ip 192.170.0.0/FFFF0000
dest-port 0/0 source-port 0/0 protocol 0/0
Likewise, the following command example configures a filter to collect aggregate
statistics for all ingress traffic flowing from the 192.171.0.0/16 subnet to the
192.170.0.0/16 subnet.
config flowstats filter 2 aggregation export 1 ports all ingress
dest-ip 192.170.0.0/FFFF0000 source-ip 192.171.0.0/FFFF0000
dest-port 0/0 source-port 0/0 protocol 0/0
Finally, the following command examples configure two filtersan egress filter and an
ingress filter to collect statistics on any remaining flows that did not match the ingress
and egress filters defined in the four previous command examples.
config flowstats filter 3 export 1 ports all egress match-all-flows
config flowstats filter 3 export 1 ports all ingress match-all-flows