![]() | Command: ip address (VLAN Interface Configuration) |
Assigns an IP addr to a vlan.
ip address <A.B.C.D> <subnet_mask> [ <mac-offset> ]
default ip address [source]
no ip address <A.B.C.D> <subnet_mask>
None
VLAN Interface Configuration
| Parameter | Description |
|---|---|
|
<subnet_mask> | Specifies the subnet mask to associate with the VLAN IP address. |
|
<A.B.C.D> | Assigns the IP address to the VLAN . |
|
<mac-offset> | Specifies the value used to calculate the VLAN MAC address, which is offset from the switch MAC address. The valid range is 1-256, with the value of 1 reserved for the Management VLAN. |