Encor Flashcards

1
Q

Cati bytes are headerul GRE?

A

4 bytes

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

Cand folosesti GRE, cati bytes se adauga packet-ului in total?

A

24 bytes. 4 Gre Header, 20 New IP Header

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

La cat ar trebui sa setezi MTU daca folosesti GRE?

A

1476 bytes

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

Ce este Tcp Mss?

A

Tcp maximum size. Reprezinta cantitatea maxima de date pe care un host o poate primi intr-un singur tcp segment

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

Unde pot specifica hosturile MSS-ul ?

A

In Syn si Syn Ack

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

Daca nu isi specifica MSS-ul un host, care sunt valorile default?

A

Ipv4: 536 bytes
Ipv6: 1220 bytes

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

Cisco Ios devices specify an Mss of x bytes for devices in the same network and y bytes for devices in another network. What are the values of x and y?

A

X= 1460
Y= 536

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

In centralized CEF the CEF forwarding decisions are perforned on the…?

A

RP/RSP card

RP= Route processor card
RSP= Route switch processor card

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

Software based routers au control plane si data plane shared?

A

Da

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

Hardware based routers au control plane si data plane shared?

A

Nu. Separate

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

Who handles the Control Plane on Hardware Based Routers?

A

The CPU

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

Hardware based routers forwards packets using …?

A

ASIC.

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

Software Based routers control plane is in the Cpu?

A

Yes. Data plane also

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

In hybrid routers who handles the control plane? What about the Data plane?

A

The CPU.
The NP - Network Processor

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

What are the two components of CEF?

A

The FIB - Forwarding Information Base
The Adjency table

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

The fib takes its information using the..?

A

RIB - routing information base

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

The adjaceny table takes its information using the…

A

ARP Table

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

In software CEF where are stored the fib and adj table? Who processes the software CEF?

A

In the RAM
The CPU

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

In Hardware CEF where are stored the FIB and the Adj Table?
Who proccesses Hardware CEF?

A

The FIB is stored in TCAM and the Adj Table in a separate standalone memory.
The ASIC

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

Cate switchuri permite in stack Virtual Switching System (VSS)?

A

2

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

In Distributed CEF (dCEF), the CEF forwarding decisions are performed on each …?

A

Line Card. The Line cards each store a copy of the FIB and Adj table

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

What kind of traffic passes through the VSL?

A

VSS Control Traffic: Traffic used to establish and maintain the VSS

Data Traffic: when traffic received on one member must be sent out of an interface on the other member

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

In cazul VSS ( Virtual Switching System) ce anume se formeaza intre SW-uri pentru a crea stack-ul?

A

VSL - Virtual Switch Link

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

Care sunt protocoalele componente lui VLSP?

A

LMP si RRP
LMP Link Management Protocol
RRP Role Resolution Protocol

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

Ce functii performeaza LMP?

A

Verifies link integrity by establishing bidir traffic
Exchanges switch IDs
Exchanges other required information

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

Ce functii performeaza RRP?

A

Determina daca versiunile software si hardware ale switchurilor sunt
compatibile

Determina active si standby switch

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

In cate moduri se poate ridica stackul in Vss?

A
  1. RPR - Route Processor Redundancy - switchul standby nu poate forwarda trafic
    (control plane, mng plane, data plane sunt in standby)
  2. Nsf/Sso - switchul standby forwardeaza trafic
    (Control plane, mng plane standby, data plane fwd)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

In StackWise ce protocol se foloseste pentru a descoperi topologia stack?

A

SDP - Stack Discovery Protocol - broadcasteaza mesajele prin stack connections

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

Cate switchuri suporta stackwise virtual?

30
Q

VSLP has two component protocols

A

LMP - Link Management Protocol
RRP - Role Resolution Protocol

31
Q

What are the functions of LMP?

A

Verifies the link integrity by establishing bidrectional traffic forwarding

Exchanges switch Ids - they should be different

Exchanges other required information

32
Q

What are the functions of RRP?

A

Determines if the hardware and software versions of the switches are compatible

Determines the active and standby switch

33
Q

In VSS WHAT ARE THE TWO MODES A STack can come up?

A

RPR - Route Processor Redundancy
NF/SSO - Non Stoo Forwarding / Stateful Switchover

34
Q

In RPR mode how are the planes of the standby switch?

A

All in standby (control, management, data plane)

35
Q

In NF/SSO how are the planes of the standby switch?

A

Management and control plane in standby. Data plane is forwarding

36
Q

Ce proces de selectie exista in Stackwise pentru a determina Active si Standby switch?

A

Highest priority ( 1 e default, 15 e cea mai mare)
Lowest MAC Address

Acelasi proces se repeta si pentru electia Standby switch.

37
Q

Ce lungime au cablurile Stack

A

0,5m , 1m, 3m

38
Q

Ce protocol foloseste Stackwise pentru a determina switchurile?

A

Stack Discovery Protocol (SDP)

39
Q

Cum se conecteaza switchurile in StackWise Virtual?

A

Cu SVL - StackWise Virtual Link

40
Q

Ce trafic trece prin SVL?

A

Control traffic : se foloseste pentru a stabili domeniul StackWise Virtual
Data traffic: cand traficul primit pe un membru trebuie sa fie trimis pe interfata celuilalt membru

41
Q

Ce protocoale componente are SVL?

A

LMP si SDP

42
Q

Cate moduri de Route Processor Redundancy sunt?

A

HSA - High System Availability
RPR - Route Processor Redundancy
RPR +
STATEFUL SWITCHOVER (SSO)
Non stop forwarding (NSF)
Graceful Restart (GR
NSR - Non Stop Routing

43
Q

Ce inseamna SDM si ce face?

A

Switch Database Management. Te ajuta sa aloci din memoria TCAM pentru diferite scopuri

44
Q

Destination unreachable este ICMP Type ..?

45
Q

Ce coduri are Icmp destination unreachable?

A

Cod 0 - destination network unreachable
Cod 1 - destination host unreachable
Cod 2 - destination protocol unreachable
Cod 3 - destination port unreachable
Cod 4 - Fragmentation needed and DF bit set
Cod 13 - Communication administratively prohibited

46
Q

ICMP type 5 este ?

47
Q

Ce coduri are ICMP Type 5?

A

Cod 0 - Redirect for network
Cod 1 - Redirect for host
Cod 2 - Redirect for ToS and network
Cod 3 - Redirect for ToS and host

48
Q

Time exceeded este ICMP Type ..?

49
Q

Ce coduri are ICMP TYPE 11?

A

Cod 0 - TTL exceeded in transit
Cod 1 - Fragment reassembly time exceeded

50
Q

Icmp echo request este Type ..?
Dar icmp echo reply?

A

Echo request este Type 8
Echo reply este Type 0

51
Q

Cati bytes si ce fielduri are headerul de ICMP?

A

Are 8 bytes.
Type - 1 byte
Code - 1 byte
Header checksum - 2 bytes
Rest of header - 4 bytes

52
Q

Ce cod au Icmp echo reply si echo request?

53
Q

Spune-mi tipurile de ICMPv6

A

Type 1 - Destination unreachable
Type 2 - Packet too big
Type 3 - Time exceeded
Type 128 - Echo request
Type 129 - Echo reply
Type 133 - Router solicitation
Type 134 - Router advertisment
Type 135 - Neighbour solicitation
Type 136 - Neighbour advertisment
Type 137 - Redirect

54
Q

Cate tipuri de PA exista in BGP?

A

Well known mandatory
Well known discretionary
Optional transitive
Optional non-transitive

55
Q

Ce TTL este setat in iBGP?

A

255 by default

56
Q

Ce TTL este setat in eBGP by default?

57
Q

Tipurile de mesaje din BGP si ce fac

A

Open - Sets up and establishes the BGP Adjacency
Update - Updates, withdraws , advertises routes
Notification - Indicates an error condition to a BGP neighbor
Keepalive - Ensures that the BGP neighbors are still alive

58
Q

In BGP OpenSent state ce anume se verifica?

A

BGP Versions must match
The source IP in the message must match the one configuted for the neighbor
The AS number in the message must match the one configured for the neighbor
BGP RID must be unique
Security parameters must match

59
Q

Hold time pentru Bgp este!?

A

180 secunde

60
Q

In BGP the default keepalive timer is?

A

60 de secunde. O treime din hold time

61
Q

BGP Neighbor states

A

Idle
Connect
Active
OpenSent
OpenConfirm
Established

62
Q

In BGP Connect neighbor state who manages the connection?

A

The neighbor with the highest IP address

63
Q

La ce se refera BGP identifier?

A

La RID - router ID
Se alege manual
Highest L0
Highest IP Add

64
Q

Well known mandatory BGP PA Attributes:

A

Next-Hop – Specifies the next-hop IP address for reaching the advertised prefix. (Modified in eBGP, not in iBGP by default.)
• AS-Path – Lists the AS numbers that a route has traversed. Used for loop prevention (shorter AS-Path is preferred).
• Origin – Indicates how the route was learned:
• i (IGP) – Originated via a network statement in BGP (most preferred).
• e (EGP) – Learned via the obsolete Exterior Gateway Protocol.
• ? (Incomplete) – Learned via redistribution (least preferred).

65
Q

Well known discretionary BGP PA Attributes

A

Local Preference – Used within an AS to prefer certain paths (higher is better). Default is 100.
• Atomic Aggregate – Indicates that route summarization has occurred.

66
Q

Optional Transitive Attributes

A

Aggregator – Identifies the router (ASN and IP) that performed aggregation.
• Community – Tags routes for policy enforcement (e.g., traffic engineering).

67
Q

Optional Non Transitive Attributes

A

Multi-Exit Discriminator (MED) – Suggests which path should be preferred when entering an AS (lower is better).
• Originator ID – Used in Route Reflector (RR) topologies to track the original router advertising the route.
• Cluster List – Also used in RR topologies to prevent routing loops.

68
Q

BGP best path selection criteria:

A

Prefer the highest Weight (Cisco-specific)
• The higher the weight, the better. This is a local parameter on Cisco routers.
2. Prefer the highest Local Preference (LOCAL_PREF)
• Higher values are preferred. This attribute is shared within an AS (Autonomous System).
3. Prefer the path originated by the local router (Next-hop = 0.0.0.0 in BGP table)
• If a route originates from the local router (using network or redistribute command), it is preferred.
4. Prefer the shortest AS_PATH
• The path with the fewest AS numbers (hops) is preferred.
5. Prefer the lowest Origin code
• BGP origin codes:
• IGP (i) – Most preferred
• EGP (e) – Less preferred
• Incomplete (?) – Least preferred (redistributed routes)
6. Prefer the lowest MED (Multi-Exit Discriminator)
• Lower values are preferred. MED is exchanged between ASes to influence inbound traffic.
7. Prefer eBGP over iBGP paths
• Routes learned from an external BGP (eBGP) peer are preferred over internal BGP (iBGP) peers.
8. Prefer the path with the lowest IGP metric to the BGP next-hop
• The internal routing protocol (like OSPF or EIGRP) determines the best internal path to reach the next-hop.
9. Prefer the oldest path
• Helps maintain stability by selecting the route that has been in the BGP table the longest.
10. Prefer the path with the lowest neighbor BGP router ID

•	If multiple paths are still valid, the one from the router with the lowest BGP router ID is chosen.

11.	Prefer the path with the lowest neighbor IP address

•	If all other attributes are equal, the tie-breaker is the lowest BGP neighbor IP.
69
Q

DTP HELLO AND HOLD TIMERS

A

30 seconds and 300 seconds

71
Q

Cate tipuri de BPDU exista?

A

Doua. Topology Change Notification
(TCN)
Configuration( Topology Change Acknowledgement - TCA, si TC)