CommandRef AppB
CommandRef AppB
Chapter 1
Table 1-6 Configuration and Verification Commands
Task Command Syntax
Display the IP address, subnet mask, and default
gateway of a Windows PC
Display the IP address, subnet mask, and default
gateway of a Windows PC, in addition to DNS
servers, domain name, MAC address, and whether
autoconfiguration is enabled
Display various IP-related parameters for a router
interface, including the IP address and subnet mask
that have been assigned
Identify any IP address conflicts a router configured
as a DHCP server identifies, along with the method
the router used to identify the conflicts (this is, via
ping or gratuitous ARP)
Display IP addresses that an IOS DHCP server
assigns, their corresponding MAC addresses, and
lease expirations
Determine whether IPv6 is enabled on an interface,
display the multicast groups the router interface
is a member of, display the global and link-local
unicast addresses associated with an interface,
indicate whether EUI-64 was used or stateless
autoconfiguration was used to obtain the IPv6
address for the interface, display whether RAs are
suppressed for the interface, and display how devices
connected to the same link as the interface will
obtain an IPv6 address and how they will obtain
other options
Display the IPv6 addresses that are being used by
each of the DHCPv6 clients
Display which DHCPv6 pool is assigned to which
interface on the router
Display the configured DHCPv6 pools on the router
Display a router’s best route to the specified IP
address
Task Command Syntax
Display only the static routes in a router’s routing
table
Display a router’s best route to the specified network
if the specific route (with a matching subnet mask
length) is found in the router’s IP routing table
Display all routes in a router’s IP routing table that
are encompassed by the specified network address
and subnet mask (This command is often useful when
troubleshooting route summarization issues.)
Display information (for example, next-hop IP
address and egress interface) required to forward a
packet, similar to the output of the show ip route
ip_address command (The output of this command
comes from CEF. Therefore, routing protocol
information is not presented in the output.)
Display information from a router’s FIB showing the
information needed to route a packet to the specified
network with the specified subnet mask
Display the adjacency that will be used to forward
a packet from the specified source IP address to the
specified destination IP address (This command is
useful if the router is load balancing across multiple
adjacencies, and you want to see which adjacency
will be used for a certain combination of source and
destination IP addresses.)
Display the static IPv6 routes configured on a device
Display the Layer 3 IPv6 address-to-Layer 2 MAC
address mappings
Display a router’s ARP cache, containing IPv4
address-to-MAC address mappings
Chapter 2
Table 2-9 Command Reference
Task Command Syntax
Initialize EIGRP in a classic configuration.
Chapter 3
Table 3-3 Command Reference
Task Command Syntax
Modify the EIGRP hello interval and
hold time per interface B
Chapter 4
Table 4-3 Command Reference
Task Command Syntax
Display the IPv4 routing protocols enabled on the
router; for EIGRP, display autonomous system number,
outgoing and incoming filters, K values, router ID,
maximum paths, variance, local stub configuration,
routing for networks, routing information sources,
administrative distance, and passive interfaces
Show a router’s EIGRP neighbors
Show detailed information about a router’s EIGRP
neighbors, including whether the neighbor is a
stub router, along with the types of networks it is
advertising as a stub
Display all of a router’s interfaces that are configured
to participate in an EIGRP routing process (with the
exception of passive interfaces)
Display the interfaces participating in the EIGRP for
IPv4 routing process, along with EIGRP hello and hold
timers, whether the split horizon rule is enabled, and
whether authentication is being used
Display the EIGRP configuration in the running
configuration
Display the configuration of a specific interface in the
running configuration (This is valuable when you are
trying to troubleshoot EIGRP interface commands.)
Display the keychains and associated keys and key
strings
Display IPv4 interface parameters; for EIGRP, verify
whether the interface has joined the correct multicast
group (224.0.0.10) and whether any ACLs applied to the
interface might be preventing an EIGRP adjacency from
forming
Display routes known to a router’s EIGRP routing
process, which are contained in the EIGRP topology
table (The all-links keyword displays all routes learned
for each network, and without the all-links keyword,
only the successors and feasible successors are
displayed for each network.)
Show routes known to a router’s IP routing table that
were injected by the router’s EIGRP routing process
Display all EIGRP packets exchanged with a router’s
EIGRP neighbors or display only specific EIGRP packet
types (for example, EIGRP hello packets)
Appendix B: Command Reference Exercises 7
Chapter 5
Table 5-6 Command Reference
Task Command Syntax
Initialize EIGRPv6 with classic configuration
B
Chapter 6
Table 6-9 Command Reference
Task Command Syntax
Initialize the OSPF process.
Enable OSPF on network interfaces that match a
specified network range for a specific OSPF area.
Enable OSPF on an explicit specific network interface
for a specific OSPF area.
Appendix B: Command Reference Exercises 9
Chapter 7
Table 7-9 Command Reference
Task Command Syntax
Initialize the OSPF process
Display the generic LSA listings in a router’s
LSDB and the type and count for each type
from an advertising router
Display the specific information for a Type 1,
2, 3, 4, 5, or 7 LSA
Chapter 8
Table 8-6 Command Reference
Task Command Syntax
Display the IPv4 routing protocols enabled on the
device; for OSPFv2, display whether any route filters
are applied, the RID, the number of areas the router
is participating in, the types of areas, the maximum
paths for load balancing, the network area command,
the interfaces explicitly participating in the routing
process, passive interfaces, routing information
sources, and the AD
Display general OSPF parameters, including the
PID, the RID, the reference bandwidth, the areas
configured on the router, the types of areas (stub,
totally stubby, NSSA, and totally NSSA), and area
authentication
Display the interfaces that are participating in the
OSPF process
Display detailed information about the interfaces
participating in the OSPF process, including interface
IPv4 address and mask, area ID, PID, RID, network
type, cost, DR/BDR, priority, and timers
Display the OSPF devices that have formed a neighbor
adjacency with the local router
Display the OSPF routes that have been installed in
the IPv4 routing table
Appendix B: Command Reference Exercises 11
Chapter 9
Table 9-7 Command Reference
Task Command Syntax
Configure OSPFv3 on a router and enable it
on an interface
Chapter 10
Table 10-4 Command Reference
Task Command Syntax
Display the IPv4 routing protocols enabled on the
device; for OSPFv2, display whether any route filters
are applied, the RID, the number of areas the router
is participating in, the types of areas, the maximum
paths for load balancing, the network area command,
the interfaces explicitly participating in the routing
process, passive interfaces, routing information sources,
and the AD
Display the IPv6 dynamic routing protocols enabled
on the device; for OSPFv3, display the PID, the RID,
the number of areas, the types of areas, the interfaces
participating in the routing process, and redistribution
information
Display general OSPF parameters, including the PID,
the RID, the reference bandwidth, the areas configured
on the router, the types of areas (stub, totally stubby,
NSSA, and totally NSSA), and area authentication
Display the interfaces that are participating in the OSPF
process
Display detailed information about the interfaces
participating in the OSPF process, including the
interface IPv4 address and mask, area ID, PID, RID,
network type, cost, DR/BDR, priority, and timers
Display the OSPF devices that have formed a neighbor
adjacency with the local router
Display the OSPF routes that have been installed in the
IPv4/IPv6 routing table
Display general OSPFv3 parameters for IPv4 and
IPv6 address families, including the PID, the RID,
the reference bandwidth, the areas configured on the
router, the types of areas (stub, totally stubby, NSSA,
and totally NSSA), and area authentication
Display the interfaces that are participating in the
OSPFv3 process and the AF they are participating in
Display detailed information about the interfaces
participating in the OSPFv3 address families, including
interface IPv4 and IPv6 addresses, area ID, PID, RID,
network type, cost, DR/BDR, priority, and timers
Display the OSPFv3 neighbor adjacencies that have
been formed for each AF
Display the OSPF link-state database
Display the OSPFv3 link-state database
Appendix B: Command Reference Exercises 13
Chapter 11
Table 11-7 Command Reference
Task Command Syntax
Initialize the BGP router process
Statically configure the BGP router ID
Identify a BGP peer to establish a session with
Configure the BGP session timers
Chapter 12
Table 12-4 Command Reference
Task Command Syntax
Configure a BGP aggregate IPv4 prefix
Chapter 13
Table 13-4 Command Reference
Task Command Syntax
Set the weight in a route map
Set the weight for all routes learned from
this neighbor
Set the local preference in a route map
Set the local preference for all routes
learned from this neighbor
Enable the advertise of AIGP path
attributes
Set the AIGP metric in a route map
Set AS_Path prepending in a route map
Set the origin using a route map
Set the MED using a route map
Set the MED to infinity when the MED
is not present
Set the MED to the default value when
the MED is not present
Ensure that MED is always compared,
regardless of AS_Path
16 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
Chapter 14
Table 14-3 Command Reference
Task Command Syntax
Chapter 15
Table 15-7 Command Reference
Task Command Syntax
Configure a prefix list
Chapter 16
Table 16-7 Command Reference
Task Command Syntax
Redistribute the source routing protocol
into a destination routing protocol
Chapter 17
Table 17-4 Command Reference
Task Command Syntax
Display the IPv4 sources of routing information
that are being redistributed into the IPv4 routing
protocols enabled on the device
Display the IPv6 sources of routing information
that are being redistributed into the IPv6 routing
protocols enabled on the device
Show which IPv4 routes have been redistributed
into the IPv4 EIGRP process on the boundary
router
Show which IPv6 routes have been redistributed
into the IPv6 EIGRP process on the boundary
router
Show which IPv4 routes have been redistributed
into the OSPFv2 process; they are represented as
Type 5 or Type 7 LSAs
18 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
Chapter 18
Table 18-3 Command Reference
Task Command Syntax
Define a VRF instance and enter VRF configuration mode
for the instance (in global configuration mode) by using a
classic command.
Define a VRF instance and enter VRF configuration mode
for the instance (in global configuration mode) by using a
newer command that supports IPv4 and IPv6 networks.
Associate an interface or a subinterface with a VRF
instance (in interface configuration mode) by using a classic
command.
Associate an interface or a subinterface with a VRF
instance (in interface configuration mode) by using a newer
command that supports IPv4 and IPv6 networks.
Display configured VRF instances and associated router
interfaces.
Display the routes in the global routing table.
Display the routes in the routing table for the VRF
specified in the command.
Display all VRF-enabled interfaces on the router, including
their IP addresses and whether the protocol is up or down
by using a classic command.
Display all IPv4 VRF-enabled interfaces on the router,
including their IP addresses and whether the protocol is up
or down, by using a newer command.
Display all IPv6 VRF-enabled interfaces on the router,
including their IP addresses and whether the protocol is up
or down by using a newer command.
Test IP connectivity for a specific VRF instance.
Appendix B: Command Reference Exercises 19
Chapter 19
Table 19-14 Command Reference
Task Command Syntax
Specify the source IP address or interface used
for encapsulating packets for a tunnel B
Specify the destination IP address for
establishing a tunnel
Convert a GRE tunnel into an mGRE tunnel
Enable NRHP and uniquely identify a
DMVPN tunnel locally
Define a tunnel key globally on a DMVPN
tunnel interface to allow routers to identify
when multiple tunnels use the same
encapsulating interface
Enable plaintext NHRP authentication
Associate a front door VRF instance to a
DMVPN tunnel interface
Allow for an NHRP client to register with a
different IP address before timing out at the
hub
Enable the NHRP redirect function on a
DMVPN hub tunnel interface
Enable the ability to install NHRP shortcuts
into a spoke router’s RIB
Enable the mapping of multicast on a
DMVPN hub tunnel interface
Specify the NHRP NHS, NBMA address, and
multicast mapping on a spoke
Chapter 20
Table 20-4 Command Reference
Task Command Syntax
Configure an IKEv2 keyring
Chapter 21
Table 21-4 Command Reference
Task Command Syntax
Display all the access lists configured on
the device
Display all the IPv4 access lists
configured on the device
Display all the IPv6 access lists
configured on the device
Display the inbound and outbound IPv4
access lists applied to an interface
Appendix B: Command Reference Exercises 21
Chapter 22
Table 22-3 Command Reference
Task Command Syntax
Display the configuration of the local usernames and
passwords on the device, the AAA commands that have
been configured, and the vty line configuration
Display the authentication process in real time
Display the RADIUS authentication process in real time
Display the local authentication process in real time
Enable AAA services on the router
Create a username and password in the local username
and password database
Create a method list for AAA login purposes using a
group of AAA servers for authentication with fallback to
the local username and password database if the servers
are not reachable
Apply a AAA method list to a vty or console line in line
configuration mode
Configure uRPF on an interface in interface
configuration mode
Chapter 23
Table 23-3 Command Reference
Task Command Syntax
Display the ingress and egress allowed transport
protocols on a vty line
22 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide