Interfaces Flashcards

1
Q

What are the types of interfaces?

A

Management
Internal - linking the RE to the PFE
Network - dataplane ports
Services - logical interfaces for things like tunneling
Loopback

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

whats the deal with interface names? GE-0/1/2

A

GE-0/1/2

Port 2 on PIC1, on FPC0.

FPC = Line card
PIC = interface module within the card.

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

What’s a unit?

A

a unit is a subinterface.

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

How do you change the IP on an interface?

A

best to use rename, as set just adds another address.

eg;

edit interface <target> unit 0
rename family inet address <old> to address <new></new></old></target>

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

What are the physical properties you can configure on an interface?

A

Data link layer protocol
link speed/duplex
speed
MTU
Clocking
Scrambling
FCS length
+ enable diagnostic characteristics

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

What are the logical interface properties you can edit?

A

Protocol family
addresses (ipv4, ipv6, ISO NET)
vlan
firewall filter (ACL)

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

whats the interface config heirarchy?

A

interfaces
interface-name
physical-properties;
unit <unit#>
logical-properties

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

What are the interface/unit address families?

A

○ Inet
○ Inet6
○ Iso
○ Mpls
Ethernet-switching

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

Whats the difference between preferred and primary interface IP?

A

Preferred = multiple ips in the same subnet. Preferred selects which to source from when going to that subnet.

Primary = selects which IP should be used on that interface for broadcast/multicast, etc.

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

how can you view which interface IPs are primary and preferred?

A

show interfaces <interface> | find addresses</interface>

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

What happens if you have more than 1 primary address configured on an interface?

A

lowest IP is picked

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

How do you configure an accessport? what about trunk?

A

ge-0/0/0 {
description “w/e”
unit 0 {
family ethernet-switching {
interface-mode access;
vlan {
members 10;
}
}
}
}

ge-0/0/0 {
description “w/e”
unit 0 {
family ethernet-switching {
interface-mode trunk;
vlan {
members 1-5;
}
}
}
}

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

How do you configure vlans?

A

edit vlans

name {
vlan-id <num>;
}</num>

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

when must you use unit 0?

A

when there’s only one logical unit configured

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

How do you create a L2 LAG?

A
  1. Create the ae0 interface by creating an aggregated-device

set chassis aggregated-devices ethernet device-count <num></num>

  1. config the ae interface.
    if you want LACP set it to active or passive;
    set aggregated-ether-options lacp <active|passive>

add the unit, add the ethernet switching family. Add whatever vlans you wanted.

  1. Associate member links -
    edit interfaces <member>
    set gigether-options 802.3ad ae0</member>
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

what is a configuration group?

A

You can group config statements together and then apply them in places using “apply groups” to a particular hierarchy

eg;

Create a group called all-ge. In it, create a config snippit for interface ge-*> to regex match interfaces… Set things like the speed and negotiation, unit0 MTU..

then later

edit interfaces
set apply-groups all-ge

and that config gets applied to everything the regex matched. Loads less config.

17
Q

How do you see where config is coming from where groups are being used?

A

show interface ge-0/0/0 | display inheritance – lists the inherited commands.

add no-comments to strip out all the ## comments, whicih will make it hard to copy/paste.

18
Q

how do you use interface range?

A

go into edit interfaces

set interface-range <name> member-range <start> to <end>
then specify the config to apply to that group...</end></start></name>

19
Q

how do you filter out something from an output?

A

except <something></something>