15 December, 2013

Cisco CCNP Switch Chapter 11

Multilayer Switching

#Layer 2 Port Configuration
Switch(config)#interface fa1/1
Switch(config-if)#switchport

#Layer 3 Port Configuration
Switch(config)#interface fa1/2
Switch(config-if)#no switchport
Switch(config-if)#ip address 192.168.1.254 255.255.255.0

#Verify Configuration
Switch#show interface fa1/1 switchport

#SVI Port Configuration

*On multilayer switch, you can enable L3 functionality for an entire VLAN on the switch. (This address will be GW)

#Define or identify the VLAN interface, then assign any L3 Address
Switch(config)#interface vlan 10 
Switch(config-if)#ip address 192.168.10.254 255.255.255.0

#Enable SEF
Switch(config)#ip sef

* Switched Virtual Interface (SVI)
* Cisco Express Forwarding (CEF)
* Forwarding Information Base (FIB)

#How Cisco Switches Use CEF


#Exceptions to CEF

* Packet with header options
* Packet with TTL expired
* Packets destined to a tunnel interface
* Packets with unsupported encapsulations

* Packets requiring fragmentation (MTU exceeded)

#Displaying FIB Table Entries for a Specified VLAN
Switch#show ip cef vlan 10

#Displaying FIB Table Entries for a Specified IP Prefix
Switch#show ip cef 10.1.0.0 255.255.0.0 longer-prefixes

#Displaying Detailed CEF entery Information
Switch#show ip cef 10.1.0.0 255.255.0.0 detail

#Displaying the Total Number of Known Adjacencies
Switch#show adjacency summary

#Displaying Detailed Information about Adjacencies
Switch#show adjacency vlan 10 detail

#Displaying Adjacencies in the CEF Glean state
Switch#show ip cef adjacency glean