Professional Documents
Culture Documents
Cisco Networking Academy CCNP - Multilayer Switching
Cisco Networking Academy CCNP - Multilayer Switching
VLANs
VLANs are associated with individual
networks or subnetworks
Network devices in different VLANs
cannot communicate with one another
without a Layer 3 router
When an end station in one VLAN needs
to communicate with an end station in
another VLAN, inter-VLAN communication
is required
External router
Cheaper than a Layer 3switch
Performance limited
Internal router
Integration between the layer 2 and 3 elements
More performance
ping
R#show vlan
R#show ip route
R#show ip interface brief
Layer 2 switching
A key
is created to compare the frame to the table content
is fed into a hashing algorithm, which produces a pointer into
the table to access a smaller specific area of the table
Multilayer Switching
Ability to switch data based on information at multiple layers
Class of high-performance routers that provide L3 services
and simultaneously forward packets at wire-speed through
switching hardware
Layer 3 switch
Uses ASIC HW: wire-speed PDU header rewrites and forwarding
L3 switching speeds approximate those of L2 switching
Virtual L3 switch interface that can be configured for any VLAN that
exists on a L3 switch
It provides L3 processing for packets from all switch ports associated with
that VLAN
Routing:
Via the switch virtual interface
A virtual interface in every VLAN
Switch(config)#interface vlan vlan_id
Switch(config-if)#ip address ip_add mask
Switch(config-if)#no shutdown for VLAN 1
10
10.0.10.1 255.255.255.0
20
10.0.20.1 255.255.255.0
L3 switching methods:
Route caching
Topology-based using routing
table information
FIB
derived from the IP routing table
arranged for maximum lookup throughput
Adjacency table
derived from the ARP table
contains L2 rewrite (MAC) information for the next hop
CEF IP destination prefixes are stored in the TCAM table from the
most specific to the least specific entry
When the CEF TCAM table is full, a wildcard entry redirects to the
L3 engine
When the adjacency table is full, a CEF TCAM table entry points to
the L3 engine to redirect the adjacency
The FIB lookup is based on the L3 destination address prefix
(longest match)
FIB table updates
An ARP entry for the destination next hop changes
The routing table entry for a prefix changes
The routing table entry for the next hop changes
TCAM
Specialized piece of memory designed for rapid, HW based table
lookups of L3 & L4 information
ARP throttling
Only the first few packets for a connected destination reach
the L3 engine so that it can use ARP to locate the host
Throttling adjacency is installed so that subsequent packets
dont initiate more ARPs until an ARP reply is received
Throttling adjacency is removed
When an ARP reply is received
If no ARP reply is seen within 2 seconds
(2) A glean adjacency entry indicates that a particular next hop should be directly connected,
but there is no MAC header rewrite information available
(3) The L3 engine sends an ARP request for host B and installs the drop adjacency for host B.
Then, subsequent frames destined for host B from host A are dropped (ARP throttling)
2.
Switch performs a CEF lookup (destination IP). The packet hits the
CEF entry and is redirected to the L3 engine using a glean adjacency
3.
4.
5.
6.
7.
8.
9.
CEF configuration
CEF is enabled by default in Catalyst 6500 series
Supervisor Engine 720 with PFC2, MSFC3, and
DFC and cannot be disabled
To enable/disable CEF on a 4000:
Router(config)#(no) ip cef
To monitor CEF:
Router#show ip cef
Router#show ip cef detail
Switch#show adjacency detail
Switch#debug ip cef
The End