You are on page 1of 5

LAB FINAL DOCUMENTS Q2

Aysha Akmal
183-15-11959
VLAN

SWITCH Configuration

switch 0:
Switch>en

Switch#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)#vlan 10

Switch(config-vlan)#ex

Switch(config)#vlan 20

Switch(config-vlan)#ex

Switch(config)#vlan 30

Switch(config-vlan)#ex

Switch(config)#int fa0/1

Switch(config-if)#switchport access vlan 10

Switch(config-if)#ex

Switch(config)#int fa0/2

Switch(config-if)#switchport access vlan 30

Switch(config-if)#ex

Switch(config)#int fa0/3
Switch(config-if)#switchport mode trunk

Switch(config-if)#

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to down

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

Switch(config-if)#ex

Switch(config)#interface range fa0/1-2

Switch(config-if-range)#switchport mode access

Switch(config-if-range)#ex

Switch(config)#

switch 1:
Switch>en

Switch#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)#vlan 10

Switch(config-vlan)#ex

Switch(config)#vlan 20

Switch(config-vlan)#ex

Switch(config)#vlan 30

Switch(config-vlan)#ex

Switch(config)#int fa0/1

Switch(config-if)#switchport access vlan 20

Switch(config-if)#ex

Switch(config)#int fa0/2

Switch(config-if)#switchport access vlan 10


Switch(config-if)#ex

Switch(config)#

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4, changed state to down

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

Switch(config)#int fa0/4

Switch(config-if)#switchport mode trunk

Switch(config-if)#ex

Switch(config)#int fa0/5

Switch(config-if)#switchport mode trunk

Switch(config-if)#

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to down

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

Switch(config-if)#ex

Switch(config)#interface range fa0/1-2

Switch(config-if-range)#ex

Switch(config)#interface range fa0/1-2

Switch(config-if-range)#switchport mode access

Switch(config-if-range)#ex

Switch(config)#
switch 2:
Switch>en

Switch#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)#vlan 10

Switch(config-vlan)#ex

Switch(config)#vlan 20

Switch(config-vlan)#ex

Switch(config)#vlan 30

Switch(config-vlan)#ex

Switch(config)#int fa0/1

Switch(config-if)#switchport access vlan 20

Switch(config-if)#ex

Switch(config)#int fa0/2

Switch(config-if)#switchport access vlan 30

Switch(config-if)#ex

Switch(config)#

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to down

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

Switch con0 is now available

Press RETURN to get started.

Switch>en

Switch#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)#int fa0/5
Switch(config-if)#switchport mode trunk

Switch(config-if)#ex

Switch(config)#interface range fa0/1-2

Switch(config-if-range)#switchport mode access

Switch(config-if-range)#ex

Switch(config)#

You might also like