291
Global Mode
interface vlan <vlan-id>
no interface vlan <vlan-id>
Creates a VLAN interface (VLAN interface
is a Layer 3 interface); the “
no interface
vlan <vlan-id>
” command deletes the
VLAN interface (Layer 3 interface) created
in the switch.
10.1.3 Command for Layer 3 Interface
10.1.3.1 interface vlan
Command: interface vlan <vlan-id>
no interface vlan <vlan-id>
Function:
Creates a VLAN interface (a Layer 3 interface); the “
no interface vlan
<vlan-id>
” command deletes the Layer 3 interface specified.
Parameters: <vlan-id>
is the VLAN ID of the established VLAN.
Default:
No Layer 3 interface is configured upon switch shipment.
Command mode:
Global Mode
Usage Guide:
When crating a VLAN interface (Layer 3 interface), VLANs should be
configured first, for details, see the VLAN chapters. When VLAN interface (Layer 3
interface) is created with this command, the VLAN interface (Layer 3 interface)
configuration mode will be entered. After the creation of the VLAN interface (Layer 3
interface), interface vlan command can still be used to enter Layer 3 interface mode.
Example:
Creating a VLAN interface (layer 3 interface).
Switch (Config)#interface vlan 1
10.2 IP Configuration
10.2.1 Introduction to IPv4, IPv6
IPv4 is the current version of global universal Internet protocol. The practice has
proved that IPv4 is simple, flexible, open, stable, strong and easy to implement while
collaborating well with various protocols of upper and lower layers. Although IPv4 almost
has not been changed since it was established in 1980’s, it has kept growing to the
current global scale with the promotion of Internet. However, as Internet infrastructure
and Internet application services continue boosting, IPv4 has shown its deficiency when