JEX - Chapter 2: Layer 2 Switching Flashcards

1
Q

Ethernet Frame Format

A
Preamble: 7 bytes
Start Frame Deliminator: 1 byte
Destination Address: 6 bytes
Source Address: 6 bytes
Type: 2 bytes
Data: 64 - 1500 bytes
Frame Check Sequence: 4 bytes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Bridging Mechanisms

A
Learning
Forwarding
Flooding
Filtering
Aging
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Bridge Mechanism: Learning

A

The process by which a switch learns a MAC address and puts it in the bridge table.

  1. The switch examines the Ethernet frame header of all received frames looking for a Source MAC of sending nodes.
  2. The switch adds MAC Address, Time the MAC was learned to the Bridging Table.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Bridge Mechanism: Forwarding

A

The process used by the switch to deliver traffic, passing it from an incoming interface to an outgoing interface that leads to (or toward) the destination.

  1. The switch checks the bridge table for a corresponding MAC and forwards the traffic out the interface associated with that MAC.
  2. If a MAC doesn’t exist in the bridging table, the switch floods the frame out all interfaces in the same broadcast domain as the ingress interface.
    Note: The Frame is not sent back out the ingress interface.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Bridge Mechanism: Flooding

A

A transparent mechanism used to deliver packets to unknown MAC addresses.

  1. If the bridge table has no MAC entry for a destination or if the packet received is a broadcast or multicast packet, the switch floods the traffic out all interfaces except the ingress interface.
  2. If traffic originates on the switch, the switch floods traffic out all its interfaces.
  3. When an unknown destination responds to traffic that has been flooded, the switch learns the MAC of that node and updates the bridge table.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Bridge Mechanism: Filtering

A

The process of limiting traffic to its associated segment or switch port; this is how broadcast traffic is limited to the local VLAN whenever possible.

  1. As the number of entries in the Ethernet switching table increases, the switch gets an increasingly complete picture of the VLAN and the larger LAN.
  2. The switch uses this information to filter traffic.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Bridge Mechanism: Aging

A

The process of ensuring that only active MAC address entries are in the bridge table.

  1. The switch records a timestamp in the bridge table of the time the MAC was learned.
  2. Each time the switch detects traffic from a MAC address, it updates the timestamp.
  3. If the timestamp is older than a user-configured value, the switch removes the MAC; The default aging timer is 300 seconds (5 minutes) and can be configured for all VLANs.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Core Layer Switches

A

Relay packets between aggregation switches and function as the gateway to the WAN edge device.

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

Aggregation (or Distribution) Layer Switches

A

Connect access switches and often provide inter-VLAN routing and policy-based connectivity.

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

Access Layer Switches

A

Facilitate end-user access, device access and enforce access policy.

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

Enhanced Layer 2 Software (ELS)

A

A standard Layer 2 configuration syntax that ensures a common Layer 2 configuration for Junos OS.

This combines the best of the EX Series with the best of the MX Series platforms.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
Control Plane:
Routing Engine (RE)
A

The brains of the platform. It is connected to the PFE through an internal link.

It performs:

  1. protocol updates
  2. system management

The RE maintains:

  1. Routing Table
  2. Bridging Table,
  3. Primary Forwarding Table
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Forwarding Plane:

Packet Forwarding Engine (PFE)

A

Responsible for forwarding the following through the switch:

  1. Transit frames
  2. Packets
  3. Both

The PFE is implemented using ASICs on the EX Series platforms.

Receives Layer 2 and Layer 3 forwarding tables from the RE via an internal link.

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

Frame Processing: Unknown Source

A
  1. Frame enters ingress port and attached ingress PFE
  2. Ingress PFE performs MAC address lookup and determines source MAC is unknown
  3. Ingress PFE sends header information to RE, where MAC is added or discarded (MAC limiting).
  4. If RE adds new Source MAC address to bridge table, newly added MAC entry is sent to and programmed into all PFEs.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Frame Processing: Known Destination

A
  1. Frame enters ingress port and attached ingress PFE.
  2. Ingress PFE performs a MAC address lookup and determines the egress PFE and port.
  3. Ingress PFE forwards frame to egress PFE
  4. Egress PFE forwards frame out egress port towards its destination. No additional lookup is needed.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Frame Processing: Unknown Destination

A
  1. Frame enters ingress port and attached ingress PFE.
  2. Ingress PFE performs MAC address lookup, determines no entry exists then replicates the frame out to other PFEs and all other local ports in the same broadcast domain (VLAN).
  3. All other PFEs replicate frame and forward those frames out all egress ports in the same broadcast domain. No additional lookup is needed.
  4. Once the switch sees return traffic from this MAC address, it adds the address to the bridge table.
17
Q

Frame Processing: Routed Packet

A
  1. Frame enters ingress port and attached ingress PFE
  2. Ingress PFE performs MAC address lookup; Because the destination MAC address belongs to the switch, PFE performs a Layer 3 lookup.
    a. If the destination IP belongs to the switch, the decapsulated packet is sent to RE for processing.
    b. If the destination IP does not belong to the switch, the packet is forwarded to the egress PFE.
  3. Egress PFE forwards packet out egress port towards destination. No additional lookup needed.
18
Q

What is the EX Series switch’s management interface?

A

me0

19
Q

How do you run EZsetup?

A

From UNIX shell prompt:
% ezsetup
To run the ezsetup the switch must have the default-configuration as the active configuration.

20
Q

What must be specified in order to enable Layer 2 operation on an interface?

A

family ethernet-switching

21
Q

What command shows the contents of the bridging table?

A

> show ethernet-switching table

22
Q

What command shows the Layer 2 forwarding table?

A

> show route forwarding-table family ethernet-switching

23
Q

Which command clears bridge table entries?

A

> clear ethernet-switching table