Specifications

Table Of Contents
2-530
Cisco SCE 2000 and SCE 1000 CLI Command Reference
OL-26797-03
Chapter 2 CLI Command Reference
traffic-rule
port specification:
all|([all-but] [port#] [port-range])
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.
Specify the ports only if the protocol is either TCP or UDP.
tunnel id specification:
all|([all-but] tunnel id) '
tunnel id is a Hex Tunnel id range, in the format '(HEX)Tunnel-id' or
'(HEX)MinTunnelId:(HEX)MaxTunnelId
traffic-counter name:
Either of the following:
Name of an existing traffic counter: Packets meeting the criteria of the rule are to be counted in
the specified counter.
If a counter name is defined, the “count” action is also defined implicitly.
none: If none is specified, then an action must be explicitly defined via the action option.
Use the all keyword with the no form to delete all existing traffic rules.
Use the tunnel-id-mode keyword to enable or disable defining the traffic rule according to the tunnel ID.
action:
One of the following:
block — Block the specified traffic
ignore — Bypass the specified traffic; traffic receives no service
quick-forwarding — Quick forwarding (duplication) of delay-sensitive packets with service.
quick-forwarding-ignore — Quick forwarding (duplication) of delay-sensitive packets with no
service.
flow-capture — Capture the flow matching the configured rule. No service is given to this flow.
Use the no traffic-rule capture command to delete all current flow capture rules.
Authorization: admin
Examples The following examples illustrate how to use this command:
Example 1:
This example creates the following traffic rule:
Name = rule2
IP addresses: subscriber side = all IP addresses, network side = all IP addresses EXCEPT the subnet
10.10.10.0/24
Protocol = TCP
subscriber-side port = 100
network-side ports = all-but 200