cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
29425
Views
5
Helpful
1
Replies

how can i assign a PC into a vlan?

phaniraj01
Level 1
Level 1

how can i assign a PC into a vlan? can anyone tell me the commds& process and how can i shut and unshut ports..

1 Accepted Solution

Accepted Solutions

smothuku
Level 7
Level 7

Hi Phani ,

Ex : First create vlan on the switch.i.e

Interface Vlan x

ip address 10.10.10.1 255.255.255.0

no sh

Connect PC to anyport on the switch .i.e

If PC is terminated on f0/1

interface f0/1

switchport mode access

switchport access vlan x

no sh

You can shut or no shut any port of rouer or switch using " shut " and "no shut" command in interface mode.

ex: no shut

interface f0/1

no sh

admin shut:

interface f0/1

shut

Thanks,

Satish

View solution in original post

1 Reply 1

smothuku
Level 7
Level 7

Hi Phani ,

Ex : First create vlan on the switch.i.e

Interface Vlan x

ip address 10.10.10.1 255.255.255.0

no sh

Connect PC to anyport on the switch .i.e

If PC is terminated on f0/1

interface f0/1

switchport mode access

switchport access vlan x

no sh

You can shut or no shut any port of rouer or switch using " shut " and "no shut" command in interface mode.

ex: no shut

interface f0/1

no sh

admin shut:

interface f0/1

shut

Thanks,

Satish

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card