xStack DES-3800 Series Layer 3 Stackable Fast Ethernet Managed Switch CLI Manual
398
58
L
OOPBACK
I
NTERFACE
C
OMMANDS
The loopback interface commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the
following table
Command Parameters
create loopback ipif <ipif_name 12> <ipaddr> {state [enable | disable]}
delete loopback ipif
[<ipif_name 12> | all]
config loopback ipif
<ipif_name 12> {ipaddress <ipaddr> | state [enable | disable]}
show loopback ipif
{<ipif_name 12>}
Each command is listed, in detail, in the following sections.
create loopback ipif
Purpose
Used to create a loopback interface.
Syntax
create loopback ipif <ipif_name 12> <ipaddr> {state [enable |
disable]}
Description
The create ipif command creates an IP interface on the switch.
Loopback interface is a network termination and can’t be direct
connected to the host. That is the host talks with loopback interface by
routing.
Parameters
ipif -
The name for the IP interface to be created. Maximum length is
12.
ipaddr
- The IP address of this loopback interface. The netmask is
always 255.255.255.255
state
- Allows you to enable or disable the loopback interface.
Restrictions
Only Administrator or Operator-level users can issue this command.
Usage Example:
To create IP address 172.19.10.20 in loopback interface named loopback0.
DES-3800:admin# create loopback ipif loopback0
172.19.10.20
Command: create loopback ipif loopback0 172.19.10.20
Success.
DES-3800:admin#