Packet Switching Flashcards
What are the 7 layers of the OSI model? Please Do Not Throw Sausage Pizza Away
1) Physical - bits
2) Data Link (node to node transfer) - frames
3) Network (routing) - packets
4) Transport (UDP - datagrams /TCP - segments)
5) Session - data
6) Presentation - data
7) Application - data
What is a CAM table?
Content Addressable Memory - table is a data structure used by network switches to store information about MAC (Media Access Control) addresses and the physical switch ports associated with them (AKA MAC ADDRESS TABLE)
TCAM table
Ternary Content Addressable Memory (uses NVRAM) - allows for high-speed access to routing and access control information
What is a PDU
Protocol Data Unit - refers to the specific unit of data relevant to each layer in the OSI model. Each OSI layer has its own PDU type, encapsulating data with the necessary headers and/or trailers needed for that layer’s function before passing it to the next layer.
Displaying the CAM table aging time
SwitchA#show mac—address—table aging—time
Configuring the CAM table aging time
SwitchA (config) #mac—address—table aging—time 1200
Displaying all MAC addresses the switch has learned
SwitchA#show mac—address—table
Displaying MAC addresses learned through a specific switch port
SwitchA#show mac—address—table interface fastethernet 0/1
Displaying the CAM table entry for a specific MAC address
SwitchA#show mac—address—table address AF—D3—C0 43—FB—85
Which OSI model layer do “bits” belong to?
Layer1, Physical
Which OSI model layer do “frames” belong to?
Layer 2, Data Link
Which OSI model layer do “packets” belong to?
Layer 3, Network
Which OSI model layer do “segments (in TCP)” belong to?
Layer 4, Transport
Which OSI model layer do “datagrams (in TCP)” belong to?
Layer 4, Transport
Which OSI model layer do “session messages (or data) “ belong to?
Layer 5, Session
What is an ASIC
Application-Specific Integrated Circuits, specialized circuits for processing network data
Packet Switching: process switching
Slowest of the three packet switching methods, uses software and CPU of the switch, used for complex methods like NAT and encryption
Packet Switching: fast switching
“route caching” uses CPU only for first part
Packet Switching: CEF switching
Cisco Express Forwarding, AKA topology-based switching
To enable fast switching, issue… command at the global config mode
ip route-cache
To disable fast switching, issue… command at the global config mode
no ip route-cache
display the fast -switching cache
Router#show ip cache
display the RIB
Router#show ip route
display the FIB
Router#show ip cef
show the CEF adjacency table
Router#show adjacency
show the arp table
Router#show ip arp
configure CEF load balancing per packet
router(config-if)#ip load-sharing per-packet
configure CEF load balancing per packet
router(config-if)#ip load-sharing per-destination
configure the CEF load balancing algorythm
Router(config)#ip cef load-sharing algorythm xxxxxxxx
what are the 4 types of CEF LB algorythms?
origional
universal (default)
tunnel
include-ports (layer 4)
What are the QoS parameters for Layer 2 ?
802.1p CoS , 802.11 TID
QoS: what is COS?
Class of Service, Layer 2, 3-bit field in the VLAN (802.1Q),