Layer 2 Switching Commands 816Default ConfigurationThe default value for the vlan-id parameter is 1 when the VLAN is enabled.Otherwise, the value is 4093.Command ModeInterface Configuration (gigabitethernet, port-channel, tengigabitethernet,fortygigabitethernet) modeUser GuidelinesSetting a new PVID does NOT remove the previously configured PVID VLANfrom the port membership.ExampleThe following example shows how to configure the PVID for 1/0/8, when theinterface is in general mode.console(config)#interface gigabitethernet 1/0/8console(config-if-Gi1/0/8)#switchport general pvid 234switchport modeUse the switchport mode command in Interface Configuration mode toconfigure the VLAN membership mode of a port. To reset the mode to theappropriate default for the switch, use the no form of this command.Syntaxswitchport mode {access | trunk | general}no switchport mode• access—An access port connects to a single end station belonging to asingle VLAN. An access port is configured with ingress filtering enabledand will accept either an untagged frame or a packet tagged with the accessport VLAN. Tagged packets received with a VLAN other than the accessport VLAN are discarded. An access port transmits only untagged packets.• trunk—A trunk port connects two switches. A trunk port may belong tomultiple VLANs. A trunk port accepts only packets tagged with the VLANIDs of the VLANs to which the trunk is a member or untagged packets if