Skip to main content

We've Moved!

Product Documentation has moved to docs.hitachivantara.com
Hitachi Vantara Knowledge

Advanced VLAN interface configuration

A global configuration setting applies to all interfaces, including VLAN interfaces, except those for which a specific configuration exists. However, settings for a parent aggregation interface do not apply to the associated VLAN interfaces; for example, a configuration for ag2 does not affect traffic over ag2-vlan0017. To apply an MTU setting to a specific VLAN interface, it is necessary to create a specific configuration for the full interface name of the VLAN. For example, to change the MTU for VLAN 17 on ag2, create a specific configuration for ag2-vlan0017 and set the required values.

Before creating a specific VLAN interface configuration, use the ifconfig command to view all the names of all available VLAN interfaces. VLAN interfaces created using the deprecated VLAN command appear in this list as well as VLAN interfaces created using the VLAN-interface-create command.

To create a configuration for a VLAN interface

Enter the following command:

ipadv -x create -p <vlan interface name>

For example:

ipadv -x create -p ag12-vlan0017

To set the MTU size for a VLAN interface

For TCP packets:

ipadv --tcpmtu <tcpmtu> -p <VLAN interface name>

For example:

ipadv --tcpmtu 9000 -p ag2-vlan0017

Alternatively:

ipadv -m 9000 -p ag2-vlan0017

For non-TCP packets (UDP/ICMP):

ipadv --othermtu <othermtu> -p <VLAN interface name>

For example:

ipadv --othermtu 9000 -p ag2-vlan0017

Alternatively:

ipadv -n 9000 -p ag2-vlan0017

For off-subnet values:

ipadv --offsubnetmtu <offsubnetmtu> -p <VLAN interface name>

For example:

ipadv --offsubnetmtu 9000 -p ag2-vlan0017

Alternatively:

ipadv -o 9000 -p ag2-vlan0017

 

  • Was this article helpful?