3 interface vlan, 4 interface loopback – PLANET XGS3-24040 User Manual

Page 246

Advertising
background image

17-4

Usage Guide:

While shutting down the VLAN interface of the switch, it will not send data frames. If this interface

needs to obtain an IP address via BOOTP/DHCP protocol, it should be enabled.

Example:

Enable the VLAN1 interface of the switch.

Switch(Config-if-Vlan1)#no shutdown

17.1.3 interface vlan

Command:

interface vlan <vlan-id>

no interface vlan <vlan-id>

Function:

Create 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, ranging from 1 to 4094.

Default:

No Layer 3 interface is configured upon switch shipment.

Command mode:

Global Mode

Usage Guide:

When creating 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 Port

Mode.

Example:

Creating a VLAN interface (layer 3 interface).

Switch (config)#interface vlan 1

17.1.4 interface loopback

Command:

interface loopback <loopback-id>

no interface loopback <loopback-id>

Function:

Create a Loopback interface; the no operation of this command will delete the specified Loopback

interface.

Parameters:

<loopback-id> is the ID of the new created Loopback interface.

Default:

There is no Loopback interface in factory defaults.

Command Mode:

Advertising