0% found this document useful (0 votes)
134 views7 pages

Trunk & Vlan

The document describes the configuration of 2 trunk ports and 4 VLANs on a switch. VLANs 10, 20, 30 and 40 are created and named OFFICE, PABX, LA, and INDIHOME respectively. Ports Fa0/1, Fa1/1 are configured as trunk ports while ports Fa2/1 to Fa5/1 are configured as access ports assigned to each of the four VLANs.
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)
134 views7 pages

Trunk & Vlan

The document describes the configuration of 2 trunk ports and 4 VLANs on a switch. VLANs 10, 20, 30 and 40 are created and named OFFICE, PABX, LA, and INDIHOME respectively. Ports Fa0/1, Fa1/1 are configured as trunk ports while ports Fa2/1 to Fa5/1 are configured as access ports assigned to each of the four VLANs.
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/ 7

Konfigurasi 2 trunk dan 4 vlan

Switch>enable

Switch#configure terminal

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

Switch(config)#interface fastEthernet 0/1

Switch(config-if)#switchport mode trunk

Switch(config-if)#exit

Switch(config)#

Switch(config)#vlan 10

Switch(config-vlan)#name vlan 10

% Invalid input detected at '^' marker.

Switch(config-vlan)#name vlan10

Switch(config-vlan)#exit

Switch(config)#vlan 20

Switch(config-vlan)#name PABX

Switch(config-vlan)#exit

Switch(config)#exit

Switch#

%SYS-5-CONFIG_I: Configured from console by console

Switch#exit
Switch con0 is now available

Press RETURN to get started.


Switch>show vlan brief

VLAN Name Status Ports

---- -------------------------------- --------- -------------------------------

1 default active Fa0/1, Fa1/1, Fa2/1, Fa3/1

Fa4/1, Fa5/1, Fa6/1, Fa7/1

Fa8/1, Fa9/1

10 vlan10 active

20 PABX active

1002 fddi-default active

1003 token-ring-default active

1004 fddinet-default active

1005 trnet-default active

Switch>enable

Switch#configure terminal

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

Switch(config)#vlan 10

Switch(config-vlan)#name OFFICE

Switch(config-vlan)#exit

Switch(config)#vlan 30

Switch(config-vlan)#name LA
Switch(config-vlan)#vlan 40

Switch(config-vlan)#name INDIHOME

Switch(config-vlan)#exit

Switch(config)#exit

Switch#

%SYS-5-CONFIG_I: Configured from console by console

Switch#exit

Switch con0 is now available

Press RETURN to get started.


Switch>show vlan brief

VLAN Name Status Ports

---- -------------------------------- --------- -------------------------------

1 default active Fa0/1, Fa1/1, Fa2/1, Fa3/1

Fa4/1, Fa5/1, Fa6/1, Fa7/1

Fa8/1, Fa9/1

10 OFFICE active

20 PABX active

30 LA active

40 INDIHOME active

1002 fddi-default active


1003 token-ring-default active

1004 fddinet-default active

1005 trnet-default active

Switch>configure termnial

% Invalid input detected at '^' marker.

Switch>en

Switch#configure terminal

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

Switch(config)#interface fastEthernet 0/1

Switch(config-if)#switchport mode trunk

Switch(config-if)#exit

Switch(config)#interface fastEthernet 1/1

Switch(config-if)#switchport mode trunk

Switch(config-if)#exit

Switch(config)#interface fastEthernet 2/1

Switch(config-if)#switchport mode access

Switch(config-if)#switchport access vlan 10

Switch(config-if)#exit

Switch(config)#interface fastEthernet 3/1

Switch(config-if)#switchport mode access

Switch(config-if)#switchport access vlan 20

Switch(config-if)#exit

Switch(config)#interface fastEthernet 4/1


Switch(config-if)#switchport mode access

Switch(config-if)#switchport access vlan 30

Switch(config-if)#exit

Switch(config)#interface fastEthernet 5/1

Switch(config-if)#switchport mode access

Switch(config-if)#switchport access vlan 40

Switch(config-if)#exit

Switch(config)#

Switch(config)#end

Switch#

%SYS-5-CONFIG_I: Configured from console by console

Switch#

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy