Binary Nature where the analog and digital bits of nature connect

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Tuesday, 9 February 2010

Configure Inter-VLAN routing on a Cisco L3 Catalyst Switch

Posted on 17:20 by Unknown
I recently had to configure inter-VLAN routing at a client's site. I don't have to perform this task on a regular basis, so I figured I would make a post for future reference of a sample implementation.


Ingredients used for the recipe:
  • Cisco 2811 Router
  • Cisco Catalyst 3560
  • Cisco Catalyst 2950


1. Configure the Corp router
Corp> enable
Corp# conf t
Corp# int fa 0/1
Corp(config-if)# description Link_to_L3SW
Corp(config-if)# ip address 172.17.17.9 255.255.255.252
Corp(config-if)# no shut
Corp(config-if)# end

2. Configure the Cisco Catalyst 3560 Switch
L3SW> enable
L3SW# conf t
L3SW(config)# vtp mode server
L3SW(config)# vtp domain test
L3SW(config)# vtp password test
L3SW(config)# vlan 10
L3SW(config-vlan)# name Marketing
L3SW(config-vlan)# end
L3SW(config)# vlan 20
L3SW(config-vlan)# name IT
L3SW(config-vlan)# end
L3SW(config)# int gi 0/1
L3SW(config-if)# switchport trunk encapsulation dot1q
L3SW(config-if)# switchport mode trunk
L3SW(config-if)# switchport nonegotiate
L3SW(config-if)# end
L3SW(config)# ip routing
L3SW(config)# int vlan 1
L3SW(config-if)# ip address 10.100.1.1 255.255.255.0
L3SW(config-if)# no shut
L3SW(config)# int vlan 10
L3SW(config-if)# ip address 10.100.10.1 255.255.255.0
L3SW(config-if)# no shut
L3SW(config)# int vlan 20
L3SW(config-if)# ip address 10.100.20.1 255.255.255.0
L3SW(config-if)# no shut
L3SW(config-if)# end
L3SW(config)# int fa 0/24
L3SW(config-if)# no switchport
L3SW(config-if)# ip address 172.17.17.10 255.255.255.252
L3SW(config-if)# no shut
L3SW(config-if)# end
L3SW(config)# ip route 0 0 172.17.17.9
L3SW(config)# end

3. Configure the Cisco Catalyst 2950 Switch
L2SW> enable 
L2SW# conf t
L2SW(config)# vtp mode client
L2SW(config)# vtp domain test
L2SW(config)# vtp password test
L2SW(config)# int range fa 0/1 - 4
L2SW(config-if-range)# switchport mode access
L2SW(config-if-range)# switchport access vlan 10
L2SW(config-if-range)# int range fa 0/5 - 8
L2SW(config-if-range)# switchport mode access
L2SW(config-if-range)# switchport access vlan 20
L2SW(config-if-range)# end
L2SW(config)# int gi 0/1
L2SW(config-if)# switchport trunk encapsulation dot1q
L2SW(config-if)# switchport mode trunk
L2SW(config-if)# switchport nonegotiate
L2SW(config-if)# end
L2SW(config)# int vlan 1
L2SW(config-if)# ip address 10.100.1.2 255.255.255.0
L2SW(config-if)# no shut
L2SW(config-if)# end
L2SW(config)# ip default-gateway 10.100.1.1
L2SW(config)# end


Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in Cisco | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Cisco ASA SSL VPN with Active Directory
    There is little doubt the bring-your-own-device (BYOD) strategy is becoming a popular method to access company resources. As technical prof...
  • PowerShell Function for Windows System Memory Statistics
    Memory is one of the four primary hardware resources an operating system manages. The other three are cpu, disk, and network. Analysis of sy...
  • Integrate VMware Fusion with GNS3 on your Mac
    At long last, we can finally integrate VMware Fusion with GNS3. VMware Workstation for Windows and Linux has had this capability for quite s...
  • Configure Inter-VLAN routing on a Cisco L3 Catalyst Switch
    I recently had to configure inter-VLAN routing at a client's site. I don't have to perform this task on a regular basis, so I figur...
  • SSL VPN configuration on Cisco ASA with AnyConnect VPN client
    This post will describe how to setup a Cisco Adaptive Security Appliance (ASA) device to perform remote access SSL VPN with the stand-alone ...
  • Enable sudo for RHEL and CentOS
    Sudo is an arguably safer alternative to logging in (or using the su command) to the root account. Sudo allows you to partition and delegat...
  • Get Exchange Server Version and Update Info with PowerShell
    I prefer not to "reinvent the wheel", so I spent quite a bit of time searching the web for available code that would perform the t...
  • Cisco Security Device Manager on the Mac
    Cisco Router and Security Device Manager (SDM) is a Web-based device-management tool that enables you to deploy and manage the services on a...
  • Install Request Tracker 4 on Ubuntu Server
    The CentOS6/RT4 blog post has generated terrific feedback, so I figure an Ubuntu (and Debian) distribution port is essential. The core com...
  • Install Request Tracker 4
    The argument could be made Request Tracker is the de facto standard when it comes to issue tracking systems. Maybe the only drawback of RT ...

Categories

  • AD
  • Apache
  • AWS
  • Cisco
  • Exchange
  • FFmpeg
  • GNS3
  • Linux
  • Mac
  • MariaDB
  • MySQL
  • PowerShell
  • RT
  • Security
  • SSH
  • VMware
  • Windows
  • Zenoss

Blog Archive

  • ►  2013 (8)
    • ►  October (1)
    • ►  September (1)
    • ►  August (1)
    • ►  May (1)
    • ►  April (1)
    • ►  March (1)
    • ►  February (1)
    • ►  January (1)
  • ►  2012 (3)
    • ►  December (1)
    • ►  November (1)
    • ►  April (1)
  • ►  2011 (3)
    • ►  June (1)
    • ►  May (2)
  • ▼  2010 (8)
    • ►  August (1)
    • ►  July (1)
    • ►  June (1)
    • ►  May (1)
    • ►  April (1)
    • ►  March (1)
    • ▼  February (1)
      • Configure Inter-VLAN routing on a Cisco L3 Catalys...
    • ►  January (1)
  • ►  2009 (3)
    • ►  December (1)
    • ►  November (1)
    • ►  October (1)
Powered by Blogger.

About Me

Unknown
View my complete profile