ip-subnet
Configures an IP subnet VLAN within a VLAN.
Syntax
ip-subnet
{
ip-address
ip-mask
[
name
string
]
}
no ip-subnet
{
ip-address
ip-mask
[
name
string
]
}
Command Default
A VLAN is not configured with an IP subnet and mask.
Parameters
- ip-address
- Specifies the IP address you want to assign to a VLAN. The IP address can be in the format A.B.C.D or A.B.C.D/L, where L is the subnet mask length.
- ip-mask
- Specifies the subnet mask you want to assign. This is required when the subnet mask length is not specified along with the IP address.
Modes
VLAN configuration mode
Usage Guidelines