Friday, July 5, 2013

Set vlan in cisco switch and named them


If you didn’t read the first and second part then read that first.
1. First set the PC’s and switch like below picture.


2. Set the IP address
  • PC0 is 192.168.10.100 and subnet mask 255.255.255.0
  • PC1 is 192.168.20.100 and subnet mask 255.255.255.0
3. Connect PC0 Fast Ethernet with switch Fast Ethernet 0/1 and PC1 Fast Ethernet with switch Fast Ethernet 0/2 by a copper straight cable.

4. Now click on the switch and go to CLI.
  • Hit enter.
  • Then write,
enable to go to the privileged mode.
configure terminal to go to the global configuration mode.
vlan 10
name student
vlan 20
name management
exit
exit

5. Now hit enter. 
6. To see all the vlans you set write,
show vlan brief

No comments:

Post a Comment