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 29: | Line 29: | ||
* [[IOS: Create a new VLAN]] | * [[IOS: Create a new VLAN]] | ||
* [[NAC]]: <code>[[switchport]] port-security [[mac-address]] 0050.3e8d.6400</code> | * [[NAC]]: <code>[[switchport]] port-security [[mac-address]] 0050.3e8d.6400</code> | ||
+ | * <code>switchport trunk native vlan ##</code> | ||
== See also == | == See also == |
Revision as of 08:45, 15 February 2021
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: