Skip to content
Tech Shizz Logo

An Engineers Blog

  • TechShizz
  • blog

Enabling Layer 3 switching on a Cisco switches

Posted on February 23, 2021 By rich No Comments on Enabling Layer 3 switching on a Cisco switches

Step 1.

If you have a layer 3 Cisco switch and want to route packets via different VLANs, you need to enable this. 

First do a “Show run” and check to see if:

ip routing

is present. If it is then you’re good to go with step 2. If not, just run the command “ip routing“.

Step 2.

After creating you VLANs the normal layer 2 way like this:

vlan 10

name NetworkA

You next need to create a VLAN interface like this:

interface VLAN 10

ip adderss 10.1.10.1 255.255.255.0

exit

Finally, you need to add the ports that need to route together to the interface.

If you’re connecting a DHCP server to the switch to provide DHCP services, this link should be a trunk port with access to the correct VLANs to provide DHCP. You’d then need to assign an ip helper on the trunk port to point to the DHCP server. This tells the switch to forward any DHCP broadcasts to the DHCP server for any traffic reaching the port. Since the port is a trunk all VLAN traffic is tagged and gets sent to the DHCP server.

 

Post navigation

Next Post: List all SMTP Addresses for all Mailboxes or Distribution Groups in Exchange ❯

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

Subscribe to our newsletter!

Recent Posts

  • How to implement a lightning-fast ransomware playbook
  • How to achieve defence in depth in your business
  • How to implement a SecOps team phishing response plan
  • How to block an Office 365 Sign-in correctly
  • Microsoft finally patched serious Exchange 0-day over a month old!

Recent Comments

    Archives

    • November 2022
    • July 2021
    • March 2021
    • February 2021

    Categories

    • Cyber Security
    • Uncategorized

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org

    Copyright © 2023 .

    Theme: Oceanly News Dark by ScriptsTown