0% found this document useful (0 votes)
41 views4 pages

Switch

The document shows the configuration of VLANs 2 and 3 on different ports of a switch. Ports fastEthernet 0/1-0/9 are configured with access VLAN 2. Then ports fastEthernet 0/10-0/23 are configured with access VLAN 3. The configuration is verified by showing the VLAN brief status. Port gigabitEthernet 0/1 is then configured as a trunk port with VLAN trunking allowed for all VLANs.

Uploaded by

luis.bascunan
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)
41 views4 pages

Switch

The document shows the configuration of VLANs 2 and 3 on different ports of a switch. Ports fastEthernet 0/1-0/9 are configured with access VLAN 2. Then ports fastEthernet 0/10-0/23 are configured with access VLAN 3. The configuration is verified by showing the VLAN brief status. Port gigabitEthernet 0/1 is then configured as a trunk port with VLAN trunking allowed for all VLANs.

Uploaded by

luis.bascunan
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/ 4

Switch>ena

Switch>enable
Switch#Conf
Switch#Configure t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan2
^
% Invalid input detected at '^' marker.
Switch(config)#exit
Switch#
%SYS-5-CONFIG_I: Configured from console by console
vlan 3
^
% Invalid input detected at '^' marker.
Switch#vlan3
Translating "vlan3"...domain server (255.255.255.255)
% Unknown command or computer name, or unable to find computer address

Switch#conf
Switch#configure t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 2
Switch(config-vlan)#exit
Switch(config)#vlan 3
Switch(config-vlan)#exit
Switch(config)#int
Switch(config)#interface fa
Switch(config)#interface fastEthernet
% Incomplete command.
Switch(config)#
Switch(config)#int
Switch(config)#interface ran
Switch(config)#interface range fas
Switch(config)#interface range fastEthernet 01/1-9
interface range not validated - command rejected
Switch(config)#interface range fastEthernet 01/-9
^
% Invalid input detected at '^' marker.
Switch(config)#interface range fastEthernet 0/1-9
Switch(config-if-range)#sw
Switch(config-if-range)#switchport mod
Switch(config-if-range)#switchport mode acc
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#SW
Switch(config-if-range)#SWitchport acc
Switch(config-if-range)#SWitchport access vlan 2
Switch(config-if-range)#exit
Switch(config)#int
Switch(config)#interface ra
Switch(config)#interface range fa
Switch(config)#interface range fastEthernet 0/10-23
Switch(config-if-range)#sw
Switch(config-if-range)#switchport mo
Switch(config-if-range)#switchport mode acc
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#sw
Switch(config-if-range)#switchport acc
Switch(config-if-range)#switchport access vlan3
^
% Invalid input detected at '^' marker.
Switch(config-if-range)#exit
Switch(config)#exit
Switch#
%SYS-5-CONFIG_I: Configured from console by console

Switch#sh
Switch#show v
Switch#show vi
Switch#show vl
Switch#show vlan br
Switch#show vlan brief

VLAN Name Status Ports


---- -------------------------------- --------- -------------------------------
1 default active 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 VLAN0002 active Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9
3 VLAN0003 active
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
Switch#conf
Switch#configure t
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#switchport access vlan 3
^
% Invalid input detected at '^' marker.
Switch(config)#int
Switch(config)#interface ra
Switch(config)#interface range fa
Switch(config)#interface range fastEthernet 0/10-23
Switch(config-if-range)#sw
Switch(config-if-range)#switchport mo
Switch(config-if-range)#switchport mode acc
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#sw
Switch(config-if-range)#switchport acc
Switch(config-if-range)#switchport access vlan 3
Switch(config-if-range)#exit
Switch(config)#exit
Switch#
%SYS-5-CONFIG_I: Configured from console by console

Switch#sh
Switch#show vl
Switch#show vlan br
Switch#show vlan brief

VLAN Name Status Ports


---- -------------------------------- --------- -------------------------------
1 default active Fa0/24, Gig0/1, Gig0/2
2 VLAN0002 active Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9
3 VLAN0003 active 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
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
Switch#
Switch#ena
Switch#enable
Switch#conf
Switch#configure t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int
Switch(config)#interface gi
Switch(config)#interface gigabitEthernet 0
^
% Invalid input detected at '^' marker.
Switch(config)#
Switch(config)#
Switch(config)#
Switch(config)#
Switch(config)#int
Switch(config)#interface gi
Switch(config)#interface gigabitEthernet 0/1
Switch(config-if)#sw
Switch(config-if)#switchport mod
Switch(config-if)#switchport mode tr
Switch(config-if)#switchport mode trunk
Switch(config-if)#sw
Switch(config-if)#switchport tr
Switch(config-if)#switchport trunk all
Switch(config-if)#switchport trunk allowed vlan all
Switch(config-if)#exit
Switch(config)#exit
Switch#
%SYS-5-CONFIG_I: Configured from console by console

Switch#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up

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


to up

Switch con0 is now available

Press RETURN to get started.

You might also like