0% found this document useful (0 votes)
6 views1 page

VLAN Configuration for SW-01 and SW-02

The document configures two VLANs named "vlan-10" and "vlan-20" on switch SW-01. Ports Gig0/0 and Gig0/1 are assigned to VLANs 10 and 20 respectively in access mode. Port Gig0/3 is configured as a trunk port to allow both VLANs 10 and 20.

Uploaded by

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

VLAN Configuration for SW-01 and SW-02

The document configures two VLANs named "vlan-10" and "vlan-20" on switch SW-01. Ports Gig0/0 and Gig0/1 are assigned to VLANs 10 and 20 respectively in access mode. Port Gig0/3 is configured as a trunk port to allow both VLANs 10 and 20.

Uploaded by

Oskar Amine
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Configuration: SW-01/ SW-02

SW-01#conf t
SW-01(config)#vlan 10
SW-01(config-vlan)#name vlan-10

SW-01(config)#vlan 20
SW-01(config-vlan)#name vlan-20

SW-01#conf t
SW-01(config)#int gigabitEthernet 0/0
SW-01(config-if)#switchport mode access
SW-01(config-if)#switchport access vlan 10

SW-01(config)#int gig0/1
SW-01(config-if)#switchport mode access
SW-01(config-if)#switchport access vlan 20
SW-01(config-if)#^Z
SW-01#

SW-01#show vlan

SW-01#conf t
SW-01(config)#int gig0/3
SW-01(config-if)#switchport mode trunk
SW-01(config-if)#switchport trunk encapsulation dot1q
SW-01(config-if)#switchport trunk allowed vlan 10,20
SW-01(config-if)#end
SW-01#

SW-01#show running-config interface gigabitEthernet 0/3

You might also like