Cisco Cisco SG300-28 28-Port Gigabit Managed Switch Technical References

Page of 1117
Virtual Local Area Network (VLAN) Commands
1055
OL-32830-01 Command Line Interface Reference Guide
56
Parameters
vlan-id
—Specifies the default VLAN ID.
Default Configuration
The default VLAN is 1 by default.
Command Mode
VLAN Database Configuration mode
User Guidelines
This command becomes effective after reboot of the device.
Example
The following example defines the default VLAN as 2.
switchxxxxxx(config)# 
vlan database
switchxxxxxx(config-vlan)# 
default-vlan vlan
 2
New Default VLAN ID will be active after save configuration and reboot device.
56.5 show default-vlan-membership 
Use the show default-vlan-membership privileged EXEC command to view the 
default VLAN membership.
Syntax
show default-vlan-membership [
interface-id
 | detailed]
Parameters
interface-id
—Specifies an interface ID. The interface ID can be one of the 
following types: Ethernet port or port-channel.
detailed—Displays information for non-present ports in addition to present 
ports.
Default Configuration
Membership in the default VLAN is displayed for all interfaces. If detailed is not 
used, only present ports are displayed.