Command Reference, Cisco Ios Xe Everest 16.5.1A (Catalyst 3650 Switches - Cisco Catalyst 3650 series Command Reference Manual

Cisco ios xe everest 16.5.1a
Hide thumbs Also See for Catalyst 3650 series:
Table of Contents

Advertisement

switchport access vlan
Part 1 - Making the entry in the VLAN database:
Device# configure terminal
Device(config)# vlan 33
Device(config-vlan)# name test
Device(config-vlan)# end
Device#
Part 2 - Checking the VLAN database
Device # show vlan id 33
VLAN
Name
---- -------------------------------- --------- -------------------------------
33
test
VLAN Type
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
33
enet
Remote SPAN VLAN
----------------
Disabled
Primary
------- --------- -------------- ------------------------------------------
Part 3 - Assigning VLAN to the interface by using the name of the VLAN
Device # configure terminal
Device(config)# interface GigabitEthernet3/1/1
Device(config-if)# switchport mode access
Device(config-if)# switchport access vlan name test
Device(config-if)# end
Device#
Part 4 - Verifying configuration
Device # show running-config interface GigabitEthernet3/1/1
Building configuration...
Current configuration : 113 bytes
!
interface GigabitEthernet3/1/1
switchport access vlan 33
switchport mode access
Switch#
Part 5 - Verifying interface switchport
Device # show interface GigabitEthernet3/1/1 switchport
Name: Gi3/1/1
Switchport: Enabled
Administrative Mode: static access
Operational Mode: static access
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: native
Negotiation of Trunking: Off
Access Mode VLAN: 33 (test)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
Voice VLAN: None
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk Native VLAN tagging: enabled
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk associations: none
Administrative private-vlan trunk mappings: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled

Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 3650 Switches)

358
Status
Ports
active
SAID
MTU
Parent RingNo BridgeNo Stp
100033
1500
-
Secondary Type
BrdgMode Trans1 Trans2
-
-
-
-
Ports
0
0

Advertisement

Table of Contents
loading

Table of Contents