D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
512
Chapter 50
Loopback Interface
Commands
create loopback ipif <ipif_name 12> {<network_address>} {state [enable | disable]}
config loopback ipif <ipif_name 12> [{ipaddress <network_address> | state [enable | disable]}(1)]
show loopback ipif {<ipif_name 12>}
delete loopback ipif [<ipif_name 12> | all]
50-1 create loopback ipif
Description
This command is used to create a loopback interface on the Switch.
Format
create loopback ipif <ipif_name 12> {<network_address>} {state [enable | disable]}
Parameters
<ipif_name 12> - Enter the IP interface name used for this configuration here. This name can be
up to 12 characters long.
<network_address> - (Optional) Enter the IPv4 network address of the loopback interface here.
It specifies a host address and length of network mask.
state - (Optional) Specifies the state of the loopback interface.
enable - Specifies that the loopback interface state will be enabled.
disable - Specifies that the loopback interface state will be disabled.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To create one loopback interface named loopback1 with subnet address 20.1.1.1/8 and enable the
admin state:
DGS-3420-28SC:admin# create loopback ipif loopback1 20.1.1.1/8 state enable
Command: create loopback ipif loopback1 20.1.1.1/8 state enable
Success.
DGS-3420-28SC:admin#
50-2 config loopback ipif
Description
This command is used to configure the loopback interface parameters.