Default VLAN: VLAN 1.
If we want to assign a new VLAN, we have to use the command “switchport access vlan
VLAN Benefits:
– Logically group devices by department/function, not location so it provides more efficient use of bandwidth
– Separate broadcast domains, thus reducing their sizes and help mitigate broadcast storms
– Provide additional security because it separates sensitive data traffic from other traffic
The following commands are used to a create a VLAN (for example VLAN 10) and assign it to an interface (for example fa0/1) on a switch:
Switch(config)#vlan 10 //Create VLAN 10 first
Switch(config)#interface fa0/1
Switch(config-if)#switchport access vlan 10 //assign Fa0/1 interface to VLAN 10
To verify a VLAN or check which ports belong to which VLAN, use the “show vlan” command (or “show vlan id
» Tin mới nhất:
» Các tin khác: