cisco_certs_20160418125207 Flashcards
Default STP port costs for the following speeds:10M100M1G10G
10M = 100
100M = 19
1G = 4
10G = 2
What are the 3 types of BPDUs?
Hello BPDU
CBDPU - Configuration BPDU
TCN BPDU - Topology Change Notification BPDU
Command to configure a static etherchannel
conf t
interface *int*
channel-group *group number* mode on
Command to show the status of an etherchannel
show etherchannel *group number*
What are the 2 protocols that can be used to create dynamic etherchannels?
PAgP
LACP
What does PAgP stand for?
Port Aggregation Protocol
What does LACP stand for?
Link Aggregation Control Protocol
What is the IEEE standard for PAgP and LACP?
PAgP is Cisco proprietary
LACP is 802.1ad
Syntax to enable PAgP on a interface
conf t
int gi1/0
channel-group *group number* mode {desirable | auto}
Syntax to enable LACP on a interface
conf t
int gi1/0
channel-group *group number* mode {active | passive}
In PAgP configurations, what does the keyword desirable tell the switch to do vs auto?
It tells the switch “use this protocol and begin negotiations”
versus
“use this protocol and wait for the other switch to begin negotiations.”
In LACP configurations, what does the keyword active tell the switch to do vs passive?
It tells the switch “use this protocol and begin negotiations”
versus
“use this protocol and wait for the other switch to begin negotiations.”
What happens with an etherchannel where both sides are set to either auto or passive?
It won’t come up, because both sides are waiting for the other to begin negotiations.
What is the IEEE standard for:
STP
PVST
RSTP
802.1D
Cisco Proprietary
802.1w
What does RSTP stand for?
Rapid Spanning Tree Protocol
What STP mode do Cisco switches generally default to?
802.1D with PVST
Command to set a switch to use PVST
spanning-tree mode pvst
What 3 fields make up the BID?
- Priority
- System ID Extension
- System ID
What is the range for priority?
0-65535
What is unusual about the priority value?
It’s in multiples of 4096.
What is the value of an all 1’s priority field?
61140
What are the values of each bit in the priority field?
32768 16384 8192 4096
What is normally stored in the System ID extension field?
VLAN ID
How many bits in the System ID extension field?
12
How many bits in the priority field?
4
How many bits in the System ID field?
6 bytes
Command to set the priority for a given VLAN
spanning-tree vlan *vlan id* priority *priority*
Command to set a port cost.
Conf t
interface gi1/0
spanning-tree [vlan *vlan id*] cost *cost*
What is the default BID priority?
32768
Is portfast or bpduguard enabled by default?
No
What are the 3 port types in STP?
- Root port
- Designated port
- Blocking port
What is a Designated port vs other port types?
The Designated Port is the one that advertises lowest-cost hello onto the LAN segment.
What 4 fields are shown in a “show mac address-table” output?
- VLAN
- MAC address
- Type (dynamic or static)
- Output port to get to that MAC
What does “show interfaces status” show us (7 fields)?
- Port
- Description
- Status (connect / notconnect/ disabled)
- VLAN
- Duplex
- Speed
- Type (10/100/1000 TX etc)
If a frame came into a switch and was either an unknown destination MAC or a broadcast mac, what ports would the switch forward it out of?
All forwarding ports for that VLAN, except the one on which it was received.
What makes a switch a designated switch for a given ethernet segment?
It’s the switch (and therefor the port) that is forwarding the root’s BPDU.
4 important fields in a Hello BPDU
- Root BID
- Sender’s BID
- Sender’s root cost
- Timers on the root switch
What are 3 of the timers on the root switch?
- Hello timer
- MaxAge timer
- Forward Delay timer
What is the most common type of BPDU?
Hello BPDU
What does STA stand for?
Spanning Tree Algorithm
What is the root cost in a BPDU received directly from the root bridge?
- The root bridge has a 0 cost to reach itself.
If a switch receives a BPDU with a root cost of 25 on a 1 gig port with default costing, what will it rewrite the root cost to be?
2925 + 4 for the gig port
Which switch’s BID would win?
A: 32769:0200.0002.0002
B: 32769:0200.0003.0003
A, since it has the numerically lower System ID
If a switch is connected to a hub and hear’s it’s own BPDU’s on multiple ports, what are the other 2 tiebreaker values?
- Lowest interface STP priority
- If all interfaces are the same priority, lowest interface number.
What 2 items will a non-root switch change before forwarding out the hello BPDU received from the root’s direction?
- Root cost
- Sender ID
What is the default value of the 3 primary STP timers?
- Hello - 2 seconds
- MaxAge - 20 seconds
- Forward Delay - 15 seconds
What is the calculation to get the MaxAge time?
MaxAge = 10*(Hello timer)
What does the forward delay timer control?
How long a port will transition through Listening and Learning before going to Forwarding. Each phase will take (fwddelay value) seconds.
What does the MaxAge timer control?
How long a switch will wait for a Hello BPDU before declaring the neighbor down and sending out a TCN BPDU.
How many interfaces can be included in an Etherchannel?
Up to 8.
What does PortFast do?
Allows a port to go immediately into Forwarding, without the normal interim stages of Listening and Learning.
What kinds of ports must PortFast be restricted to?
Access ports facing stubs only, never anything that could be cabled up to form a loop.
What does BPDUguard do?
When a port has it configured, it will immediately become disabled if a BPDU is received on that port.
In RSTP, what is the blocking state called?
Discarding
What is STP’s convergence time vs RSTP?
STP - ~50 secondsRSTP - max 10 seconds, usually much less
What does the command “spanning-tree vlan vlan-id root {primary | secondary}” do?
The switch on which this is configured will lower it’s own priority to beat out any other switch to become the root bridge.
Command to enable portfast on gi1/0.
conf t
int gi1/0
spanning-tree portfast
Command to enable BPDUguard on gi1/0
conf t
int gi1/0
spanning-tree bpduguard enable
Command to make a switch root or secondary root.
spanning-tree vlan *vlan-id* root {primary | secondary}
Command to see the root BID.
show spanning-tree [vlan *vlan id*]
Command to list the root switches for all vlans.
show spanning-tree root
Command to debug STP
debug spanning-tree events
Command to show the BID broken out into it’s component parts.
show spanning-tree vlan *vlan id* bridge
When using the root primary command, what is the value that the switch’s priority will be set to if the current root is at 32768?
24576
When using the root primary command, what is the value that the switch’s priority will be set to if the current root is less than 24576?
The highest multiple of 4096 that is still less than the priority of the current root.
What are the 3 port states of 802.1w?
- Learning
- Forwarding
- Discarding
2 commands to see if a switch is in PVST or RPVST mode
show spanning-tree
show spanning-tree summary
Command to set either PVST or RPVST
conf t
spanning-tree mode [pvst | rapid-pvst]
If a switch has a root port, is it the root switch?
No. The root switch only has designated ports.
How many root ports will a switch have?
1 per vlan
What are the stable states in STP?
- Forwarding
- Blocking
What are the states in STP that only occur during convergence?
- Listening
- Learning
What is used to create the BID?
2 byte priority field + 6 byte system ID (BIA)
What kind of packets are used during the Loading phase?
LSU
What does an LSU contain?
One or several LSA’s
What information is in a Network LSA?
The DR on a broadcast segment lists which routers are joined together by the segment. The LSID of the type 2 LSA is the IP interface address of the DR.
What information is in a Summary LSA?
Information about subnets in other areas
Subnet ID, mask,RID of ABR that advertises the LSA
In what OSPF phase do neighbors pass each other their LSA’s?
Loading
What are the 2 primary timers in OSPF?
Hello
Dead Interval
For DROthers, what is the maximum state that they reach with each other?
2way
List the first 3 OSPF LSAs
Router
NetworkSummary
Command to passive an OSPFv3 interface
conf t
ipv6 router ospf *PID*
passive-interface *interface*
What is the all-OSPF IPv6 address?
FF02::5
What is the all-DR IPv6 address?
FF02::6
In OSPFv3, how does one include an interface in routing?
by enabling routing directly on the interface, not via the network command
Generic syntax to add an interface into OSPFv3
conf t
interface *interface*
ipv6 ospf *PID* area *Area ID*
Syntax to enable OSPFv3 on int gi1/0, in area 0ipv6 router ospf 12 router-id 1.2.3.4
conf t
int gi1/0
ipv6 ospf 12 area 0
Command to tell a router to not form OSPF adjacencies on a given interface
conf t
router ospf *PID*
passive-interface *interface name*
What 5 attributes must match for OSPF neighbors to become adjacent?
- Same subnet
- Hold/dead timers
- Authentication
- Same area
- Same interface MTU
Command to configure a router-id for an OSPFv3 router
conf t
ipv6 router ospf *PID*
router-id *IPv4 RID*
When does EIGRP send full and partial updates?
Full on neighbor adjacency
Partial as needed when network topology changes
What are the 2 primary timers for EIGRP?
Hello
Hold
What are the default values for the Hello and Hold timers in EIGRP?
Hello = 5 seconds
Hold = 3xHello, or 15 seconds by default
What are EIGRP’s 2 primary metrics?
Bandwidth and Delay
What is the multicast address for EIGRP?
224.0.0.10
Does EIGRP ever flood updates periodically?
No, only during adjacency setup or topology changes
What are the 3 required and 1 optional attributes that must pass before an EIGRP adjacency will be established?
Required:
- Same AS number
- Same IP subnet
- Matching K values
Optional:
- Authentication, if configured, must match.
What is the Feasible Distance in EIGRP?
The metric of an EIGRP route on the local router.
What is the Reported Distance in EIGRP?
The next-hop router’s best metric for a FD subnet
What algorithm is used by EIGRP
DUAL
What does DUAL stand for?
Diffusing Update ALgorithm
Does the EIGRP ASN need to match between neighbors?
Yes
Syntax to include interfaces into EIGRP
conf t
router eigrp *ASN*
network *network* [*wildcard mask*]
What 3 attributes must match for EIGRP neighbors to become adjacent?
- Same subnet
- Same ASN
- Matching K-values
What is the all-EIGRP routers IPv6 address?
FF02::10
What are the EIGRP k values, in order?
K1 = Bandwidth modifier
K2 = Load modifier
K3 = Delay modifier
K4 = Reliability modifier
K5 = Additional Reliability modifier
2 steps to have EIGRP use a key chain in authentication
- Under a given interface, set up authentication for the routing protocol.
- Staying under that same interface, bind the key-chain that will be used to the auth line.
Syntax to bind a key chain to EIGRP authentication
conf t
int gi1/0
ip authentication key-chain eigrp *asn* *key-chain name*
Syntax to add automatic summarization to EIGRP
auto-summary
Change the bandwidth or delay on an interface for EIGRP
conf t
int gi1/0
bandwidth *value*delay *value*
Syntax to set the hello and hold timers for EIGRP
conf t
int gi1/0
ip eigrp hello-interval *seconds*
ip eigrp hold-time *seconds*
Configuration to allow for unequal cost load balancing in EIGRP
variance *multiplier*
When you show the routing table, what letter signifies that route was learned via EIGRP?
D
Syntax to set up authentication for eigrp under an interface.
conf t
int gi1/0
ip authentication mode eigrp *asn* md5
What is the successor?
The successor is the path that has the best metric.
What is the Feasible Distance?
The metric of a given route from the current router’s point of view.
What is the Reported Distance?
The metric of a given route from the neighbor’s point of view.
If a path meets the feasibility condition, but does not fall within variance parameters, what happens to it?
It is held in reserve as a feasible successor, one which may take over if the current successor fails.
What is the feasibility condition?
The reported distance of a path must be less than the FD of the path on the current router.
What happens to a path who’s FD falls within variance parameters but does not meet the feasibility condition?
It’s not installed in the routing table, nor will it be a Feasible Successor
How does a router determine if a path can be a Feasible Successor?
If the path’s RD is less that the FD, it will be a Feasible Successor.
What does EUI stand for?
Extended Unique Identifier
What is the / range for IPv6 unique local address space?
FC00::/7
What do IPv6 link-local addresses start with?
FE80
What is the prefix range for link-local addresses?
FE80::/10
FE80
FE90
FEA0
FEB0
What method is used to create the link-local address for an interface?
FE80::/64 + EUI-64 interface ID
What do IPv6 multicast addressess start with?
FF
What is the IPv6 multicast range?
FF00::/8
What IPv6 multicast range is reserved for link local only?
FF02::/16
When a host wants to use DHCPv6 to get an IP, what source/destination addresses does it use?
Source = it’s link-local address
Destination = FF02::1:2
Command to set an IPv6 dhcp relay on an interface
conf t
int gi0/0
ipv6 dhcp relay destination *DHCP server addr*
What does SLAAC stand for?
StateLess Address AutoConfiguration
What are 2 uses for link-local addresses?
Communication with directly connected neighbors
Routers use their neighbors link-local addresses as next hops in routing tables
3 steps for a host to get an IPv6 address using SLAAC
- Discover the v6 prefix on the link using NDP RS/RA messages.
- Create an interface ID and append it to the prefix.
- Test that it’s not a duplicate using DAD.
What address is an RS message sent to?
All-routers
FF02::2
When using SLAAC, how does a host come up with it’s interface ID?
Either using EUI-64 or coming up with a random value.
What is the all-host IPv6 address?
FF02::1
What 5 IPv6 functions use NDP?
SLAAC
DAD
Router Discovery
Neighbor MAC Discovery
Prefix/length Discovery
What is the all-DHCP-agents multicast address?
FF02::1:2
What is the all-router IPv6 address?
FF02::2
Where would a host using SLAAC get the DNS server address?
From stateless DHCPv6
4 major types of IPv6 addresses
Global Unicast
Unique local
Multicast
Link-local
How does DAD work?
Host sends a NS message for it’s IPv6 address. If someone answers, must be a duplicate.
Who primarily sends an RS message?
Hosts
When are RA messages sent?
In response to a RS message
Or
Unsolicited, on a timer
What does NDP replace?
IPv4 ARP
If you really want to configure the link-local address, what is the syntax?
ipv6 address *local IPv6 addr* link-local
Command to statically configure an IPv6 address on an interface
conf t
interface *int*
ipv6 address *address/mask*
Command to have an interface use an EUI-64 address
ipv6 address *prefix*/64 eui-64
Command to have a router use SLAAC to dynamically get an IPv6 address
ipv6 address autoconfig
Command to have a router use DHCPv6 on an interface
ipv6 address dhcp
Command to enable a router to forward IPv6 packets
ipv6 unicast-routing
What is the scope of the solicited-node multicast address?
Link-local
In IPv6, what replaces ARP?
Neighbor Discovery Protocol
What does NDP stand for?
Neighbor Discovery Protocol
What types of messages are used to find a neighbor’s MAC address in IPv6?
Using what protocol?
NS and NA
NDP
What are global unicast IPv6 addresses the equivalent of?
Public IPv4 addresses
What are the versions of the IGPs that support IPv6?
RIPng
OSPFv3
EIGRPv6
What are unique local IPv6 addresses the equivalent of?
Roughly, RFC1918 addresses
What do RS and RA stand for?
Router Solicitation
Router Advertisement
Who primarily sends RA messages?
Routers
2 commands to see IPv6 interface information
show ipv6 interface brief
show ipv6 interace *interface*
DHCPv4 uses Discover/Offer/Request/Acknowledgement messages. What does DHCPv6 use?
Solicit - Host
Advertise - Server
Request - Host
Reply - Server
When a host uses SLAAC, what crucial data is it missing?
The DNS server’s address
When a router receives a link-local packet, what are the steps it takes to forward it out another interface?
Link local packets are not forwarded out other interfaces; they are scoped to a single link.
4 steps to creating an EUI-64 address
- Take the MAC address of the interface, and split it in half.
- Insert FF:FE into the middle of the MAC.
- Invert the 7th bit of the the result from step 2.
- Append this to the IPv6 prefix.
What are the 2 rules for shortening IPv6 addresses?
- In each quartet, remove any leading 0’s.
- For any single sequence of quartet’s whos value is 0, collapse that sequence into ::
If an organization is allocated a /54, how many bits are available for subnets?
10