IPv4 Basics Flashcards
What is the formula for calculating the number of useable subnets under a major address as well as the formula for calculating the number of useable hosts on each subnet?
2n - 2
A Floating Static route is a static route whose _______ ________ has been increased in order to make the route function as a backup route.
A Floating Static route is a static route whose administrative distance has been increased in order to make the route function as a backup route.
Backup Interface is a Cisco feature that can be used in place of _____ _____ _____ for failover designs.
Backup Interface is a Cisco feature that can be used in place of floating static routes for failover designs.
On a Cisco Router, what would the command be to make the electrical port the backup to the fiber port in interface configuration mode?
On a Cisco Router, what would the command be to make the electrical port the backup to the fiber port in interface configuration mode?
R1(config-if)# media-type sfp auto-failover
This would make the fiber port primary. if you used media-type RJ-45 auto-failover, the electrical port would failover to the fiber port.
What does the command no media-type do on a fiber / electrical combo port?
It enables Auto-detect for the combo port.
Cisco IP SLA uses active ______ _______ for measuring traffic performance.
Cisco IP SLA uses active traffic monitoring for measuring traffic performance.
IP SLA works by generating traffic in a continuous, reliable, and predictable manner and ________ the results.
IP SLA works by generating traffic in a continuous, reliable, and predictable manner and analyzing the results.
For more advanced measurements with IP SLA, you must set up an IP SLA _______ which is an agent embedded only in Cisco devices.
For more advanced measurements with IP SLA, you must set up an IP SLA Responder which is an agent embedded only in Cisco devices.
After configuring an IP SLA Operation, you must make sure you ________ the oepration.
After configuring an IP SLA Operation, you must make sure you schedule the oepration.
Enhanced ________ _________ is a sort of glue that binds the tracking of object with upper layer protocols such as HSRP.
Enhanced Object Tracking is a sort of glue that binds the tracking of object with upper layer protocols such as HSRP.
Enhanced Object Tracking provides complete separation between the objects to be tracked and the ______ to be taken by a client when a tracked object changes.
Enhanced Object Tracking provides complete separation between the objects to be tracked and the action to be taken by a client when a tracked object changes.
What are the two aspects of an IP SLA operation that can be tracked?
What are the two aspects of an IP SLA operation that can be tracked?
- state
- reachability
The difference between IP SLA state and reachability is that reachability has the __________ return code.
The difference between IP SLA state and reachability is that reachability has the OverThreshold return code.
With Enhanced Object Tracking, the ______ option specifies a period of time to delay communicating state changes of a tracked object.
With Enhanced Object Tracking, the delay option specifies a period of time to delay communicating state changes of a tracked object.
To set up an Enhanced Object Tracking, the command in global configuration mode is ________.
To set up an Enhanced Object Tracking, the command in global configuration mode is track.
The only difference with ICMP echo operation between state and reachability is that reachability also ensures that the latency is less than _______ms.
The only difference with ICMP echo operation between state and reachability is that reachability also ensures that the latency is less than 5000 ms.
Policy-based routing can be used to change the _______ _____ _______ for traffic matching certain criteria.
Policy-based routing can be used to change the next-hop IP address for traffic matching certain criteria.
What are the two configuration elements to implement policy routing?
What are the two configuration elements to implement policy routing?
- access list (standard or extended)
- route map
How would you turn on debugging for policy routing?
How would you turn on debugging for policy routing?
debug ip policy
Where do you activate an ip policy and what is the command and parameter syntax?
Where do you activate an ip policy and what is the command and parameter syntax?
You activate an ip policy on an interface. The command is ip policy route-map <route-map></route-map>.
To apply policy based routing to traffic that is originated by a router, you must use ______ _______ ______.
To apply policy based routing to traffic that is originated by a router, you must use Local Policy Routing.
There can only be _____ ip policy per interface.
There can only be one ip policy per interface.
Since there can only be one ip policy per interface, if you need to perform multiple actions you must use a ____ _____ with multiple sections.
Since there can only be one ip policy per interface, if you need to perform multiple actions you must use a route map with multiple sections.
What command would you use to see how many packets matched an IP Policy?
What command would you use to see how many packets matched an IP Policy?
show route-map
The stats show up on the route map, not under the ip policy!
With policy routing route map configuration, what is the difference if you use the default keyword in the set ip next-hop statement?
When you do not use the default keyword, routing utilizes PBR first and consults the routing table if there is no match or non reachability. If you do use the default keyword, then routing utilizes the routing table first and consults PBR only if no route can be found.
When is the recursive keyword used in the set ip next-hop command of a route map?
Both the set ip next-hop and the set ip default next-hop commands require that the next-hop be found on a directly-connected subnet, otherwise PBR will fail and normal forwarding will be used. However, we can use set ip next-hop recursive to use an address off a subnet that is not directly connected.
What are the two ways to use set ip next-hop verify-availability?
- If used solely by itself, set ip next-hop verify-availability will use CDP to verify reachability of the next-hop address specified.
- It can be used in combination with Enhanced Object Tracking for deeper testing.
Can you list the 7 order of operations of Policy Routing?
- set ip next-hop verify-availability track - first when used with object tracking
- set ip next-hop - alone or with the CDP (but without default) version of verify-availability
- set ip next-hop recursive
- set interface
- Route table
- set ip default next-hop
- set default interface
Policy-based routing is a process whereby the device puts packets through a ____ ____ before routing them.
Policy-based routing is a process whereby the device puts packets through a route map before routing them.
The ip policy route-map command disables ____ switching of all packets arriving on the interface to which it is applied.
The ip policy route-map command disables fast switching of all packets arriving on the interface to which it is applied.
_____ ______ are not used in route maps for Policy Routing.
Prefix Lists are not used in route maps for Policy Routing.
How does Local Policy Routing differ from Policy Routing?
Local Policy Routing applies to traffic that is originated from the router, while regular Policy Routing applies to traffic that is passing through a router.
In which mode is Local Policy Routing enabled?
In which mode is Local Policy Routing enabled?
Global Configuration Mode.
A GRE Tunnel encapsulates IP packets inside GRE packets, making the connection resemble a _____________ connection.
A GRE Tunnel encapsulates IP packets inside GRE packets, making the connection resemble a point-to-point connection.
What are the three elements we must add to the Tunnel during Tunnel interface configuration?
What are the three elements we must add to the Tunnel during Tunnel interface configuration?
- Tunnel Source
- Tunnel Destination
- Tunnel IP Address
When you create a tunnel interface on a Cisco router, what is the default Tunnel Encapsulation?
When you create a tunnel interface on a Cisco router, what is the default Tunnel Encapsulation?
GRE
Why would you use keepalives on a GRE tunnel interface?
By default, the state of a point-to-point GRE interface is determined by routing availability for the tunnel destination, thus as long as the router has a route for the tunnel destination, the tunnel interface state will be UP. The keepalive will ensure there are no transit issues that would give a false UP.
In the configuration of a keepalive on a GRE tunnel, what does the interval define?
keepalive <interval> <number_of_retries></number_of_retries></interval>
The interval is the frequency in seconds for sending keepalive packets.
In the configuration of a keepalive on a GRE tunnel, what does the number of retries define?
keepalive <interval> <number_of_retries></number_of_retries></interval>
The number of retries defines the maximum number of keepalives being sent after the first failed keepalive, before the router changes the tunnel state to DOWN.
What are the three combinations of IOS for IP in IP Tunneling?
What are the three combinations of IOS for IP in IP Tunneling?
- IPv4 in IPv4 (ipip)
- IPv6 in IPv6 (ipv6)
- IPv6 in IPv4 (ipv6ip)
What extra capabilities does GRE Tunneling provide over IP in IP Tunneling?
- encapsulating protocols other than IP
- enforce packet sequencing
- add an additional checksum
- specify a tunnel key
What is the usual cause of recursive routing loops on Tunnel interfaces?
Enabling the IGP on the tunnel interface.
ODR stands for ___ _____ ______.
ODR stands for On Demand Routing.
ODR is used on ___ ____ ____ networks.
ODR is used on hub and spoke networks.
What is the command to enable ODR?
What is the command to enable ODR?
router odr
A stub router supporting ODR advertises IP prefixes corresponding to the IP networks configured on all _____ ______ interfaces.
A stub router supporting ODR advertises IP prefixes corresponding to the IP networks configured on all directly connected interfaces
ODR uses _____ to carry minimal routing information between the hub and stub routers.
ODR uses Cisco Discovery Protocol (CDP) to carry minimal routing information between the hub and stub routers.
ODR is able to pass _____ information since it sends prefixes.
ODR is able to pass VLSM information since it sends prefixes
WIth ODR, if you want to disallow an interface from advertising its prefix, how would you accomplish this?
WIth ODR, if you want to disallow an interface from advertising its prefix, how would you accomplish this?
disable CDP on that interface
How do you assign an interface to a previously defined VRF named Blue?
How do you assign an interface to a previously defined VRF?
In interface configuration mode for the interface you want to place within the defined VRF, issue the command ip vrf forwarding Blue.
To ping IP address 1.1.1.1 of an interface located within the Blue VRF, what command would you issue?
To ping IP address 1.1.1.1 of an interface located within the Blue VRF, what command would you issue?
ping vrf Blue 1.1.1.1
________ is a protocol that is able to detect link failures within milliseconds or even microseconds between two adjacent routers.
Bidirectional Forwarding Detection (BFD) is a protocol that is able to detect link failures within milliseconds or even microseconds between two adjacent routers.
What are the two modes of BFD?
What are the two modes of BFD?
- asynchronous
- demand
Demand is not currently implemented by any vendors.
Asynchronous mode requires that BFD be enabled and operational on _____ sides of the link.
Asynchronous mode requires that BFD be enabled and operational on both sides of the link.
Cisco BFD requires that _____ is enabled.
Cisco BFD requires that CEF is enabled.
In the Cisco implementation, there is _____ BFD process that runs, regardless of the number of Layer 3 routing protocols that are dependent upon it.
In the Cisco implementation, there is one BFD process that runs, regardless of the number of Layer 3 routing protocols that are dependent upon it.
_______ configurations are not supported.
Multihop configurations are not supported.
BFD packets are matched in the class ________ command. So, the user must make sure of the availability of appropriate bandwidth to prevent dropping of BFD packets due to oversubscription.
BFD packets are matched in the class class-default command. So, the user must make sure of the availability of appropriate bandwidth to prevent dropping of BFD packets due to oversubscription.
What is the format of the command to enable BFD on an interface?
What is the format of the command to enable BFD on an interface?
bfd interval milliseconds min_rx milliseconds multiplier interval-multiplier
Where in the BGP configuration does the BFD statement reside?
Where in the BGP configuration does the BFD statement reside?
in the neighbor statement
What is the synatx to use BFD with a BGP neighbor?
What is the synatx to use BFD with a BGP neighbor?
neighbor 192.168.17.1 fall-over bfd
Where do you specify to use BFD for link failure detection when setting up EIGRP?
Where do you specify to use BFD for link failure detection when setting up EIGRP?
In EIGRP router configuration mode
What is the router configuration command in EIGRP to enable BFD on all interfaces?
What is the router configuration command in EIGRP to enable BFD on all interfaces?
R1(config-router)# bfd all-interfaces
What are the two methods for enabling BFD support for OSPF?
What are the two methods for enabling BFD support for OSPF?
- Enable it for all interfaces by using bfd all-interfaces in OSPF router configuration mode. You can then disable it on a particular interface by going into interface econfiguration mode and issuing the ip ospf bfd disable command
- Enable it on a per-interface basis using the ip ospf bfd command in interface subconfiguration mode.
What are two configuration methods to enable BFD to register with HSRP?
How do you enable BFD to register with HSRP?
- standby bfd in interface sub-configuration mode
- standby bfd all-interfaces in global configuration mode
What was the previous name for Cisco Performance Routing (PfR)?
What was the previous name for Cisco Performance Routing (PfR)?
Optimized Edge Routing (OER)
What are the two basic building blocks of PfR, from which information is gathered to make intelligent routing decisions?
What are the two basic building blocks of PfR, from which information is gathered to make intelligent routing decisions?
- IP SLA
- NetFlow
_______ _________ and _______ __________ are central to PfR.
Master Controller and Border Routers are central to PfR.
The ________ _________ in PfR is the centralized decision maker.
The Master Controller (MC) in PfR is the centralized decision maker.
How do MCs and BRs connect in PfR?
How do MCs and BRs connect in PfR?
Over an authenticated TCP session on Port 3949.
How is authentication between MCs and BRs handled in PfR?
How is authentication between MCs and BRs handled in PfR?
by keychains
What is the command to enter PfR configuration mode for a Border Router?
What is the command to enter PfR configuration mode for a Border Router?
R1(conf)# pfr border
In Cisco PfR, there must be at least one ______ interface and at least two external interfaces.
In Cisco PfR, there must be at least one internal interface and at least two external interfaces.
With PfR, what is the command in pfr-br configuration mode to define the Master Controller?
With PfR, what is the command in pfr-br configuration mode to define the Master Controller?
R3(config-pfr-br)#master 150.1.3.3 key-chain OER
With PfR, what is the command in pfr-mc configuration mode to define the Border Routers?
With PfR, what is the command in pfr-mc configuration mode to define the Border Routers?
R3(config-pfr-mc)#border 150.1.3.3 key-chain OER
What is the PfR Master Controller subconfiguration command that enables us to start monitoring a particular traffic class?
What is the PfR Master Controller subconfiguration command that enables us to start monitoring a particular traffic class?
R3(config-oer-mc)#learn
In PfR, the default interface utilization threshold is ____ when monitoring throughput.
In PfR, the default interface utilization threshold is 75% when monitoring throughput.
PfR aggregates traffic flows into ____ prefixes by default before sending the information to the MC.
PfR aggregates traffic flows into /24 prefixes by default before sending the information to the MC
With PFR, what is the command to change the prefix length of which traffic flows are classified into?
With PFR, what is the command to change the prefix length of which traffic flows are classified into?
R3(config-oer-mc-learn)#aggregation-type prefix-length <1-32>
Notice this is in learn mode.
When you first enter PfR Configuration, what mode is the policy in?
When you first enter PfR Configuration, what mode is the policy in?
mode route observe
After entering PfR configuration, what is the command to make it active?
After entering PfR configuration, what is the command to make it active?
R3(config-oer-mc)#mode route control
What are secondary routes called in PfR?
What are secondary routes called in PfR?
parent routes
_______ ________ routing is the principle that a packet will follow the most specific route entry that it matches.
Longest Match routing is the principle that a packet will follow the most specific route entry that it matches.
The _______ command is used with the different routing protocols to change its Administrative Distance.
The distance command is used with the different routing protocols to change its Administrative Distance.
Administrative Distance refers to the __________ of the source.
Administrative Distance refers to the trustworthiness of the source.
Administrative Distance is only _____ significant and can be different for each router.
Administrative Distance is only locally significant and can be different for each router.
What is the Administrative Distance of a directly connected route?
What is the Administrative Distance of a directly connected route?
0
What is the Administrative Distance of a static route?
What is the Administrative Distance of a static route?
1
What is the Administrative Distance of an EIGRP Summary route?
What is the Administrative Distance of an EIGRP Summary route?
5
What is the Administrative Distance of an External BGP route?
What is the Administrative Distance of an External BGP route?
20
What is the Administrative Distance of an EIGRPP route?
What is the Administrative Distance of an EIGRPP route?
90
What is the Administrative Distance of an OSPF route?
What is the Administrative Distance of an OSPF route?
110
What is the Administrative Distance of a RIP route?
What is the Administrative Distance of a RIP route?
120
What is the Administrative Distance of an ODR route?
What is the Administrative Distance of an ODR route?
160
What is the Administrative Distance of an External EIGRP route?
What is the Administrative Distance of an External EIGRP route?
170
What is the Administrative Distance of an Internal BGP route?
What is the Administrative Distance of an Internal BGP route?
200
What is the Administrative Distance of an Unknown route?
What is the Administrative Distance of an Unknown route?
255
What are 3 advantages of static routing vs dynamic routing?
What are 3 advantages of static routing vs dynamic routing?
- better security as routes are not advertised across the network
- less bandwidth consumption as there is no exchange of routes
- no CPU cycles are used to calculate and communicate routes