CCNP Command Practice Flashcards
Configures a DLCI on a subinterface
frame-relay interface-dlci DLCI
Disables automatic route summarization
no auto-summary
Disables DNS resolution of hostnames
no ip domain-lookup
Configures an EIGRP summary route on an interface
ip summary-address eigrp asn address mask
Displays information about EIGRP topology
show ip eigrp topology
Configures interface delay (in 10’s of usec)
delay delay
Configures frame-relay mapping on an interface or subinterface
frame-relay map ip address DLCI [broadcast]
Forwards broadcasts to this address when multicast is not enabled
Disables split-horizon for an EIGRP process on an interface or subinterface
no ip split-horizon eigrp ASN
Disable frame relay inverse ARP on an interface
no frame-relay inverse-arp
Set the percentage bandwidth usage on EIGRP.
ip bandwidth-percent eigrp ASN PERCENTAGE
Configures the accept lifetime for a key.
accept-lifetime start end
Configures the time and date
clock set hh:mm:ss day month year
Configures an interface or subinterface for EIGRP MD5 authentication
ip authentication mode eigrp ASN md5
Can be configured on a per interface basis or on the EIGRP process
Configures an interface or subinterface with a keychain for EIGRP authentication
ip authentication key-chain eigrp ASN name
Can be configured on a per interface basis or on the EIGRP process
Creates a key on a keychain
key number
Creates a keychain
key-chain name
Specifies a keystring vaule
key-string
Configures the send lifetime for a key
send-lifetime start end
Displays current time and date
show clock
Displays keychain information
show key chain
Configures a router for EIGRP stub operation
What are the 5 options for EIGRP stub and what do they do?
eigrp stub [options]
Options:
Connected - Advertise connected routes but only for interfaces matched with a network command
Summary - Advertise auto-summarized or statically configured summary routes
Static - Advertises static routes, assuming the redistribute static command is configured
Redistributed - Advertises redistributed routes, assuming redistribution is configured
Receive-only - Does not advertise any routes. This option cannot be used with any other option.
A router that is configured as a stub with the eigrp stub command shares connected and summary routing information with all neighbor routers by default.
Configures the OSPF cost on an interface or subinterface
ip ospf cost cost
Configures the OSPF DR/BDR election priority on an interface or subinterface
ip ospf priority
Displays OSPF LSDB information
show ip ospf database [options]
Set an OSPF router to never become a DR or BDR.
ip ospf priority 0
What is the function of the broadcast keyword in the command frame-relay map ip address DLC [broadcast]?
What role does it play with OSPF
The broadcast keyword allows the PVC to forward broadcasts when multicasting is not enabled.
When the frame-relay map command is included in the configuration with the broadcast keyword, and the ip ospf network command (with the broadcast keyword) is configured, there is no need to configure any neighbors manually. OSPF now automatically runs over the Frame Relay network as a broadcast network. (See the ip ospf network interface command for more detail.)
Example
The following example maps the destination IP address 172.16.123.1 to DLCI 100:
interface serial 0
frame-relay map IP 172.16.123.1 100 broadcast
OSPF uses DLCI 100 to broadcast updates.
Selects OSPF network mode.
What are the options?
ip ospf network [option]
broadcast - Sets the network type to broadcast
non-broadcast - Sets the network type to nonbroadcast multiaccess (NBMA)
point-to-multipoint [non-broadcast] - Sets the network type to point-to-multipoint. The optional non-broadcast keyword sets the point-to-multipoint network to be nonbroadcast. If you use the non-broadcast keyword, the neighbor command is required.
point-to-point - Sets the network type to point-to-point
Define an OSPF router ID
router-id
Configures an OSPF area for stub operation. What is the option and what does it do?
When is there a default route?
area AREA stub [no-summary]
To make the area a stub area you must configure the command on every router. The no-summary command only goes on ABRs!
Adding the no-summary option makes the area a totally stubby area.
OSPF stub areas and totally stubby areas inject a default route.
Configure an OSPF area as a not-so-stubby area (NSSA). What is the option for the command and what does it do?
When is there a default route?
area AREA nssa [no-summary]
To make the area an NSSA you must configure the command on every router. The no-summary command only goes on ABRs!
The no-summary option makes this into a NSSA Totally Stub area.
How do you force OSPF to inject a default route?
default-information originnate [always] [metric metric-value] [metric-type type value] [route-map map-name]
The always option will force the router to advertise the route whether it is in its routing table or not.
How do you advertise a default route in EIGRP? (Two ways)
1) Use a static route redistributed into EIGRP:
ip route 0.0.0.0 0.0.0.0 x.x.x.x (next hop to the internet)
2) Use the ip default-network x.x.x.x global configuration command
Configures OSPF plain-text authentication on an interface
ip ospf authentication
Configures OSPF MD5 authentication on an interface
ip ospf authentication message-digest
Configures an OSPF plain-text keystring on an interface
ip ospf authentication-key
Configures an OSPf MD5 key number and keystring on an interface
ip ospf message-digest key-id md5 keystring
key-id is An identifier in the range from 1 to 255.
Configures administrative distance for a routing protocol.
distance value address wildcard_mask ACL
Configures a prefix list to filter routing updates
distribute list prefix name direction protocol
Configures an IP access control list
ip access-list type name
Configures an IP prefix list
ip prefix-list name [options]
Example:
Rx(config)#ip prefix-list NAME_HERE permit 0.0.0.0/0 le 32
Configures route redistribution
redistribute protocol [options]
Example:
router rip
redistribute ospf 1 metric 5
Displays access lists
show access-lists
Displays prefix lists
show prefix-lists
Configures an ACL to filter routing updates
distribute-list
Configures a numbered IP ACL
access-list number action conditions
Enables debugging for IP policy-based routing
debug ip policy
Matches an attribute in a route map statement
match attribute
Configures a statement in a route map
route-map name permit|deny number
Example:
Rx(config)#route-map LongWay permit 10
match ip address 101
set interface serial0/0/0.1
access-list 101 permit ip any host 192.168.2.99
Sets an attribute in a route map statement
set attribute
Displays routing policies
show ip policy
Traces to the specified address
traceroute address
Place a route map into use
ip local policy route-map name
Summarizes BGP routes and suppresses the advertisement of the explicit routes
aggregate-address address mask [summary-only]
The summary-only option filters more specific routes from updates.
Configures a BGP peer
neighbor address remote-as asn
Specifies an update source address for a BGP peer
neighbor address UPDATE-SOURCE type number
Clear a BGP neighbor relationship
clear ip bgp options
Configures a default BGP local preference
bgp default local-preference value
Set BGP MED attribute
(config-router)# default-metric
What interface-level configuration statement assigns the interface to OSPFv3 areas?
A: ipv6 opsf [process] area [area-ID]
Enables the forwarding of IPv6 unicast datagrams globally on the router
(config)#ipv6 unicast-routing
Automatically configures an IPv6 link-local address on the interface and enables IPv6 proceissing on the interface.
ipv6 enable
Note: The link-local address that the ipv6 enable command configures can be used only to communicate with nodes on the same link.
Router will configure itself with a link-local address using stateless auto-configuration
ipv6 address autoconfig
Enabling stateless autoconfiguration on the interface configures IPv6 addresses based on prefixes received in Router Advertisement messages. A link-local address, based on the Modified EUI-64 interface ID, is automatically generated for the interface when stateless autoconfiguration is enabled.
Configures a global IPV6 address on the interface and enables IPv6 processing on the interface
ipv6 address 3000::1/64
Configures a global IPv6 address with an interface identifier in the low-order 64 bits of the IPv6 address
ipv6 address 2001:db8:0:1::l64 eui-64
Configures a specific link-local IPv6 address on the interface rather than the one that is automatically configured when IPv6 is enable on the interface
ipv6 address fe80::260:3eff:fe47:1530/64 link-local
Specifies an unnumbered interface and enables IPv6 processing on the interface. The global IPv6 address of the interface specified by type/number will be used as the source address
ipv6 unnumbered type/number
Enables OSPFv3 process 1 on the interface and places this interface into area 0
ipv6 ospf 1 area 0
Note: The OSPFv3 process is created automatically when OSPFv3 is enabled on an interface
Note: The ipv6 ospf x area y command has to be configured on each interface that will take part in OSPFv3
Assigns a priority number to this interface for use in the designated router (DR) election. The priority can be a number from 0 to 255. The default is 1. A router with a priority of 0 is ineligibale to become the DR or the BDR
ipv6 OSPF priority
Assigns a cost value of 20 to this interface. The cost value can be an integer from 1 to 65,535
ipv6 ospf cost 20
Enables EIGRP IPv6 processing on an interface that has not been configured with an explicit IPv6 address.
ipv6 eigrp 100
Enables the use of a fixed router ID
eigrp router-id 10.1.1.1
Only use this command if an IPv4 address is not defined.
How do you configure a manual tunnel?
1) Create a tunnel interface with interface tunnel0
2) Assign it an interface with ipv6 address <address>/prefix
3) Specify the tunnel source and destination
4) Specify a manual IPv6 tunnel with tunnel mode ipv6ip</address>
How do you configure a generic routing encapsulation (GRE) tunnel?
1) Create a tunnel interface with interface tunnel0
2) Assign it an interface with ipv6 address <address>/prefix
3) Specify the tunnel source and destination
4) Specify a GRE tunnel with tunnel mode gre ipv6</address>
How do you configure a 6:4 tunnel?
1) Create a tunnel interface with interface tunnel0
2) Assign it an interface with ipv6 address <address>/prefix
3) Specify the tunnel source and destination
4) Specify a GRE tunnel with tunnel mode ipv6ip 6to4
In global configuration:
ipv6 route 2002::/16 tunnel0</address>
Displays IPv6 tunnel information
show ipv6 tunnel
What two EIGRP subcommands are required to support L3 unequal-cost link load balancing over 5 different paths?
A: The variance and maximum-paths subcommands would be required
Out of the box, EIGRP will automatically load balance across equal-cost paths with no special configuration. EIGRP is unique, however, in its ability to load balance across unequal-cost paths with a single command.
The variance command allows unequal-cost load balancing over up to 6 different paths. But here’s the key, it only works when the cost of the path is lower than the variance number multiplied by the best metric.
R1(config)#router eigrp 1
R1(config-router)# variance 2
By default, Cisco IOS will load balance across 4 equal-cost paths only. Using the maximum-paths command, you can configure the router to load balance over up to 16 paths. Setting it to 1 disables the load balancing.
R1(config)# maximum-paths 5
How do you add a prefix list outbound on an ABR for a route filter?
area # filter-list prefix out
When performing route redistribution, what two show commands could be run on the redistribution router to verify it is redistributing properly?
“show ip route” and “show ip protocols”
The “show ip route” command can be issued on a router performing route redistribution to verify that that the proper routes from both routing protocols are in the local routing table.
The “show ip protocols” command can be used to verify the redistribution commands have been issued correctly as they will be displayed in the output.
What command displays the statistics for the number of packets matching a route map?
show route-map
What command displays the measurements from an SLA operation?
show ip sla statistics
What dialer interface command uses PPP/IPCP address negotiation to acquire an IP address?
ip address negotiated
What command sets the admin distance of all EIGRP internal routes AND external routes to set numbers?
distance eigrp
How do you set the OSPF default metric?
set metric-type
What command configures PBR so that it can verify if the next hop interface is up before using it?
set ip next-hop verify-availability
How can you set a neighbor in BGP on a non-directly connected network?
neighbor neighbor-ip ebgp-multihop TTL