interfaces dataplane <interface-name> vif <vif-id> ip disable-forwarding
Disables IPv4 forwarding on a vif.
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.