Difference between revisions of "Switchport"
Jump to navigation
Jump to search
↑ https://community.cisco.com/t5/routing/can-we-assign-multiple-vlans-to-same-physical-switch-port-access/td-p/2289824
Line 12: | Line 12: | ||
switchport access vlan 4545 | switchport access vlan 4545 | ||
+ | |||
+ | interface FastEthernet0/11 | ||
+ | [[switchport trunk allowed]] vlan 10,20 | ||
+ | switchport mode access | ||
+ | <ref>https://community.cisco.com/t5/routing/can-we-assign-multiple-vlans-to-same-physical-switch-port-access/td-p/2289824</ref> | ||
Revision as of 09:37, 14 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
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
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: