./images/VLANs.png

CCNA Semester 2 Virtual Local Area Networks (VLANs)

Create a VLAN with an ID of 99 vlan 99
Add a name to the VLAN number name Management
Set an IP address to a VLAN int vlan 99
ip addresss 192.168.0.11 255.255.255.0
Set the default gateway in the VLAN ip default-gateway 192.168.0.2
Delete VLAN 99 no vlan 99
Configure the default VLAN switchport trunk native vlan 99
Force trunking on an interface switchport mode trunk
Disable Dynamic Trunking Protocol (DTP) switchport nonegotiate
Ask the other end to become a trunk and if that fails become an access port switchport mode dynamic desirable
Become an access port unless asked by another interface to be a trunk switchport mode dynamic auto
Set as access port switchport mode access
Make the port ready for subinterface use switchport trunk encapsulation