Interfaces Flashcards
What are the types of interfaces?
Management
Internal - linking the RE to the PFE
Network - dataplane ports
Services - logical interfaces for things like tunneling
Loopback
whats the deal with interface names? GE-0/1/2
GE-0/1/2
Port 2 on PIC1, on FPC0.
FPC = Line card
PIC = interface module within the card.
What’s a unit?
a unit is a subinterface.
How do you change the IP on an interface?
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>
What are the physical properties you can configure on an interface?
Data link layer protocol
link speed/duplex
speed
MTU
Clocking
Scrambling
FCS length
+ enable diagnostic characteristics
What are the logical interface properties you can edit?
Protocol family
addresses (ipv4, ipv6, ISO NET)
vlan
firewall filter (ACL)
whats the interface config heirarchy?
interfaces
interface-name
physical-properties;
unit <unit#>
logical-properties
What are the interface/unit address families?
○ Inet
○ Inet6
○ Iso
○ Mpls
Ethernet-switching
Whats the difference between preferred and primary interface IP?
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 can you view which interface IPs are primary and preferred?
show interfaces <interface> | find addresses</interface>
What happens if you have more than 1 primary address configured on an interface?
lowest IP is picked
How do you configure an accessport? what about trunk?
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 do you configure vlans?
edit vlans
name {
vlan-id <num>;
}</num>
when must you use unit 0?
when there’s only one logical unit configured
How do you create a L2 LAG?
- Create the ae0 interface by creating an aggregated-device
set chassis aggregated-devices ethernet device-count <num></num>
- 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.
- Associate member links -
edit interfaces <member>
set gigether-options 802.3ad ae0</member>