Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

3.4.5 packet tracer configure trunks

S3#show vlan brief

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/1, Fa0/2, Fa0/3, Fa0/4
                                                Fa0/5, Fa0/7, Fa0/8, Fa0/9
                                                Fa0/10, Fa0/12, Fa0/13, Fa0/14
                                                Fa0/15, Fa0/16, Fa0/17, Fa0/19
                                                Fa0/20, Fa0/21, Fa0/22, Fa0/23
                                                Fa0/24, Gig0/1, Gig0/2
10   Faculty/Staff                    active    Fa0/11
20   Students                         active    Fa0/18
30   Guest(Default)                   active    Fa0/6
88   Management                       active    
99   Native                           active    
1002 fddi-default                     active    
1003 token-ring-default               active    
1004 fddinet-default                  active    
1005 trnet-default                    active
Comment

3.4.5 packet tracer configure trunks

S1#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/13, Fa0/14, Fa0/15, Fa0/16
                                                Fa0/17, Fa0/18, Fa0/19, Fa0/20
                                                Fa0/21, Fa0/22, Fa0/23, Fa0/24
                                                Gig0/1, Gig0/2
10   Faculty/Staff                    active    
20   Students                         active    
30   Guest(Default)                   active    
88   Management                       active    
99   Native                           active    
1002 fddi-default                     active    
1003 token-ring-default               active    
1004 fddinet-default                  active    
1005 trnet-default                    active
Comment

3.4.5 packet tracer configure trunks

S1(config)# interface range g0/1 - 2
S1(config-if)# switchport mode trunk
Comment

3.4.5 packet tracer configure trunks

S1(config-if)# switchport trunk native vlan 99
Comment

3.4.5 packet tracer configure trunks

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet0/2 (99), with S3 GigabitEthernet0/2 (1).
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet0/1 (99), with S2 GigabitEthernet0/1 (1).
Comment

3.4.5 packet tracer configure trunks

S2(config)#interface g0/1
S2(config-if)#switchport mode trunk
S2(config-if)#switchport trunk native vlan 99
Comment

3.4.5 packet tracer configure trunks

S3(config)#interface g0/2
S3(config-if)#switchport mode trunk
S3(config-if)#switchport trunk native vlan 99
Comment

3.4.5 packet tracer configure trunks

S2#show interface g0/1 switchport
Name: Gig0/1
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 99 (Native)
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk private VLANs: none
Operational private-vlan: none
Trunking VLANs Enabled: All
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL
Protected: false
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Appliance trust: none
Comment

3.4.5 packet tracer configure trunks

S3#show interface g0/2 switchport
Name: Gig0/2
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 99 (Native)
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk private VLANs: none
Operational private-vlan: none
Trunking VLANs Enabled: All
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL
Protected: false
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Appliance trust: none
Comment

PREVIOUS NEXT
Code Example
Shell :: powershell get all unlinked gpo 
Shell :: how to install lame linux 
Shell :: install pandas xlrd 
Shell :: open first image in directory linux 
Shell :: minecraft launcher installations gone 
Shell :: Add branch to git prompt ubuntu wsl 
Shell :: linux convert to sha512 
Shell :: app-crashed 
Shell :: adb link server in react native 
Shell :: Change user/group for directory and all contents 
Shell :: linux copy move 
Shell :: find directory spend inodes 
Shell :: how to install Klavaro 
Shell :: run .c file linux 
Shell :: github url not showing 
Shell :: git tag finalize app 
Shell :: cmdchange directory with space 
Shell :: centos who connected to server 
Shell :: kubernetes using hyper v 
Shell :: command filter folder 
Shell :: how to make server environment variables available to browser on frontend in node js 
Shell :: bash tr squeeze space 
Shell :: linux delete all files except extension 
Shell :: powershell task scheduler 
Shell :: step2 pgadmin ubuntu 20.04 
Shell :: opera mini for ubuntu 18.04 
Shell :: commit specific file in git 
Shell :: restart linux 
Shell :: unzip gzip 
Shell :: docker save current state 
ADD CONTENT
Topic
Content
Source link
Name
1+6 =