forwarding-options (Bridge Domains or VLANs)
Syntax
forwarding-options { dhcp-security { arp-inspection; group group-name { interface interface-name { static-ip ip-address { mac mac-address; } } overrides { no-option82; (trusted | untrusted); } } ip-source-guard; no-dhcp-snooping; option-82 { circuit-id { prefix { host-name; logical-system-name; routing-instance-name; } use-interface-description (device | logical); use-vlan-id; } remote-id { host-name hostname; use-interface-description (device | logical); use-string string; } vendor-id { use-string string; } } } storm-control { enhancedenhanced; } filter (VLANs) { input filter-name; output filter-name; } sflow { egress-multicast enable; egress-multicast max-replication-rate rate; } flood { input filter-name; } }
Chassis: EX4600 and QFX Series
forwarding options profile-name { num-65-127-prefix number; }
Chassis: EX4600 and QFX Series
forwarding-options lpm-profile { prefix-65-127-disable; unicast-in-lpm; }
Chassis: EX4600 and QFX Series
forwarding-options custom-profile { l2-entries | l3-entries | lpm-entries { num-banks number; } }
Hierarchy Level
[edit], [edit bridge-domains bridge-domain-name], [edit vlans vlan-name]
[edit chassis (QFX Series)]
Description
Configure a unified forwarding table profile to allocate the amount of memory available for the following:
-
MAC addresses.
-
Layer 3 host entries.
-
Longest prefix match table entries.
This feature enables you to select a profile that optimizes the amount of memory
available for various types of forwarding-table entries based on the needs of your
network. For example, for a switch that handles a great deal of Layer 2 traffic,
such as a virtualized network with many servers and virtualized machines, you would
choose the l2-profile-one
, which allocates the highest amount of
memory to MAC addresses.
You configure the memory allocation for LPM table entries differently, depending on whether you using Junos OS Release 13.2X51-D10 or Junos OS Release 13.2X51-D15 and later. For more information about configuring memory allocation for LPM table entries, see Configuring the Unified Forwarding Table on Switches.
The num-65-127-prefix number
statement is not
supported on the custom-profile
and the
lpm-profile
. The prefix-65-127-disable
and
unicast-in-lpm
statements are supported only on the
lpm-profile
.
When you commit a configuration with a forwarding table profile change, in most cases the Packet Forwarding Engine restarts automatically to apply the new parameters, which brings the data interfaces down and then up again.
However, starting with Junos OS Releases 14.1X53-D40, 15.1R5, and 16.1R3, for a
Virtual Chassis or Virtual Chassis Fabric (VCF) comprised of EX4600 or QFX5100
switches, the Packet Forwarding Engine in member switches does not automatically
restart upon configuring and committing a unified forwarding table profile change.
This behavior avoids having Virtual Chassis or VCF instability and a prolonged
convergence period if a profile change is propagated to member switches and multiple
Packet Forwarding Engines all restart at the same time. In this environment, instead
of automatically restarting when you initially commit a profile configuration
change, the message Reboot required for configuration to take
effect
is displayed at the primary switch CLI prompt, notifying you
that the profile change does not take effect until the next time you restart the
Virtual Chassis or VCF. The profile configuration change is propagated to member
switches that support this feature, and a reminder that a reboot is required to
apply this pending configuration change appears in the system log of the primary
switch and applicable member switches. You then enable the profile change
subsequently during a planned downtime period using the request system
reboot
command, which quickly establishes a stable Virtual Chassis or
VCF with the new configuration.
You should plan to make unified forwarding table profile changes only when you are ready to perform a Virtual Chassis or VCF system reboot immediately after committing the configuration update. Otherwise, in the intervening period between committing the configuration change and rebooting the Virtual Chassis or VCF, the system can become inconsistent if a member experiences a problem and restarts. In that case, the new configuration takes effect on the member that was restarted, while the change is not yet activated on all the other members.
The remaining statements are explained separately. See CLI Explorer.
Options
profile-name |
name of the profile to use for memory allocation in the unified forwarding table. Table 1 lists the profiles you can choose that have set values and the associated values for each type of entry. On QFX5200 Series switches only, you can also select
* This profile supports only IPv4 in Junos OS Release13.2X51-D10.
Starting in Junos OS Relase13.2X51-D15, the Note:
If the host stores the maximum number of entries for any given type, the entire table is full and is unable to accommodate any entries of any other type. For information about valid combinations of table entries see Understanding the Unified Forwarding Table. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
l2-entries | l3-entries | lpm-entries |
( |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
num-banks number |
(
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
egress-multicast enable |
Enable egress sFlow sampling of known multicast traffic. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
egress-multicast max-replication-rate rate |
Specify the maximum sFlow sample replication rate per FPC for known multicast traffic. |
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.
Hierarchy level [edit vlans vlan-name]
introduced
in Junos OS Release 13.2X50-D10 for EX Series switches.
Hierarchy level [edit bridge-domains
bridge-domain-name]
introduced in Junos OS Release
14.1 for MX Series routers.
custom-profile
option introduced in Junos OS Release 15.1x53-D30 for
QFX5200 Series switches only.