R3166-R3206-HP High-End Firewalls Network Management Configuration Guide-6PW101

9
To do… Use the command…
Remarks
Shut down the Ethernet
subinterface
shutdown
Optional
By default, an Ethernet subinterface is in
the up state.
NOTE:
For the local and remote Ethernet subinterfaces to transmit traffic correctly, configure them with the same
subinterface number and VLAN ID.
Configuring the link mode of an Ethernet interface
According to the layer at which the firewall processes received data packets, Ethernet interfaces can
operate in bridge or route mode. In bridge mode, an Ethernet interface forwards traffic based on
hardware addresses, and you cannot configure an IP address for the Ethernet interface in this case; in
route mode, an Ethernet interface forwards traffic based on IP routes.
Follow these steps to change the link mode of an Ethernet interface:
To do… Use the command…
Remarks
Enter system view system-view
Enter Ethernet interface view
interface interface-type
interface-number
Change the link mode of the
Ethernet interface
port link-mode { bridge | route } Required
NOTE:
A
fter you chan
g
e the link mode of an Ethernet interface, all settin
g
s of the Ethernet interface are restored
to their defaults under the new link mode.
Enabling subinterface rate statistics collection on an Ethernet interface
After you enable subinterface rate statistics collection on an Ethernet interface, the firewall periodically
refreshes the rate statistics on the subinterfaces of the Ethernet interface. You can use the display interface
command to view the rate statistics.
Follow these steps to enable subinterface rate statistics collection on an Ethernet interface:
To do… Use the command…
Remarks
Enter system view system-view
Enter Ethernet interface view
interface interface-type
interface-number
Enable subinterface rate statistics
collection on the Ethernet interface
sub-interface rate-statistic
Optional
Disabled by default
CAUTION:
Use this function with caution, because it may consume a large amount of system resources.