1-4 
View 
VLAN interface view, loopback interface view 
Parameters 
ip-address: IP address, in dotted decimal notation.  
mask: Subnet mask, in dotted decimal notation.  
mask-length: Subnet mask length, the number of consecutive ones in the mask. It is in the range of 0 to 
32.  
Description 
Use the ip address command to specify an IP address and mask for a VLAN or loopback interface.  
Use the undo ip address command to remove an IP address and mask of a VLAN or loopback 
interface.  
By default, no IP address is configured for VLAN or loopback interface.  
 
 
z  A newly specified IP address overwrites the previous one if there is any.  
z  The IP address of a VLAN interface must not be in the same network segment as that of a loopback 
interface on a device. 
 
Related commands: display ip interface. 
Examples 
# Assign the IP address 129.12.0.1 to VLAN interface 1 with subnet mask 255.255.255.0 (S3100-EI). 
<Sysname> system-view 
System View: return to User View with Ctrl+Z. 
[Sysname] interface Vlan-interface 1 
[Sysname-Vlan-interface1] ip address 129.12.0.1 255.255.255.0 
# Assign the IP address 129.12.0.1 to VLAN interface 10 with subnet mask 255.255.255.0 (S3100-SI). 
<Sysname> system-view 
System View: return to User View with Ctrl+Z. 
[Sysname] vlan 10 
[Sysname-vlan10] quit 
[Sysname] management-vlan 10 
[Sysname] interface Vlan-interface 10 
[Sysname-Vlan-interface10] ip address 129.12.0.1 255.255.255.0