Network Task2 (2)
Network Task2 (2)
42020254
G4
● Switch>en
Switch#sh
Switch#show vlan b
Switch#show vlan brief
Switch#sh int tr
Port Mode Encapsulation Status Native vlan
Gig0/2 on 802.1q trunking 1
Switch(config-if)#^Z
Switch#
%SYS-5-CONFIG_I: Configured from console by console
Switch#
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on
GigabitEthernet0/2 (3), with Switch GigabitEthernet0/1 (1).
Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to
down
Switch(config-if)#
Switch>en
Switch#sh int trunk
Port Mode Encapsulation Status Native vlan
Gig0/1 on 802.1q trunking 1
خالد حماده ابوهاشم
42020254
G4
Port Vlans allowed on trunk
Gig0/1 1-1005
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int g0/1
Switch(config-if)#sw
Switch(config-if)#switchport t
Switch(config-if)#switchport trunk n
Switch(config-if)#switchport trunk native vlan 3
Switch(config-if)#%SPANTREE-2-UNBLOCK_CONSIST_PORT: Unblocking GigabitEthernet0/1
on VLAN0003. Port consistency restored.