Juniper Networks
Log in
|
How to Buy
|
Contact Us
|
United States (Change)
Choose Country
Close

Choose Country

North America

  • United States

Europe

  • Deutschland - Germany
  • España - Spain
  • France
  • Italia - Italy
  • Россия - Russia
  • United Kingdom

Asia Pacific

  • Asean Region (Vietnam, Indonesia, Singapore, Malaysia)
  • Australia
  • 中国 - China
  • India
  • 日本 - Japan
  • 대한민국 - Korea
  • 台灣 - Taiwan
Solutions
Products & Services
Company
Partners
Support
Education
Community
Security Intelligence Center

Technical Documentation

Support
Technical Documentation
Content Explorer New
 
Enterprise MIBs
 
EOL Documentation
 
File Format Help
 
Glossary
 
Portable Libraries
 
 
Home > Support > Technical Documentation > JCS 1200 Platform > JCS 1200 Software > Configuring Firewall Filters on Shared Interfaces
Print
Rate and give feedback:  Feedback Received. Thank You!
Rate and give feedback: 
Close
This document helped resolve my issue.  Yes No

Additional Comments

800 characters remaining

May we contact you if necessary?

Name:  
E-mail: 
Submitting...
 

Related Documentation

  • JCS 1200
  • Shared Interfaces
  • Configuring Shared Interfaces on the RSD
  • Configuring Shared Interfaces on a PSD
  • Configuring CoS Features on Shared Interfaces
 

Configuring Firewall Filters on Shared Interfaces

To allow equitable bandwidth sharing between all logical interfaces on a single shared physical interface, you configure firewall filters on the logical interfaces in the PSD configuration.

Whereas the RSD controls the physical shared interface and allocates a logical interface on it to the PSD, the PSD controls the configuration under the logical interface, including the protocol family. The shared interface on the RSD is not aware of the protocol family information associated with the logical interface. Therefore, on the PSD, the firewall filter must be configured under the [edit firewall family any] hierarchy level and the filter applied to the entire logical interface (as opposed to a protocol family under the interface). With Junos OS Release 9.4, only output filters are supported.

To configure a firewall filter on the PSD, create the filter conditions and apply the filter to the logical interfaces:

  1. Configure the firewall filter conditions:
    1. Include the filter filter-name statement at the [edit firewall family any] hierarchy level.
    2. Include the term term-name statement at the [edit firewall family any filter filter-name] hierarchy level.
    3. Include the from match-conditions statement at the [edit firewall family any filter filter-name term term-name] hierarchy level.
    4. Include the then action statement at the [edit firewall family any filter filter-name term term-name] hierarchy level.
    5. Include the then action-modifiers statement at the [edit firewall family any filter filter-name term term-name] hierarchy level.
  2. Apply the firewall filter to the logical interface on the shared interface by including the filter output filter-name statement at the [edit interfaces interface-name unit logical-unit-number] hierarchy level.

Starting with Junos OS Release 10.1, firewall filters on logical interfaces can be configured on the RSD. Filtering is performed on the PSD, but logical interface filters configured on the RSD are applied automatically by the PSD.

To configure a logical interface filter on the RSD, apply the firewall filter to the logical interface on the shared interface by including the filter output filter-name statement at the [edit interfaces interface-name unit logical-unit-number] hierarchy level on the RSD.

Filters configured on the RSD can co-exist with filters configured on the PSD. Counter statistics related to PSD filtering are available on the RSD.

In the following example, term 1 and term 2 of the firewall filter-out provide per-class policing and term 3 provides logical interface-based policing. The filter is applied to the so-4/5/6.0 logical interface.

firewall family any {filter filter-out {term 1 {from {forwarding-class voice;}then {policer tx-voice;next term;}}term 2 {from {forwarding-class data;}then {policer tx-data;next term;}}term 3 {then policer iflpolicer;}}}interfaces {ut-1/2/3 {unit 0 {peer-interface so-4/5/6.0;}}}so-4/5/6 {encapsulation frame-relay;unit 0 {peer-interface ut-1/2/3.0;filter output filter-out;family inet {address 192.168.0.1/24;}family inet6 {address fec0::1/64;}}}

For more information about firewall filters, see the Junos OS Policy Framework Configuration Guide PDF Document.

 

Related Documentation

  • JCS 1200
  • Shared Interfaces
  • Configuring Shared Interfaces on the RSD
  • Configuring Shared Interfaces on a PSD
  • Configuring CoS Features on Shared Interfaces
 

Published: 2012-03-08

 
  • About Juniper
  • The New Network
  • Investor Relations
  • Press Releases
  • Newsletters
  • Juniper Offices
  • Resources
  • How to Buy
  • Partner Locator
  • Image Library
  • Visio Templates
  • Security Center
  • Community
  • Forums
  • Blogs
  • Junos Central
  • Social Media
  • Support
  • Technical Documentation
  • Knowledge Base (KB)
  • Software Downloads
  • Product Licensing
  • Contact Support
Site Map / RSS Feeds / Careers / Accessibility / Feedback / Privacy & Policy / Legal Notices
Copyright© 1999-2012 Juniper Networks, Inc. All rights reserved.
Help
|
My Account
|
Log Out