0% found this document useful (0 votes)
13 views5 pages

Network Task2

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views5 pages

Network Task2

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

‫خالد حماده ابوهاشم‬

42020254
G4
● Switch>en
Switch#sh
Switch#show vlan b
Switch#show vlan brief

VLAN Name Status Ports


---- -------------------------------- --------- -------------------------------
1 default active Fa0/1, Fa0/2, Fa0/3, 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
2 HR active Fa0/4, Fa0/5, Fa0/6
3 VLAN0003 active Fa0/7, Fa0/8, Fa0/9
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int g0/2
Switch(config-if)#sw
Switch(config-if)#switchport m
Switch(config-if)#switchport mode t
Switch(config-if)#switchport mode trunk
Switch(config-if)#^Z
Switch#
%SYS-5-CONFIG_I: Configured from console by console

Switch#sh int tr
Port Mode Encapsulation Status Native vlan
Gig0/2 on 802.1q trunking 1

Port Vlans allowed on trunk


Gig0/2 1-1005

Port Vlans allowed and active in management domain


Gig0/2 1,2,3

Port Vlans in spanning tree forwarding state and not pruned


Gig0/2 1,2,3
‫خالد حماده ابوهاشم‬
42020254
G4
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int g0/2
Switch(config-if)#sw
Switch(config-if)#switchport t
Switch(config-if)#switchport trunk na
Switch(config-if)#switchport trunk native vlan 3
Switch(config-if)#
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on
GigabitEthernet0/2 (3), with Switch GigabitEthernet0/1 (1).

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on


GigabitEthernet0/2 (3), with Switch GigabitEthernet0/1 (1).

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on


GigabitEthernet0/2 (3), with Switch GigabitEthernet0/1 (1).

Switch(config-if)#^Z
Switch#
%SYS-5-CONFIG_I: Configured from console by console

Switch#sh int trunk


Port Mode Encapsulation Status Native vlan
Gig0/2 on 802.1q trunking 3

Port Vlans allowed on trunk


Gig0/2 1-1005

Port Vlans allowed and active in management domain


Gig0/2 1,2,3

Port Vlans in spanning tree forwarding state and not pruned


Gig0/2 1,2,3

Switch#
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on
GigabitEthernet0/2 (3), with Switch GigabitEthernet0/1 (1).

Switch#copy run start


Destination filename [startup-config]?
Building configuration...
[OK]
‫خالد حماده ابوهاشم‬
42020254
G4
Switch#
___________________________________________________________________________
Switch#show vlan brief

VLAN Name Status Ports


---- -------------------------------- --------- -------------------------------
1 default active Fa0/1, Fa0/2, Fa0/3, 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
2 HR active Fa0/4, Fa0/5, Fa0/6
3 VLAN0003 active Fa0/7, Fa0/8, Fa0/9
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
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 m
Switch(config-if)#switchport mode tr
Switch(config-if)#switchport mode trunk

Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to
down

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up

Switch(config-if)#

Switch con0 is now available

Press RETURN to get started.

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

Port Vlans allowed and active in management domain


Gig0/1 1,2,3

Port Vlans in spanning tree forwarding state and not pruned


Gig0/1 1,2,3

Switch#%SPANTREE-2-RECV_PVID_ERR: Received BPDU with inconsistent peer vlan id 3 on


GigabitEthernet0/1 VLAN1.

%SPANTREE-2-BLOCK_PVID_LOCAL: Blocking GigabitEthernet0/1 on VLAN0001.


Inconsistent local vlan.

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on


GigabitEthernet0/1 (1), with Switch GigabitEthernet0/2 (3).

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on


GigabitEthernet0/1 (1), with Switch GigabitEthernet0/2 (3).

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on


GigabitEthernet0/1 (1), with Switch GigabitEthernet0/2 (3).

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on


GigabitEthernet0/1 (1), with Switch GigabitEthernet0/2 (3).

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.

%SPANTREE-2-UNBLOCK_CONSIST_PORT: Unblocking GigabitEthernet0/1 on VLAN0001.


Port consistency restored.
‫خالد حماده ابوهاشم‬
42020254
G4
Switch(config-if)#^Z
Switch#
%SYS-5-CONFIG_I: Configured from console by console

Switch#sh int trunk


Port Mode Encapsulation Status Native vlan
Gig0/1 on 802.1q trunking 3

Port Vlans allowed on trunk


Gig0/1 1-1005

Port Vlans allowed and active in management domain


Gig0/1 1,2,3

Port Vlans in spanning tree forwarding state and not pruned


Gig0/1 1,2,3

Switch#copy run start


Destination filename [startup-config]?
Building configuration...
[OK]
Switch#

You might also like