Juniper EX9200 Features Manual page 197

Traffic policers feature guide ex series
Hide thumbs Also See for EX9200:
Table of Contents

Advertisement

Configuration
CLI Quick
Configuration
Step-by-Step
Procedure
Copyright © 2016, Juniper Networks, Inc.
Nonconforming traffic that exceeds the peak traffic limits are categorized as red. The
packets in a red traffic flow are implicitly set to a
optional policer action for red traffic (
packets in a red traffic flow are discarded instead of transmitted.
The following example requires you to navigate various levels in the configuration
hierarchy. For information about navigating the CLI, see Using the CLI Editor in Configuration
Mode.
To configure this example, perform the following tasks:
Configuring the Logical Interfaces on page 179
Configuring the Two-Rate Three-Color Policer as a Logical Interface Policer on page 180
Applying the Three-Color Policer to the Layer 2 Input at the Logical Interface on page 181
To quickly configure this example, copy the following configuration commands into a
text file, remove any line breaks, and then paste the commands into the CLI at the
hierarchy level.
set interfaces ge-1/3/1 vlan-tagging
set interfaces ge-1/3/1 unit 0 vlan-id 100
set interfaces ge-1/3/1 unit 0 family inet address 10.10.10.1/30
set interfaces ge-1/3/1 unit 1 vlan-id 101
set interfaces ge-1/3/1 unit 1 family inet address 20.20.20.1/30 arp 20.20.20.2 mac
00:00:11:22:33:44
set firewall three-color-policer trTCM2-cb logical-interface-policer
set firewall three-color-policer trTCM2-cb two-rate color-blind
set firewall three-color-policer trTCM2-cb two-rate committed-information-rate 40m
set firewall three-color-policer trTCM2-cb two-rate committed-burst-size 100k
set firewall three-color-policer trTCM2-cb two-rate peak-information-rate 60m
set firewall three-color-policer trTCM2-cb two-rate peak-burst-size 200k
set firewall three-color-policer trTCM2-cb action loss-priority high then discard
set interfaces ge-1/3/1 unit 0 layer2-policer input-three-color trTCM2-cb
Configuring the Logical Interfaces
To configure the logical interfaces:
Enable configuration of the interface.
1.
[edit]
user@host# edit interfaces ge-1/3/1
Configure single tagging.
2.
[edit interfaces ge-1/3/1]
user@host# set vlan-tagging
Configure logical interface
3.
[edit interfaces ge-1/3/1]
user@host# set unit 0 vlan-id 100
user@host# set unit 0 family inet address 10.10.10.1/30
Chapter 16: Two-Color and Three-Color Logical Interface Policers
loss priority. In this example, the
high
loss-priority high then discard
.
ge-1/3/1.0
) is configured, so
[edit]
179

Advertisement

Table of Contents
loading

Table of Contents