enable ipforwarding

enable ipforwarding {ipv4 | broadcast} {vlan vlan_name}

Description

Enables IPv4 routing or IPv4 broadcast forwarding for one or all This command is available on the ExtremeSwitching X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, 5520 series switches.s. If no argument is provided, enables IPv4 routing for all This command is available on the ExtremeSwitching X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, 5520 series switches.s that have been configured with an IP address on the current VR or VRF.

Syntax Description

ipv4 Specifies IPv4 forwarding.
broadcast Specifies broadcast IP forwarding.
vlan_name Specifies a VLAN name.

Default

Disabled.

Usage Guidelines

IP forwarding must first be enabled before IP broadcast forwarding can be enabled. When new IP interfaces are added, IP forwarding (and IP broadcast forwarding) is disabled by default.

The broadcast, ignore-broadcast, and fast-directbroadcast options each prompt with a warning message when executed while the IP forwarding on the corresponding VLAN is disabled. The hardware and software are NOT programmed until IP forwarding is enabled on the VLAN.

The fast-direct-broadcast and ignore-broadcast options cannot be enabled simultaneously. These are mutually exclusive.

The broadcast option can be enabled in conjunction with fast-direct-broadcast and ignore-broadcast.

Example

The following command enables forwarding of IP traffic for all VLANs in the current VR context with IP addresses:

enable ipforwarding

The following command enables forwarding of IP broadcast traffic for a VLAN named accounting:

enable ipforwarding broadcast vlan accounting

History

This command was first available in ExtremeXOS 10.1.

The ipv4 keyword was added in ExtremeXOS 11.2.

The ignore-broadcast and the fast-direct-broadcast keywords were added in ExtremeXOS 12.0.

Platform Availability

This command is available on all platforms that use the Edge, Advanced Edge, or Core license. For information on the licenses available for each platform, see the ExtremeXOS and Switch Engine 31.7 Feature License Requirements document.