Layer 2 Switching Commands 790interface vlanUse the interface vlan command in Global Configuration mode to enable L3on a VLAN and enter VLAN Interface Configuration mode. Use the no formof the command to disable routing on the VLAN.Syntaxinterface vlan {vlan-id}no interface vlan { vlan-id }• vlan-id—The ID of a valid VLAN (Range 1–4093).Default ConfigurationBy default, Layer 3 is enabled on VLAN 1 on the N1100-ON/N1500/N2000/N2100-ON Series switches. However, VLAN routinginterfaces do not route packets until an IP address is assigned to the VLANand IP routing is globally enabled. DHCP and Layer 3 are not enabled onVLAN 1 by default for the N3000, N3100-ON, and N4000 Series switches.DHCP is enabled on VLAN 1 by default for the N1100-ON/N1500/N2000/N2100-ON switches. The N1100-ON does not supportrouting.Command ModeVLAN Configuration or Global Configuration modesprotocol group show vlanassociation subnetswitchport mode vlan makestaticprotocol vlan group show vlan private-vlanswitchport modedot1q-tunnelvlan protocol groupprotocol vlan groupallswitchport accessvlanswitchport modeprivate-vlanvlan protocol group addprotocolshow dot1q-tunnel switchport dot1qethertype (GlobalConfiguration)switchport private-vlanvlan protocol groupnameshow interfacesswitchportswitchport generalforbidden vlanswitchport trunk vlan protocol groupremove