The set public-interface command sets an interface to the public interface for the virtual system.
The undo public-interface cancels the preceding configuration.
Ethernet interface view, Ethernet sub-interface view, Eth-Trunk interface view, Eth-Trunk sub-interface view, WAN interface view
Application Scenarios
When the bandwidth of a virtual system is limited based on the resource class, the traffic statistics of the virtual system are based on the public interface.
The public interface is not the interface connecting the FW to the Internet. It is the interface on which the set public-interface command is run. A private interface is the interface on which the set public-interface command is not run.
Therefore, when limiting the bandwidth of a virtual system based on the inbound and outbound bandwidths of the resource class, you must run the set public-interface command to specify the public interface for the virtual system.
Precautions
In inter-virtual system forwarding scenarios, the Virtual-IF interface is a public interface by default.