Difference between revisions of "Switchport"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
* <code>[[switchport]] mode access | trunk</code>
+
* <code>[[switchport]] mode access | [[trunk]]</code>
* <code>switchport access vlan 45452</code>
+
** <code>switchport mode access</code>
 +
** <code>switchport mode trunk</code>
 +
 
 +
* <code>[[switchport access]] vlan 45452</code>
  
  
Line 9: 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 15: Line 23:
 
* <code>[[show vlan br]]</code>
 
* <code>[[show vlan br]]</code>
  
Related commands:
+
== Related commands ==
<code>show running-config interface TenGigabitEthernet 1/0/12</code>
+
* <code>[[show running-config]] interface TenGigabitEthernet 1/0/12</code>
 
+
* <code>[[show interfaces]]</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 ==
 +
* {{vlan}}
 
* {{IOS}}
 
* {{IOS}}
  
  
 
[[Category:Cisco]]
 
[[Category:Cisco]]

Latest revision as of 08:47, 15 February 2021

Advertising: