User guide

Chapter 7 Line Configuration
Configuring Traffic Rules and Counters
SCE 1000 2xGBE Release 2.0.10 User Guide
OL-7117-02 7-9
EXAMPLE 1
This example creates the following traffic rule:
Name = rule1
IP addresses: subscriber side = all IP addresses, network side = 10.10.10.10 only
Protocol = other
Direction = all
Traffic counter = counter1
Since it is not TCP/UDP, port and flags are not applicable.
The only action performed will be counting
SCE 1000 (config if)# traffic-rule rule1 IP-addresses subscriber-side all
network-side 10.10.10.10 protocol other direction all traffic-counter name
counter1
EXAMPLE 2
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
Ports: subscriber side = 100, network side = 100-150
Flags = FIN flag when value = 1 (preceding flag (SYN) must be set to all)
Direction = downstream
Traffic counter = counter2
Action = Block
The actions performed will be counting and blocking
SCE 1000 (config if)# traffic-rule rule2 IP-addresses subscriber-side all
network-side all-but 10.10.10.0/24 protocol TCP ports subscriber-side 100
network-side 100:150 flags SYN all FIN 1 direction downstream traffic-
counter name counter2 action block
EXAMPLE 3
This example creates the following traffic rule:
Name = rule3
IP addresses: all
Protocol = IS-IS
Direction = upstream
Traffic counter = none