Sharing Ilmu

Sharing for useful things

How To Configure Port range VLAN cisco packet tracer

In the preceding tutorial I have discuss about How To Configure VLAN on Cisco Packet Tracer with single port assign. In this tutorial I’ll discuss about configure vlan with range port assign.

The topologi are same with previous article :

Configure ip address for PC :

 

Create vlan 10 with name Staff on global configuration mode :

MySW(config)#vlan 10
MySW(config-vlan)#name Staff
MySW(config-vlan)#exit

 

Create vlan 20 with name IT :

MySW(config)#vlan 20
MySW(config-vlan)#name IT
MySW(config-vlan)#exit

 

Assign port range. fa0/1 and fa0/2 to vlan10, fa0/3 and fa0/4 to vlan20.

MySW(config)#int range fa0/1-2
MySW(config-if-range)#switchport mode access
MySW(config-if-range)#switchport access vlan 10
MySW(config-if-range)#exit

MySW(config)#int range fa0/3-4
MySW(config-if-range)#switchport mode access
MySW(config-if-range)#switchport access vlan 20
MySW(config-if-range)#exit
MySW(config)#

 

Show vlan configuration. Make sure assign port is successfull.

z

Leave a Reply

Your email address will not be published. Required fields are marked *.

*
*
You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>