1h Configure VLAN & assign interface



Create VLAN and Assign a Port to that VLAN

!!! Switch port 1 is a Part of Vlan 10 and Switch port 2 is a part of Vlan 20

Sw1(config)#vlan 10
Sw1(config)#name cisco
Sw1(config)#exit

Sw1(config)#vlan 20
Sw1(config)#name linux
Sw1(config)#exit

Sw1(config)#interface fastEthernet 0/1
Sw1(config-if)#switchport access vlan 10

Sw1(config)#interface fastEthernet 0/2
Sw1(config-if)#switchport access vlan 20

Sw1#show vlan brief
After assigning each port to a different Vlan. 10.0.0.1 and 10.0.0.2 won’t be able to ping each other.


Next  Lab 1g  Port Security




Share your views...

0 Respones to "1h Configure VLAN & assign interface"

Post a Comment

 

Contributors

Our Partners

DISCLAIMER: This site does not store any files on its server. I only index and link to content provided by other sites. All the files are from internet. In case of any query/objection regarding copyright or privacy, please inform me at Contact me and leave your comment here. I will immediately respond to you.