Cisco SCE 2000 4xGBE Dokumentacja Strona 567

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 604
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 566
2-531
Cisco SCE 2000 and SCE 1000 CLI Command Reference
OL-26797-03
Chapter 2 CLI Command Reference
traffic-rule
Direction = downstream
Traffic counter = counter2
Action = Block
The actions performed will be counting and blocking
SCE>enable 10
Password:<cisco>
SCE#config
SCE(config)#interface linecard 0
SCE(config if)# traffic-rule name rule2 ip-addresses subscriber-side all network-side
all-but 10.10.10.0/24 protocol tcp ports subscriber-side 100 network-side all-but 200
direction downstream traffic-counter name counter2 action block
SCE(config if)
Example 2:
This example creates the following traffic rule:
Name = rule3
IP addresses: all
Protocol = IS-IS
Direction = upstream
Traffic counter = none
Action = ignore (required since traffic-counter = none)
The only action performed will be Ignore.
SCE>enable 10
Password:<cisco>
SCE#config
SCE(config)#interface linecard 0
SCE(config if)# traffic-rule name rule3 ip-addresses all protocol is-is direction upstream
traffic-counter name none action ignore
SCE(config if)
Example 3:
The following example demonstrates how to delete all traffic rules.
SCE>enable 10
Password:<cisco>
SCE#config
SCE(config)#interface linecard 0
SCE(config if)# no traffic-rule all
SCE(config if)
Example 4
The following example illustrates how to configure a traffic rule that will be used as a recording rule
using the flow-capture option. All flows that match this rule will be recorded when the flow capture
process is in operation.
1. Name = FlowCaptureRule
2. IP addresses: subscriber side = all IP addresses, network side = all IP addresses
3. Direction = both
4. Protocol = 250
5. Traffic counter name = counter2
Przeglądanie stron 566
1 2 ... 562 563 564 565 566 567 568 569 570 571 572 ... 603 604

Komentarze do niniejszej Instrukcji

Brak uwag