Thursday, March 20, 2008

Cisco Certification: An Introduction To Multilayer Switching And SVIs

Sure, you have to know all about SVIs and multilayer switching to earn your CCNP, but you also need to know about them because they re so commonplace in today s networks!
Why? We can use an SVI to allow inter-VLAN communication on a multilayer switch, eliminating the need for a separate router to get involved.
In this example, we have Host 1 in VLAN 11 and Host 3 in VLAN 33. Before we begin configuring, we ll send pings between the two hosts. (We ll use Cisco routers for the hosts in this lab, which is why the ping output may look familiar!)
HOST 1 ping 30.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 30.1.1.1, timeout is 2 seconds:.....
Success rate is 0 percent (0/5)
HOST 3 ping 20.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 20.1.1.1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
As we expect, there s no IP connectivity between the hosts. Assuming the appropriate switch ports are already placed in VLAN 11 and VLAN 33, we ll now create two switched virtual interfaces on this multilayer switch. One will represent VLAN 33, and the other will represent VLAN 11.
SW1(config) int vlan11
01:30:04: %LINK-3-UPDOWN: Interface Vlan11, changed state to up
01:30:05: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan11, changed state to up
SW1(config-if) ip address 20.1.1.11 255.255.255.0
SW1(config-if) int vlan33
01:30:11: %LINK-3-UPDOWN: Interface Vlan33, changed state to up
01:30:12: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan33, changed state to up
SW1(config-if) ip address 30.1.1.11 255.255.255.0
At this point, we ve still got a problem when we look at the routing table.
SW1 show ip route
Default gateway is not set
Host Gateway Last Use Total Uses Interface
ICMP redirect cache is empty
The problem is that we don t have a routing table, because IP routing is off by default on a multilayer switch. Let s turn IP routing on and then check the routing table.
SW1(config) ip routing
SW1(config) Z
SW1 show ip route
Gateway of last resort is not set
20.0.0.0/24 is subnetted, 1 subnets
C 20.1.1.0 is directly connected, Vlan11
30.0.0.0/24 is subnetted, 1 subnets
C 30.1.1.0 is directly connected, Vlan33
Now we re in good shape! The hosts need to have their default gateway set to the appropriate SVI IP address; here, Host 1 should have its gateway set to 20.1.1.11, and Host 3 to 30.1.1.11. After doing so, inter-VLAN communication is now in place, as shown by the ping output below.
HOST 1 ping 30.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 30.1.1.1, timeout is 2 seconds:

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
HOST 3 ping 20.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 20.1.1.1, timeout is 2 seconds:

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
In a future Cisco certification tutorial, we ll take a look at configuring a multilayer switch port as a routed port, and assign an IP address to that port. See you then!
Chris Bryant, CCIE 12933, is the owner of The Bryant Advantage, home of free Cisco CCNP Certification and CCNA Certification Exam tutorials, The Ultimate CCNA Study Package, and Ultimate CCNP Study Packages.
You can also visit his blog, which is updated several times daily with new Cisco certification articles, free tutorials, and daily CCNA / CCNP exam questions! Details are on the website.
For a FREE copy of his latest e-books, How To Pass The CCNA and How To Pass The CCNP , just visit the website! You can also get FREE CCNA and CCNP exam questions every day!
Take the exclusive CCNA Mastermind Boot Camp with The Bryant Advantage! nakisha yan



Bookmark it: del.icio.usdigg.comreddit.comnetvouz.comgoogle.comyahoo.comtechnorati.comfurl.netbloglines.comsocialdust.comma.gnolia.comnewsvine.comslashdot.orgsimpy.com

No comments: