I am supposed to name 2 vlans, VLAN 10, and VLAN 20.
When I type
Switch(config-vlan)#Name VLAN 10
^
% Invalid input detected at '^' marker.
Could I get any help please.
Use an underscore instead. ;)
Spaces aren't usually allowed in the names of interfaces.
Sometimes you can name with a space if you use Quotes "VLAN 10" but YMMV.
When configuring a VLAN's it's recommended by Cisco to use underscores instead of spaces.
Hence the correct configuration would be:
Switch(config-vlan)#name VLAN_10
and
Switch(config-vlan)#name VLAN_20
name VLAN_10
orname VLAN-10
etc.name "VLAN 10"
- but as Ron has noted, that name is useless.