[edit routing-options]
user@R2#
set autonomous-system 200
user@R2#
set router-id 192.168.0.2
4.
Configure OSPF.
[edit protocols ospf area 0.0.0.0]
user@R2#
set interface lo0.0 passive
user@R2#
set interface fe-1/2/0.0
5.
Define the list of trusted addresses.
[edit policy-options prefix-list trusted-addresses]
user@R2#
set 10.0.0.0/24
user@R2#
set 192.168.0.0/24
6.
Configure a policy to advertise direct routes.
[edit policy-options policy-statement send-direct term 1]
user@R2#
set from protocol direct
user@R2#
set then accept
7.
Configure the TCP policer.
[edit firewall policer tcp-connection-policer]
user@R2#
set filter-specific
user@R2#
set if-exceeding bandwidth-limit 1m
user@R2#
set if-exceeding burst-size-limit 15k
user@R2#
set then discard
8.
Create the ICMP policer.
[edit firewall policer icmp-policer]
user@R2#
set filter-specific
user@R2#
set if-exceeding bandwidth-limit 1m
user@R2#
set if-exceeding burst-size-limit 15k
user@R2#
set then discard
9.
Configure the TCP filter rules.
[edit firewall family inet filter protect-RE term tcp-connection-term]
user@R2#
set from source-prefix-list trusted-addresses
user@R2#
set from protocol tcp
user@R2#
set from tcp-established
user@R2#
set then policer tcp-connection-policer
user@R2#
set then accept
10.
Configure the ICMP filter rules.
[edit firewall family inet filter protect-RE term icmp-term]
user@R2#
set from source-prefix-list trusted-addresses
user@R2#
set from protocol icmp
user@R2#
set then policer icmp-policer
user@R2#
set then count icmp-counter
user@R2#
set then accept
11.
Apply the filter to the loopback interface.
[edit interfaces lo0 unit 0]
user@R2#
set family inet filter input protect-RE
89
Copyright © 2016, Juniper Networks, Inc.
Chapter 9: Filter-Specific Counters and Policers
Содержание 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 ...