6-11
Cisco SCE8000 Software Configuration Guide
OL-16479-02
Chapter 6 Configuring the Line Interface
Configuring Traffic Rules and Counters
How to Delete all Existing Traffic Counters
Step 1 From the SCE(config if)# prompt, type no traffic-counter all and press Enter.
Removes all traffic counters.
Note A traffic counter cannot be deleted if it is used by any existing traffic rule.
Configuring Traffic Rules
Use the following commands to create and delete traffic rules.
• How to Create a Traffic Rule, page 6-11
• How to Delete a Traffic Rule, page 6-14
• How to Delete all Traffic Rules, page 6-14
How to Create a Traffic Rule
Options
The following options are available:
IP specification:
all|([all-but] (ip-address|ip-range))
• ip-address is a single IP address in dotted-decimal notation, such as 10.1.2.3
• ip-range is an IP subnet range, in the dotted-decimal notation followed by the number of significant
bits, such as 10.1.2.0/24.
• Use the all-but keyword to exclude the specified IP address or range of IP addresses
protocol:
Any one of the following protocols:
TCP/UDP/ICMP/IGRP/EIGRP/IS-IS/OSPF/all
port specification:
all|([all-but] (port#|port-range)
• Specify the ports only if the protocol is either TCP or UDP.
• Specify the port or port range for both the subscriber-side and the network-side.
• Specify a range of ports using the form MinPort:MaxPort.
• Use the all-but keyword to exclude the specified port or range of ports