user@host#
edit interfaces ge-1/3/1 unit 0
2.
Apply the policer to all traffic types or to a specific traffic type on the logical interface.
•
To apply the policer to all traffic types, regardless of the protocol family, include
the
policer (input | output)
policer-name
statement at the
[edit
interfaces
interface-name
unit
number
]
hierarchy level.
•
To apply the policer to traffic of a specific protocol family, include the
policer (input | output)
policer-name
statement at the
[edit
interfaces
interface-name
unit
unit-number
family
family-name
]
hierarchy level.
To apply the logical interface policer to incoming packets, use the
policer input
policer-name
statement. To apply the logical interface policer to
outgoing packets, use the
policer output
policer-name
statement.
In this example, the CLI commands and output are based on rate-limiting the IPv4
input traffic at logical interface
ge-1/3/1.0
.
[edit interfaces ge-1/3/1 unit 0]
user@host#
set family inet policer input policer_IFL
Results
Confirm the configuration of the interface by entering the
show interfaces
configuration
mode command. If the command output does not display the intended configuration,
repeat the instructions in this procedure to correct the configuration.
[edit]
user@host#
show interfaces
ge-1/3/1 {
vlan-tagging;
unit 0 {
vlan-id 100;
family inet {
policer input policer_IFL;
address 10.10.10.1/30;
}
}
unit 1 {
vlan-id 101;
family inet {
address 20.20.20.1/30 {
arp 20.20.20.2 mac 00:00:11:22:33:44;
}
}
}
}
If you are done configuring the device, enter
commit
from configuration mode.
Verification
Confirm that the configuration is working properly.
•
Displaying Traffic Statistics and Policers for the Logical Interface on page 177
•
Displaying Statistics for the Policer on page 177
Copyright © 2016, Juniper Networks, Inc.
176
Traffic Policers Feature Guide for EX9200 Switches
Содержание EX9200 Series
Страница 8: ...Copyright 2016 Juniper Networks Inc viii Traffic Policers Feature Guide for EX9200 Switches ...
Страница 10: ...Copyright 2016 Juniper Networks Inc x Traffic Policers Feature Guide for EX9200 Switches ...
Страница 12: ...Copyright 2016 Juniper Networks Inc xii Traffic Policers Feature Guide for EX9200 Switches ...
Страница 20: ...Copyright 2016 Juniper Networks Inc 2 Traffic Policers Feature Guide for EX9200 Switches ...
Страница 32: ...Copyright 2016 Juniper Networks Inc 14 Traffic Policers Feature Guide for EX9200 Switches ...
Страница 34: ...Copyright 2016 Juniper Networks Inc 16 Traffic Policers Feature Guide for EX9200 Switches ...
Страница 42: ...Copyright 2016 Juniper Networks Inc 24 Traffic Policers Feature Guide for EX9200 Switches ...
Страница 54: ...Copyright 2016 Juniper Networks Inc 36 Traffic Policers Feature Guide for EX9200 Switches ...
Страница 56: ...Copyright 2016 Juniper Networks Inc 38 Traffic Policers Feature Guide for EX9200 Switches ...
Страница 72: ...Copyright 2016 Juniper Networks Inc 54 Traffic Policers Feature Guide for EX9200 Switches ...
Страница 132: ...Copyright 2016 Juniper Networks Inc 114 Traffic Policers Feature Guide for EX9200 Switches ...
Страница 152: ...Copyright 2016 Juniper Networks Inc 134 Traffic Policers Feature Guide for EX9200 Switches ...
Страница 162: ...Copyright 2016 Juniper Networks Inc 144 Traffic Policers Feature Guide for EX9200 Switches ...
Страница 178: ...Copyright 2016 Juniper Networks Inc 160 Traffic Policers Feature Guide for EX9200 Switches ...
Страница 186: ...Copyright 2016 Juniper Networks Inc 168 Traffic Policers Feature Guide for EX9200 Switches ...
Страница 188: ...Copyright 2016 Juniper Networks Inc 170 Traffic Policers Feature Guide for EX9200 Switches ...
Страница 202: ...Copyright 2016 Juniper Networks Inc 184 Traffic Policers Feature Guide for EX9200 Switches ...
Страница 212: ...Copyright 2016 Juniper Networks Inc 194 Traffic Policers Feature Guide for EX9200 Switches ...
Страница 214: ...Copyright 2016 Juniper Networks Inc 196 Traffic Policers Feature Guide for EX9200 Switches ...
Страница 278: ...Copyright 2016 Juniper Networks Inc 260 Traffic Policers Feature Guide for EX9200 Switches ...