![HP FlexNetwork 5130 HI series Скачать руководство пользователя страница 180](http://html.mh-extra.com/html/hp/flexnetwork-5130-hi-series/flexnetwork-5130-hi-series_command-reference-manual_165888180.webp)
172
You cannot create a VLAN interface for a sub-VLAN. For more information about sub-VLANs, see
Layer 2—LAN Switching Configuration Guide.
You cannot create VLAN interfaces for secondary VLANs that meet the following requirements:
•
Associated with the same primary VLAN.
•
Enabled with Layer 3 communication in VLAN interface view of the primary VLAN interface.
For more information about secondary VLANs,
Layer 2—LAN Switching Configuration Guide.
Examples
# Create VLAN-interface 2, and enter its view.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2] quit
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2]
Related commands
display interface vlan-interface
mtu
Use
mtu
to set the MTU for a VLAN interface.
Use
undo mtu
to restore the default.
Syntax
mtu
size
undo mtu
Default
The MTU of a VLAN interface is 1500 bytes.
Views
VLAN interface view
Predefined user roles
network-admin
Parameters
size
: Sets the MTU in bytes, in the range of 128 to 1500.
Usage guidelines
The
ip mtu
or
mtu
command configuration on an interface takes effect on only the packets sent to
the CPU for software forwarding, including the packets destined to or sourced from the interface.
Configure the MTU as appropriate to avoid fragmentation.
If you configure both the
mtu
and
ip mtu
commands on a VLAN interface, the MTU set by the
ip mtu
command is used for fragmentation. For more information about the
ip mtu
command, see
Layer
3—IP Services Command Reference
.
Examples
# Set the MTU to 1492 bytes for VLAN-interface 1.
<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] mtu 1492
Содержание FlexNetwork 5130 HI series
Страница 293: ...285 Sysname GigabitEthernet1 0 1 lldp agent nearest customer tlv enable dot1 tlv link aggregation ...
Страница 302: ...294 ...