Help Center User GuideGetting Started
 
X
User Guide
Getting Started
Contents  

Add IPv6 Firewall Filters

Procedure

To add an IPV6 firewall filter:

  1. Complete the configuration according to the guidelines provided in Table 205 and Table 206.
  2. Click Add available in the Add New IPv6 Filter section.

    A new IPv6 Firewall Filter is created.

  3. Click OK to save the changes. If you want to discard your changes, click Cancel.

Table 205 describes the fields on the Add IPv6 page.

Table 205: Fields on the Add IPv6 Firewall Filter Page

Field

Action

IPv6 Filter Summary

Action column

Select an option:

  • To move an item upward—Locate the item and click the up arrow from the same row.

  • To move an item downward—Locate the item and click the down arrow from the same row.

  • To delete an item—Locate the item and click X from the same row.

Filter Name

Enter the name of the filter and, when expanded, lists the terms attached to the filter.

Displays the match conditions and actions that are set for each term.

Allows you to add more terms to a filter or to modify filter terms.

The options available are:

  • To display the terms added to a filter—Click the plus sign next to the filter name. This also displays the match conditions and actions set for the term.

  • To edit a filter—Click the filter name. To edit a term, click the name of the term.

Search

Filter Name

Searches for existing filters by filter name.

The options available are:

  • To find a specific filter—Enter the name of the filter in the Filter Name box.

  • To list all filters with a common prefix or suffix—Use the wildcard character (*) when you enter the name of the filter. For example, te* lists all filters with a name starting with the characters te.

Term Name

Searches for existing terms by name.

The options available are:

  • To find a specific term—Enter the name of the term in the Term Name box.

  • To list all terms with a common prefix or suffix—Use the wildcard character (*) when typing the name of the term. For example, ra* lists all terms with a name starting with the characters ra.

Number of Items to Display

Specifies the number of filters or terms to display on one page. Selects the number of items to be displayed on one page.

Add New IPv6 Filter

Filter Name

Enter the name of the filter and when expanded, lists the terms attached to the filter.

Displays the match conditions and actions that are set for each term.

Allows you to add more terms to a filter or modify filter terms.

Select an option:

  • To display the terms added to a filter—Click the plus sign next to the filter name. This also displays the match conditions and actions set for the term.

  • To edit a filter—Click the filter name. To edit a term, click the name of the term.

Term Name

Searches for existing terms by term name.

Select an option:

  • To find a specific term—Enter the name of the term in the Term Name box.

  • To list all terms with a common prefix or suffix—Use the wildcard character (*) when typing the name of the term. For example, ra* lists all terms with a name starting with the characters ra.

Location

Positions the new filter in one of the following locations:

  • After Final IPv4 Filter—At the end of all filters.

  • After IPv6 Filter—After a specified filter.

    Before IPv6 Filter—Before a specified filter.

Add

Click Add.

Opens the Filter Term page allowing you to define the match conditions and the action for this term.

Add New IPv6 Term

Location

Positions the new filter in one of the following locations:

  • After Final IPv4 Filter—At the end of all filters.

  • After IPv6 Filter—After a specified filter.

    Before IPv6 Filter—Before a specified filter.

Add

Click Add.

Opens the Filter Term page allowing you to define the match conditions and the action for this term.

Table 206: Fields on the Match Criteria for IPv6 Firewall Filter

Field

Action

Match Source

Source Address

Specifies IP source addresses to be included in, or excluded from, the match condition. Allows you to remove source IP addresses from the match condition.

If you have more than 25 addresses, this field displays a link that allows you to easily scroll through pages, change the order of addresses, and also search for them.

Enter an IP source address and prefix length, and select an option:

  • Add—To include the address in the match condition.

  • Except—To exclude the address from the match condition and then select Add -To include the address in the match condition.

  • Delete—To remove an IP source address from the match condition.

Source Prefix List

Specifies source prefix lists, which you have already defined, to be included in the match condition. Allows you to remove a prefix list from the match condition.

Select an option:

  • Add—To include a predefined source prefix list in the match condition, type the prefix list name.

  • Delete—To remove a prefix list from the match condition.

Source Port

Specifies the source port type to be included in, or excluded from, the match condition. Allows you to remove a source port type from the match condition.

Note: This match condition does not check the protocol type being used on the port. Make sure to specify the protocol type (TCP or UDP) match condition in the same term.

Select the port from the port name list; enter the port name, number, or range and then select an option:

  • Add—To include the port in the match condition.

  • Except—To exclude the port from the match condition and then select Add—To include the port in the match condition.

  • Delete—To remove a port from the match condition.

Match Destination

Destination Address

Specifies destination addresses to be included in, or excluded from, the match condition. Allows you to remove a destination IP address from the match condition.

If you have more than 25 addresses, this field displays a link that allows you to easily scroll through pages, change the order of addresses, and also search for them.

Enter an IP destination address and prefix length and select an option:

  • Add—To include the address in the match condition.

  • Except—To exclude the address from the match condition and then select Add—To include the address in the match condition.

  • Delete—To remove an IP address from the match condition.

Destination Prefix List

Specifies destination prefix lists, which you have already defined, to be included in the match condition. Allows you to remove a prefix list from the match condition.

Select an option:

  • Add—To include a predefined destination prefix list, enter the prefix list name.

  • Delete—To remove a prefix list from the match condition.

Destination Port

Specifies destination port types to be included in, or excluded from, the match condition. Allows you to remove a destination port type from the match condition.

Note: This match condition does not check the protocol type being used on the port. Make sure to specify the protocol type (TCP or UDP) match condition in the same term.

Select the port from the port name list; enter the port name, number, or range; and then select an option:

  • Add—To include the port in the match condition.

  • Except—To exclude the port from the match condition and then select Add—To include the port in the match condition.

  • Delete—To remove a port type from the match condition.

Match Source or Destination

Address

Specifies IP addresses to be included in, or excluded from, the match condition for a source or destination. Allows you to remove an IP address from the match condition.

If you have more than 25 addresses, this field displays a link that allows you to easily scroll through pages, change the order of addresses and also search for them.

Note: This address match condition cannot be specified in conjunction with the source address or destination address match conditions in the same term.

Enter an IP destination address and prefix length and select an option:

  • Add—To include the address in the match condition.

  • Except—To exclude the address from the match condition and then select Add—To include the address in the match condition.

  • Delete—To remove an IP address from the match condition.

Prefix List

Specifies prefix lists, which you have already defined, to be included in the match condition for a source or destination. Allows you to remove a prefix list from the match condition.

Note: This prefix list match condition cannot be specified in conjunction with the source prefix list or destination prefix list match conditions in the same term.

Select an option:

  • Add—To include a predefined destination prefix list, type the prefix list name.

  • Delete—To remove a prefix list from the match condition.

Port

Specifies a port type to be included in, or excluded from, a match condition for a source or destination. Allows you to remove a destination port type from the match condition.

Note: This match condition does not check the protocol type being used on the port. Make sure to specify the protocol type (TCP or UDP) match condition in the same term.

Also, this port match condition cannot be specified in conjunction with the source port or destination port match conditions in the same term.

Select the port from the port name list; enter the port name, number, or range; and then select an option:

  • Add—To include the port in the match condition.

  • Except—To exclude the port from the match condition and then select Add—To include the port in the match condition.

  • Delete—To remove a port type from the match condition.

Match Interface

Interface

Specifies interfaces to be included in a match condition. Allows you to remove an interface from the match condition.

Select a name from the interface name list or Enter the interface name and select an option:

  • Add—To include an interface in a match condition.

  • Delete—To remove an interface from the match condition.

Interface Set

Specifies interface sets, which you have already defined, to be included in a match condition. Allows you to remove an interface set from the match condition.

Enter the interface set name and select an option:

  • Add—To include the group in the match condition.

  • Delete—To remove an interface group from the match condition.

Interface Group

Specifies interface groups, which you have already defined, to be included in, or excluded from, a match condition. Allows you to remove an interface group from the match condition.

Enter the name of the group and select an option:

  • Add—To include the port in the match condition.

  • Except—To exclude the port from the match condition and then select Add—To include the port in the match condition.

  • Delete—To remove a port type from the match condition.

Match Packet and Network

TCP Established

Matches all Transmission Control Protocol packets other than the first packet of a connection.

Note: This match condition does not verify that the TCP is used on the port. Make sure to specify the TCP as a match condition in the same term.

Select the check box.

TCP Initial

Matches the first Transmission Control Protocol packet of a connection.

Note: This match condition does not verify that the TCP is used on the port. Make sure to specify the TCP as a match condition in the same term.

Select the check box.

TCP Flags

Specifies Transmission Control Protocol flags to be included in the match condition.

Note: This match condition does not verify that the TCP is used on the port. Make sure to specify the TCP as a match condition in the same term.

Enter a text or numeric string defining the flag.

Next Header

Specifies IPv6 protocol types to be included in, or excluded from, the match condition. Allows you to remove an IPv6 protocol type from the match condition.

Select a protocol name from the list or enter a protocol name or number and then select an option:

  • Add—To include the protocol in the match condition.

  • Except—To exclude the protocol from the match condition and then select Add—To include the protocol in the match condition.

  • Delete—To remove an IPv6 protocol type from the match condition.

ICMP Type

Specifies ICMP packet types to be included in, or excluded from, the match condition. Allows you to remove an ICMP packet type from the match condition.

Note: This protocol does not verify that ICMP is used on the port. Make sure to specify an ICMP type match condition in the same term.

Select a packet type from the list or enter a packet type name or number and then select an option:

  • Add—To include the packet type in the match condition.

  • Except—To exclude the packet type from the match condition and then select.

    Add—To include the packet type in the match condition.

  • Delete—To remove an ICMP packet type from the match condition.

ICMP Code

Specifies the ICMP code to be included in, or excluded from, the match condition. Allows you to remove an ICMP code from the match condition.

Note: The ICMP code is dependent on the ICMP type. Make sure to specify an ICMP type match condition in the same term.

Select a packet code from the list or enter the packet code as text or a number and select an option:

  • Add—To include the packet type in the match condition.

  • Except—To exclude the packet type from the match condition and then select

    Add—To include the packet type in the match condition.

  • Delete—To remove an ICMP packet type from the match condition.

Traffic Class

Specifies the traffic class to be included in, or excluded from, the match condition. Allows you to remove a traffic class value from the match condition.

The options available are:

  • Add—To include the traffic class in the match condition.

  • Except—To exclude the traffic class from the match condition and then select

    Add—To include the traffic class in the match condition.

  • Delete—To remove an traffic class value from the match condition.

Packet Length

Specifies the length of received packets, in bytes, to be included in, or excluded from, the match condition. Allows you to remove a packet length value from the match condition.

Specify a packet length, enter a value or range.

Select an option:

  • Add—To include the packet length in the match condition.

  • Except—To exclude the packet length from the match condition and then select

    Add—To include the packet length in the match condition.

  • Delete—To remove a packet length value from the match condition.

Forwarding Class

Specifies forwarding classes to be included in, or excluded from, the match condition. Allows you to a remove forwarding class entry from the match condition.

Specify a forwarding class by selecting a forwarding class from the list or entering a forwarding class, and then select an option:

  • Add—To include the forwarding class in the match condition.

  • Except—To exclude the forwarding class from the match condition and then select

    Add—To include the forwarding class in the match condition.

  • Delete—To remove a forwarding class from the match condition.

Action

Nothing

Select Nothing.

Specifies that no action is performed. By default, a packet is accepted if it meets the match conditions of the term, and packets that do not match any conditions in the firewall filter are dropped.

Accept

Select Accept.

Accepts a packet that meets the match conditions of the term.

Discard

Select Discard.

Discards a packet that meets the match conditions of the term. Names a discard collector for packets.

Reject

Select Reject and then select a message type from the reason list.

Rejects a packet that meets the match conditions of the term and returns a rejection message. Allows you to specify a message type that denotes the reason the packet was rejected.

Note: To log and sample rejected packets, specify log and sample action modifiers in conjunction with this action.

Next Term

Select Next Term.

Evaluates a packet with the next term in the filter if the packet meets the match conditions in this term. This action makes sure that the next term is used for evaluation even when the packet matches the conditions of a term. When this action is not specified, the filter stops evaluating the packet after it matches the conditions of a term, and takes the associated action.

Routing Instance

Accepts a packet that meets the match conditions, and forwards it to the specified routing instance.

Select Routing Instance, and enter the routing instance name in the box next to Routing Instance.

Action Modifiers

Forwarding Class

Classifies the packet as a specific forwarding class.

Select Forwarding Class from the list.

Count

Counts the packets passing this term. Allows you to name a counter that is specific to this filter. This means that every time a packet transits any interface that uses this filter, it increments the specified counter.

Select Count and enter a 24-character string containing letters, numbers, or hyphens to specify a counter name.

Log

Select Log.

Logs the packet header information in the routing engine.

Syslog

Select Syslog.

Records packet information in the system log.

Loss Priority

Sets the loss priority of the packet. This is the priority of dropping a packet before it is sent, and it affects the scheduling priority of the packet.

Select the range of priority from the list.

Related Documentation

Help us to improve. Rate this article.
Feedback Received. Thank You!

Ask questions in TechWiki

Check documentation in TechLibrary

Rating by you:      
X

Additional Comments

800 characters remaining

May we contact you if necessary?

Name:
Email:

Need product assistance? Contact Juniper Support

Submit