User Tools

Site Tools


icnd1:trunking_and_vlans

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
icnd1:trunking_and_vlans [2024/04/28 01:18]
114.119.149.71 old revision restored (2023/12/14 03:24)
icnd1:trunking_and_vlans [2024/05/14 07:00] (current)
114.119.138.183 old revision restored (2023/09/22 21:51)
Line 96: Line 96:
  
 </code> </code>
- 
-===== Command reference ===== 
----- 
-<code> 
-Switch(config-if)#switchport mode ? 
-  access   Set trunking mode to ACCESS unconditionally 
-  dynamic  Set trunking mode to dynamically negotiate access or trunk mode 
-  trunk    Set trunking mode to TRUNK unconditionally 
-   
-Switch(config-if)#switchport mode dynamic ? 
-  auto       Set trunking mode dynamic negotiation parameter to AUTO 
-  desirable  Set trunking mode dynamic negotiation parameter to DESIRABLE 
-</code> 
-<code>   
-Switch(config-if)#switchport trunk allowed vlan add 99 
- 
-Switch#show interfaces trunk  
-Port        Mode         Encapsulation  Status        Native vlan 
-Fa0/24      desirable    n-802.1q       trunking      1 
-Gig0/     on           802.1q         trunking      1 
- 
-Port        Vlans allowed on trunk 
-Fa0/24      1-1005 
-Gig0/     1-1005 
- 
-Port        Vlans allowed and active in management domain 
-Fa0/24      1,2,3,900,990 
-Gig0/     1,2,3,900,990 
- 
-Port        Vlans in spanning tree forwarding state and not pruned 
-Fa0/24      1,2,3,900,990 
-Gig0/     1,2,3,900,990 
-</code> 
-<code> 
-Switch#show vlan brief  
- 
-VLAN Name                             Status    Ports 
----- -------------------------------- --------- ------------------------------- 
-1    default                          active    Fa0/1, Fa0/2, Fa0/3, Fa0/4 
-                                                Fa0/5, Fa0/6, Fa0/7, Fa0/8 
-                                                Fa0/9, Fa0/10, Fa0/11, Fa0/12 
-                                                Fa0/17, Fa0/18, Fa0/19, Fa0/20 
-                                                Fa0/21, Fa0/22, Fa0/23, Gig0/2 
-2    VLAN0002                         active    Fa0/13, Fa0/14 
-3    VLAN0003                         active    Fa0/15, Fa0/16 
-900  ENG                              active     
-990  TEST                             active     
-1002 fddi-default                     active     
-1003 token-ring-default               active     
-1004 fddinet-default                  active     
-1005 trnet-default                    active    </code> 
icnd1/trunking_and_vlans.1714267087.txt.gz · Last modified: 2024/04/28 01:18 by 114.119.149.71 · Currently locked by: 114.119.158.167,10.179.80.71