home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

interfaces dataplane <interface-name> vif <vif-id> ip disable-forwarding

Disables IPv4 forwarding on a vif.

set interfaces dataplane interface-name vif vif-id ip disable-forwarding
delete interfaces dataplane interface-name vif vif-id ip disable-forwarding
show interfaces dataplane interface-name vif vif-id ip disable-forwarding

IPv4 packets are forwarded.

interface-name
The name of a data plane interface. For more information about the supported interface name formats, refer to Data Plane Interface.
vif-id
The ID of a vif. The ID ranges from 1 through 4094.

Configuration mode

interfaces {
     dataplane interface-name {
        vif vif-id {
           ip {
              disable-forwarding
           }
        }
     }
}

Use this command to disable IPv4 packet forwarding on a vif.

You can also disable IPv4 forwarding globally (that is, for all interfaces) by using the system ipv4 disable-forwarding command.

Use the set form of this command to disable IPv4 packet forwarding on a vif.

Use the delete form of this command to enable IPv4 packet forwarding on a vif.

Use the show form of this command to display whether IPv4 packet forwarding is disabled or enabled on a vif.