Difference between revisions of "Switchport"

From wikieduonline
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
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>
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>
  
  
Line 22: Line 27:
 
* <code>[[show interfaces]]</code>
 
* <code>[[show interfaces]]</code>
 
* <code>[[interface]]</code>
 
* <code>[[interface]]</code>
 +
* [[IOS: Create a new VLAN]]
 +
* [[NAC]]: <code>[[switchport]] port-security [[mac-address]] 0050.3e8d.6400</code>
 +
* <code>[[switchport trunk native vlan]] ##</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 08:47, 15 February 2021

Advertising: