FreeForm Flashcards

(123 cards)

1
Q

What does STP (IEEE 802.1D) do?

A

STP prevents Layer 2 loops by creating a loop-free logical topology.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How is the Root Bridge elected in STP?

A

Root Bridge Election is based on the lowest Bridge ID (priority + MAC address).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are Bridge Protocol Data Units (BPDUs)?

A

BPDUs are exchanged to share topology information.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the Port Roles in STP?

A

Port Roles include Root Port, Designated Port, and Non-Designated (Blocking) Port.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the Port States in STP?

A

Port States: Blocking → Listening → Learning → Forwarding → Disabled.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is Rapid STP (RSTP)?

A

RSTP improves convergence time to <6 seconds.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Multiple STP (MSTP)?

A

MSTP maps multiple VLANs to a single STP instance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is Per-VLAN STP (PVST+)?

A

PVST+ runs a separate STP instance per VLAN (Cisco proprietary).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is Rapid PVST+?

A

Rapid PVST+ combines RSTP speed with PVST+ VLAN granularity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does BPDU Guard do?

A

BPDU Guard disables a port if a BPDU is received on a PortFast-enabled port.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the Root Port in STP?

A

Root Port is the port with the lowest path cost to the Root Bridge.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is a Designated Port?

A

Designated Port is the best forwarding port on a segment.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How is Path Cost determined?

A

Path Cost is inversely proportional to link speed (e.g., 100 Mbps = cost 19).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the tiebreakers for equal-cost paths?

A

Tiebreakers: lowest sender BID → lowest port priority → lowest port number.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are Topology Change Notification (TCN) BPDUs?

A

TCN BPDUs are sent when a port goes up/down.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What does PortFast do?

A

PortFast skips Listening/Learning states for edge ports (e.g., hosts).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is UplinkFast?

A

UplinkFast accelerates convergence for access-layer switches with redundant uplinks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What does BackboneFast do?

A

BackboneFast speeds up convergence when indirect link failures occur.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What does Loop Guard do?

A

Loop Guard prevents alternate ports from becoming designated due to missing BPDUs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What does Root Guard do?

A

Root Guard prevents a port from becoming a Root Port if a superior BPDU is received.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What is a design tip for STP?

A

Always manually set Root Bridge priority to control topology (default is 32768).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

How can you verify STP configurations?

A

Use show spanning-tree to verify port roles, root bridge, and path costs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What can cause interoperability issues in STP?

A

Mismatch in STP versions (e.g., PVST+ vs MSTP) can cause interoperability issues.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

What does BPDU Filtering do?

A

BPDU Filtering suppresses BPDU transmission/reception—use with caution.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What triggers STP recalculation?
STP recalculation is triggered by topology changes, VLAN changes, or link failures.
26
What is Static NAT?
One-to-one mapping between private and public IPs. ## Footnote Use Case Example: Hosting internal web servers with fixed IPs.
27
What is Dynamic NAT?
Maps private IPs to a pool of public IPs dynamically. ## Footnote Use Case Example: Limited public IP pool for known internal clients.
28
What is PAT (NAT Overload)?
Many-to-one mapping using port numbers to distinguish sessions. ## Footnote Use Case Example: Home routers, enterprise edge devices.
29
What is Overlapping NAT?
Used when internal IPs conflict with external networks. ## Footnote Notes: Requires careful translation tables.
30
What is Masquerading NAT?
Common in Linux; similar to PAT but dynamically assigns IP and port. ## Footnote Notes: Often used in iptables-based firewalls.
31
What is Twice NAT?
Translates both source and destination IPs. ## Footnote Notes: Useful in VPNs or complex DMZ setups.
32
What is Inside Local?
Private IP of internal host.
33
What is Inside Global?
Public IP representing internal host externally.
34
What is Outside Local?
IP of external host as seen from inside.
35
What is Outside Global?
Actual public IP of external host.
36
One-to-one mapping between private and public IPs. ## Footnote Use Case Example: Hosting internal web servers with fixed IPs.
What is Static NAT?
37
Maps private IPs to a pool of public IPs dynamically. ## Footnote Use Case Example: Limited public IP pool for known internal clients.
What is Dynamic NAT?
38
Many-to-one mapping using port numbers to distinguish sessions. ## Footnote Use Case Example: Home routers, enterprise edge devices.
What is PAT (NAT Overload)?
39
Used when internal IPs conflict with external networks. ## Footnote Notes: Requires careful translation tables.
What is Overlapping NAT?
40
Common in Linux; similar to PAT but dynamically assigns IP and port. ## Footnote Notes: Often used in iptables-based firewalls.
What is Masquerading NAT?
41
Translates both source and destination IPs. ## Footnote Notes: Useful in VPNs or complex DMZ setups.
What is Twice NAT?
42
Private IP of internal host.
What is Inside Local?
43
Public IP representing internal host externally.
What is Inside Global?
44
IP of external host as seen from inside.
What is Outside Local?
45
Actual public IP of external host.
What is Outside Global?
46
What is BGP?
BGP (Border Gateway Protocol) is the de facto inter-domain routing protocol used to exchange routing information between autonomous systems (ASes).
47
What is the purpose of AS-path in BGP?
BGP uses AS-path information to prevent routing loops.
48
Where is BGP defined?
BGP is defined in RFC 4271 and operates over TCP port 179.
49
What is an Autonomous System Number (ASN)?
An ASN uniquely identifies each AS; public ASNs range from 1–64511.
50
What is the difference between eBGP and iBGP?
eBGP is used between ASes; iBGP is used within the same AS.
51
What attributes does BGP use for route selection?
BGP selects the best path using attributes like Weight, Local Preference, AS Path, Origin, MED, eBGP over iBGP, and Router ID.
52
What is Weight in BGP?
Weight is Cisco-specific and highest wins (local to router).
53
What is Local Preference in BGP?
Local Preference is AS-wide; higher is preferred.
54
How does BGP prefer AS Path?
Shorter paths are preferred.
55
What is Multi-Exit Discriminator (MED)?
MED is lower is better; used to influence inbound traffic.
56
What are the types of BGP messages?
BGP message types include OPEN, UPDATE, KEEPALIVE, and NOTIFICATION.
57
What does the OPEN message do?
The OPEN message establishes a BGP session.
58
What does the UPDATE message do?
The UPDATE message advertises or withdraws routes.
59
What does the KEEPALIVE message do?
The KEEPALIVE message maintains session liveliness.
60
What does the NOTIFICATION message do?
The NOTIFICATION message signals errors and tears down the session.
61
What are Well-Known Mandatory BGP attributes?
Well-Known Mandatory attributes include AS_PATH, NEXT_HOP, ORIGIN.
62
What are Well-Known Discretionary BGP attributes?
Well-Known Discretionary attribute is LOCAL_PREF.
63
What are Optional Transitive BGP attributes?
Optional Transitive attributes include COMMUNITY, AGGREGATOR.
64
What are Optional Non-Transitive BGP attributes?
Optional Non-Transitive attributes include MED, ORIGINATOR_ID.
65
What is route dampening in BGP?
Route dampening suppresses flapping routes.
66
What is prefix filtering in BGP?
Prefix filtering prevents route leaks and hijacks.
67
What is BGP TTL Security (GTSM)?
BGP TTL Security (GTSM) mitigates spoofed eBGP sessions.
68
What is MD5 authentication in BGP?
MD5 authentication secures BGP sessions (though now deprecated in favor of TCP-AO).
69
What is required for full mesh iBGP?
Full mesh iBGP is required unless using route reflectors or confederations.
70
What do Route Reflectors (RRs) do?
Route Reflectors reduce iBGP mesh complexity by reflecting routes to clients.
71
What are confederations in BGP?
Confederations divide an AS into sub-ASes to scale iBGP.
72
What are BGP communities?
BGP communities tag routes for policy control and filtering.
73
How can BGP peering be established?
BGP peering can be established over physical or loopback interfaces (loopback preferred for iBGP).
74
What commands are used for BGP troubleshooting?
Use show ip bgp, show ip bgp summary, and debug ip bgp for diagnostics.
75
What are the BGP session states?
BGP session states are Idle → Connect → Active → OpenSent → OpenConfirm → Established.
76
How does BGP convergence compare to IGPs?
BGP convergence is slower than IGPs; tuning timers and fast-external-fallover can help.
77
What is soft reconfiguration in BGP?
Soft reconfiguration allows inbound policy changes without resetting the session.
78
What are route maps and prefix lists used for in BGP?
Route maps and prefix lists are essential for granular control of route advertisement and acceptance.
79
What does STP (IEEE 802.1D) do?
STP prevents Layer 2 loops by creating a loop-free logical topology.
80
How is the Root Bridge elected in STP?
Root Bridge Election is based on the lowest Bridge ID (priority + MAC address).
81
What are Bridge Protocol Data Units (BPDUs)?
BPDUs are exchanged to share topology information.
82
What are the Port Roles in STP?
Port Roles include Root Port, Designated Port, and Non-Designated (Blocking) Port.
83
What are the Port States in STP?
Port States: Blocking → Listening → Learning → Forwarding → Disabled.
84
What is Rapid STP (RSTP)?
RSTP improves convergence time to <6 seconds.
85
What is Multiple STP (MSTP)?
MSTP maps multiple VLANs to a single STP instance.
86
What is Per-VLAN STP (PVST+)?
PVST+ runs a separate STP instance per VLAN (Cisco proprietary).
87
What is Rapid PVST+?
Rapid PVST+ combines RSTP speed with PVST+ VLAN granularity.
88
What does BPDU Guard do?
BPDU Guard disables a port if a BPDU is received on a PortFast-enabled port.
89
What is the Root Port in STP?
Root Port is the port with the lowest path cost to the Root Bridge.
90
What is a Designated Port?
Designated Port is the best forwarding port on a segment.
91
How is Path Cost determined?
Path Cost is inversely proportional to link speed (e.g., 100 Mbps = cost 19).
92
What are the tiebreakers for equal-cost paths?
Tiebreakers: lowest sender BID → lowest port priority → lowest port number.
93
What are Topology Change Notification (TCN) BPDUs?
TCN BPDUs are sent when a port goes up/down.
94
What does PortFast do?
PortFast skips Listening/Learning states for edge ports (e.g., hosts).
95
What is UplinkFast?
UplinkFast accelerates convergence for access-layer switches with redundant uplinks.
96
What does BackboneFast do?
BackboneFast speeds up convergence when indirect link failures occur.
97
What does Loop Guard do?
Loop Guard prevents alternate ports from becoming designated due to missing BPDUs.
98
What does Root Guard do?
Root Guard prevents a port from becoming a Root Port if a superior BPDU is received.
99
What is a design tip for STP?
Always manually set Root Bridge priority to control topology (default is 32768).
100
How can you verify STP configurations?
Use show spanning-tree to verify port roles, root bridge, and path costs.
101
What can cause interoperability issues in STP?
Mismatch in STP versions (e.g., PVST+ vs MSTP) can cause interoperability issues.
102
What does BPDU Filtering do?
BPDU Filtering suppresses BPDU transmission/reception—use with caution.
103
What triggers STP recalculation?
STP recalculation is triggered by topology changes, VLAN changes, or link failures.
104
What is Static NAT?
One-to-one mapping between private and public IPs. ## Footnote Use Case Example: Hosting internal web servers with fixed IPs.
105
What is Dynamic NAT?
Maps private IPs to a pool of public IPs dynamically. ## Footnote Use Case Example: Limited public IP pool for known internal clients.
106
What is PAT (NAT Overload)?
Many-to-one mapping using port numbers to distinguish sessions. ## Footnote Use Case Example: Home routers, enterprise edge devices.
107
What is Overlapping NAT?
Used when internal IPs conflict with external networks. ## Footnote Notes: Requires careful translation tables.
108
What is Masquerading NAT?
Common in Linux; similar to PAT but dynamically assigns IP and port. ## Footnote Notes: Often used in iptables-based firewalls.
109
What is Twice NAT?
Translates both source and destination IPs. ## Footnote Notes: Useful in VPNs or complex DMZ setups.
110
What is Inside Local?
Private IP of internal host.
111
What is Inside Global?
Public IP representing internal host externally.
112
What is Outside Local?
IP of external host as seen from inside.
113
What is Outside Global?
Actual public IP of external host.
114
One-to-one mapping between private and public IPs. ## Footnote Use Case Example: Hosting internal web servers with fixed IPs.
What is Static NAT?
115
Maps private IPs to a pool of public IPs dynamically. ## Footnote Use Case Example: Limited public IP pool for known internal clients.
What is Dynamic NAT?
116
Many-to-one mapping using port numbers to distinguish sessions. ## Footnote Use Case Example: Home routers, enterprise edge devices.
What is PAT (NAT Overload)?
117
Used when internal IPs conflict with external networks. ## Footnote Notes: Requires careful translation tables.
What is Overlapping NAT?
118
Common in Linux; similar to PAT but dynamically assigns IP and port. ## Footnote Notes: Often used in iptables-based firewalls.
What is Masquerading NAT?
119
Translates both source and destination IPs. ## Footnote Notes: Useful in VPNs or complex DMZ setups.
What is Twice NAT?
120
Private IP of internal host.
What is Inside Local?
121
Public IP representing internal host externally.
What is Inside Global?
122
IP of external host as seen from inside.
What is Outside Local?
123
Actual public IP of external host.
What is Outside Global?