Difference between revisions of "Switchport"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
* <code>[[switchport]] mode access | trunk</code> | * <code>[[switchport]] mode access | trunk</code> | ||
− | ** switchport mode access | + | ** <code>switchport mode access</code> |
− | ** switchport mode trunk | + | ** <code>switchport mode trunk</code> |
* <code>[[switchport access]] vlan 45452</code> | * <code>[[switchport access]] vlan 45452</code> |
Revision as of 10:51, 6 October 2020
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
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
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: