🌐
CCNA Prep
  • Intro
  • Network Devices
  • Interfaces and Cables
  • OSI Model & TCP/IP Suite
  • Intro to the CLI
  • Ethernet LAN Switching (Part 1)
  • Ethernet LAN Switching (Part 2)
  • IPv4 Addressing (Part 1)
  • IPv4 Addressing (Part 2)
  • Switch Interfaces
  • IPv4 Header
  • Routing Fundamentals
  • The Life of a Packet
  • Subnetting (Part 1)
  • Subnetting (Part 2)
  • Subnetting (Part 3 - VLSM)
  • VLANs (Part 1)
  • VLANs (Part 2)
  • VLANs (Part 3)
  • DTP/VTP
  • Spanning Tree Protocol (Part 1)
  • Spanning Tree Protocol (Part 2)
  • Rapid Spanning Tree Protocol
  • EtherChannel
  • Dynamic Routing
  • RIP & EIGRP
  • OSPF (Part 1)
  • OSPF (Part 2)
  • OSPF (Part 3)
  • First Hop Redundancy Protocols
  • TCP & UDP
  • IPv6 (Part 1)
  • IPv6 (Part 2)
  • IPv6 (Part 3)
  • Standard ACLs
  • Extended ACLs
  • CDP & LLDP
  • NTP
  • DNS
  • DHCP
  • SNMP
  • Syslog
  • SSH
  • FTP & TFTP
  • NAT (Part 1)
  • NAT (part 2)
  • QoS (Part 1)
  • QoS (Part 2)
  • Security Fundamentals
  • Port Security
  • DHCP Snooping
  • Dynamic ARP Inspection
  • LAN Architectures
  • WAN Architectures
  • Virtualization & Cloud, Containers, VRF
  • Wireless Fundamentals
  • Wireless Architectures
  • Wireless Security
  • Wireless Configuration
  • Network Automation
  • JSON, XML, & YAML
  • REST APIs
  • Software-Defined Networking
  • Ansible, Puppet, & Chef
Powered by GitBook
On this page
  • Native VLAN on a Router
  • Layer 3 (Multilayer) Switches
  • SVI

VLANs (Part 3)

Day 18

PreviousVLANs (Part 2)NextDTP/VTP

Last updated 1 year ago

Native VLAN on a Router

There are 2 methods to configure a native VLAN on a router:

  1. Using the command encapsulation dot1q followed by VLAN id and native on the router subinterface. This tells the router that this subinterface belongs to the native VLAN.

  2. Configuring an IP address for the native VLAN on the router's physical interface. But first, you may need to delete the subinterface of this VLAN on the router.

Layer 3 (Multilayer) Switches

A multilayer switch has a lot of advantages over a Layer 2 switch:

  • It is capable of both switching and routing.

  • You can assign IP addresses to its interfaces.

  • You can create virtual interfaces and assign IP addresses to those as well.

  • You can configure routes, just like a router.

  • It can be used for inter-VLAN routing, unlike Layer 2 switches.

SVI

SVIs (Switch Virtual Interfaces) are virtual interfaces with assigned IP addresses in a multilayer switch. It is used to avoid using a router for inter-VLAN routing. Gateway addresses on PCs should be configured to use the SVI. For the packets destined outside the LAN, a separate subnet is created between the Layer 3 switch and the router. Then a default route pointing to the router is configured on the switch. The command which enables Layer 3 routing on a switch is ip routing, entered from the global configuration mode. The command to change a switch port (Layer 2) to a routed port (Layer 3) is no switchport, entered from the interface config mode.

To configure an SVI, first, you need to create one. The command is interface vlan followed by the VLAN id existing on the switch. Then, assign an IP address and enable the interface with no shutdown command. SVIs are shut down by default.

Requirements for an SVI to be up/up:

  • The VLAN must exist on the switch

  • The switch must have at least one access or trunk port in the VLAN in an up/up state

  • The VLAN must not be shut down

  • The SVI must not be shut down

5KB
Day 18 Flashcards - VLANs Part 3.apkg
129KB
Day 18 Lab - Multilayer Switching.pkt
layer 3 switch icon