Juniper EX9200 Features Manual page 191

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.
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 173
Configuring the Single-Rate Two-Color Policer as a Logical Interface Policer on page 174
Applying the Logical Interface Policer to Input IPv4 Traffic at a Logical
Interface on page 175
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 policer policer_IFL logical-interface-policer
set firewall policer policer_IFL if-exceeding bandwidth-percent 90
set firewall policer policer_IFL if-exceeding burst-size-limit 300k
set firewall policer policer_IFL then loss-priority high
set firewall policer policer_IFL then forwarding-class best-effort
set interfaces ge-1/3/1 unit 0 family inet policer input policer_IFL
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
Configure logical interface
4.
[edit interfaces ge-1/3/1]
user@host# set unit 1 vlan-id 101
user@host# set unit 1 family inet address 20.20.20.1/30 arp 20.20.20.2 mac
00:00:11:22:33:44
Chapter 16: Two-Color and Three-Color Logical Interface Policers
.
ge-1/3/1.0
.
ge-1/3/1.0
[edit]
173

Advertisement

Table of Contents
loading

Table of Contents