Switchport
switchport mode access | trunk
switchport mode access
switchport mode trunk
switchport access vlan 45452
Change vlan configuration to port Gi1/0/99
conf t int Gi1/0/99 switchport mode access switchport access vlan 4545
interface FastEthernet0/11 switchport trunk allowed vlan 10,20 switchport mode access
View all interfaces status:
show interfaces switchport
(Extended format)show vlan br
Related commands
show running-config interface TenGigabitEthernet 1/0/12
show interfaces
interface
- IOS: Create a new VLAN
- NAC:
switchport port-security mac-address 0050.3e8d.6400
switchport trunk native vlan ##
See also
- VLAN, VTP, VLAN Access-List (VACL), IOS: Create a VLAN, Change vlan configuration,
show vlan
,show vlan brief
,show vlan summary
,show vtp status
,switchport
,set vlan
,vtp mode transparent
- Cisco IOS: Cisco IOS XE, Config (mode), VLANs, Cisco IOS logging, VTP, ACLs,
show logging
,show logging history
,show interface status
,debug
,archive
,show archive
,conf t
,int
,ip http server
,ip ssh
,ip address
, vty,show mac address-table
,show access-list
, Access-list,ip access-group
,admin
Advertising: