CCNP Commands Flashcards
BGP | Enters address family configuration mode to configure a BGP session using standard IPv6 address prefixes. Use this command in router configuration mode.
address-family{ipv4|ipv6}
BGP | Clears all BGP sessions. Use this command in privileged exec mode.Do notuse this command on a live production network.
clear ip bgp *
BGP | Enables BGP event debugging.
debug ip bgp events
BGP | Resets the IPv6 BGP session for all IPv6 unicast address prefixes.
clear ip bgp ipv6 unicast *
BGP | Displays debugging messages for IPv6 BGP update packets for IPv6 unicast address prefixes.
debug ip bgp ipv6 unicast updates
BGP | Enables the BGP update debugging option.
debug ip bgp updates
BGP | Enables the information exchange with a specified BGP neighbor. Use this command in address family or BGP router configuration mode.
neighbor{ip-address|peer-group-name}activate
BGP | Specifies a BGP neighbor. Enter this command in BGP router configuration mode.
neighbor{ip-address|peer-group-name}remote-asas-number
BGP | Enables a BGP routing process, which places the router in router configuration mode. Issue this command in global configuration mode.
router bgpasn-number
BGP | Displays the entries in the BGP routing table.
show ip bgp
BGP | Displays the BGP routing table.
show ip bgp[ipv4|ipv6]unicast
BGP | Displays the summary of entries in the BGP routing table.
show{ip} bgp[ipv4|ipv6]unicast summary
BGP | Displays information about BGP connections to neighbors.
show ip bgp neighbors
BGP | Displays prefixes that are being advertised to the specified BGP neighbor.
show ip bgp neighborip-addressadvertised-routes
BGP | Displays prefixes that are received from the specified BGP neighbor.
show ip bgp neighborip-addressreceived-routes
BGP | Displays the status of all BGP connections.
show ip bgp summary
DHCP | Deletes an automatic address binding from the DHCP server database.
clear ip dhcp binding{ip-address|*}
DHCP | Enables DHCP client activities debugging and displays the DHCP packets status.
debug dhcp
DHCP | Enables DHCP server debugging for reporting server events, such as address assignments, lease expirations, etc.
debug ip dhcp server events
DHCP | Enables DHCP server debugging for decoding DHCP receptions and transmissions.
debug ip dhcp server packet
DHCP | Configures the DNS server address that is then forwarded to the DHCP clients in the DHCP pool. Use this command in DHCP pool configuration mode.
dns-serverip-address
DHCP | Configures the interface to acquire an IP address from DHCP. Use this command in interface configuration mode.
ip address dhcp
DHCP | Enters DHCP pool configuration mode.
ip dhcp poolpool-name
DHCP | Enables DHCP snooping globally. Enter the command in global configuration mode.
ip dhcp snooping
DHCP | Marks the port as trusted for the DHCP snooping process. If DHCP snooping is enabled, and if you do not mark the port as trusted, then DHCP messages will not be allowed on the port. Use this command in interface configuration mode.
ip dhcp snooping trust
Enables DHCP snooping for a specified VLAN. Enter the command in global configuration mode. You need to also configure DHCP snooping globally in order to make per-VLAN DHCP snooping work.
ip dhcp snooping vlanvlan
DHCP | Enables the DHCP broadcast to be forwarded as unicast to the configured DHCP server. Use this command in interface configuration mode.
ip helper-addressip-address
DHCP | Releases a DHCP lease for the specified interface and deconfigures the IP address for the interface. Enter this command in privileged EXEC mode.
release dhcpinterface slot/number
DHCP | Forces the renewal or rebinds of the lease for the specified interface. Enter the command in privileged EXEC mode.
renew dhcpinterface slot/number
DHCP | Displays address assignment bindings on a DHCP server.
show ip dhcp binding
DHCP | Displays address conflicts that are found by a DHCP server.
show ip dhcp conflict
DHCP | Shows the DHCP snooping configuration
show ip dhcp snooping
EIGRP | Starts the EIGRP instance for the named EIGRP configuration. Use this command in the named EIGRP configuration mode.
address-family ipv4 unicast autonomous-systemas-number
EIGRP | Restores the default behavior of automatic summarization of subnet routes into network-level routes. Use this command in router EIGRP configuration mode.
auto-summary
EIGRP | Enables EIGRP packet debugging.
debug eigrp packets
EIGRP | Enables EIGRP debugging.
debug[ip|ipv6]eigrp
EIGRP | Configures the default metric for the EIGRP process. The bandwidth is the minimum bandwidth of the route in kilobytes per second. It can be from 1 to 4,294,967,295. Delay is route delay in tens of microseconds. It can be 1 or any positive number that is a multiple of 39.1 nanoseconds. Reliability is the likelihood of successful packet transmission that is expressed as a number from 0 through 255. The value 255 means 100 percent reliability; the value 0 means no reliability. Loading is the effective bandwidth of the route that is expressed as a number from 1 to 255 (255 is 100 percent loading). MTU is the smallest allowed value for the MTU, which is expressed in bytes. It can be from 1 to 65,535.
default-metricbandwidth delay reliability loading mtu
EIGRP | Configures a remote router as an EIGRP stub router. Additional parameters configure which types of routes should be advertised. Use this command in router EIGRP configuration mode.
eigrp stub[receive-only|connected|static|summary|redistributed]
EIGRP | Summarizes EIGRP advertisements. Use command in interface configuration mode.
ip summary-address eigrpas-numberip-addresssubnet-mask
EIGRP | Indirectly activates interfaces to be part of EIGRP routing process. Use this command in router EIGRP configuration mode.
networknetwork[wildcard]
EIGRP | Configures the EIGRP process with a specified AS number or virtual-instance name. AS number is used as a tag for routing information, and it must match between routers in order for them to become EIGRP neighbors.
router eigrp{as-number|name}
EIGRP | Displays the EIGRP event log.
show[ip|ipv6]eigrp[as-number]events
EIGRP | Displays information about interfaces that are configured for the EIGRP.
show[ip|ipv6]eigrp interfaces
EIGRP | Displays neighbors that are discovered by the EIGRP
show[ip|ipv6]eigrp neighbors
EIGRP | Shows the detailed status of EIGRP adjacencies.
show[ip|ipv6]eigrp neighborsdetail
EIGRP | Displays EIGRP topology table entries.
show[ip|ipv6]eigrp topology
EIGRP | Configures an EIGRP process to route IP traffic under the specified topology instance. Use this command in address-family configuration mode.
topology base
EtherChannel | Assigns and configures an EtherChannel interface to an EtherChannel group. Use this command in interface or interface-range configuration mode.
channel-groupchannel-group-numbermode[active|on|auto|passive|desirable]
EtherChannel | Displays EtherChannel summary information per channel group.
show etherchannel summary
EtherChannel | Displays detailed EtherChannel information for specified group.
show etherchannelchannel-groupdetail
General | Enables CDP on the interface. Use this command in interface configuration mode. By default on Cisco devices, CDP is enabled on all interfaces.
cdp enable
General | Enables CDP on the device, thus enabling it on all interfaces. Use this command in global configuration mode. On Cisco devices, CDP is enabled by default.
cdp run
General | Clears mapping for a specified IP address from the ARP table. Use this command in privileged EXEC mode.
clear ip arpip-address
General | Uses the Contextual Configuration Diff utility to apply the difference from the source file configuration to the running configuration immediately or at a given time.
configure replacesource-file{nolock|list|force|ignorecase|timeminutes|revert trigger}
General | Enters global configuration mode.
configure terminal
General | Merges the configurations and preserves all the commands from both the source file and the current running configuration.
copysource-filerunning-config
General | Saves the current configuration to the startup configuration. After router reloads, the current configuration will still be there.
copy running-config startup-config
General | Displays information on ICMP transactions.
debug ip icmp
General | Enters privileged EXEC mode.
enable
General | Moves you from any configuration submode back into privileged EXEC mode.
end
General | Exits current configuration (sub)mode.
exit
General | Enters interface configuration mode for the specified interface.
interfaceinterface slot/number
General | Enters interface configuration mode for the specified range of interfaces.
interface rangeinterface slot/number - number
General | Configures an interface with the specified IP address. Use command in interface configuration mode.
ip addressip-address subnet-mask
General | Defines an IP address that is used as the default gateway for the device.
ip default-gatewayip-address
General | Defines an IP address that is used as the default network for the device.
ip default-networkip-address
General | Defines an IP address of one or more name servers.
ip name-serverip-address{ip-address, …}
General | Enables IPv6 on the interface. Use this command in interface configuration mode.
ipv6 enable
General | Performs an ICMP connectivity test to the specified IPv4 or IPv6 address. Optionally, you can specify an interface that ping uses for the source IP address.
pingip-address{source[ip-address|interface slot/number]}
General | Schedules a reload of the software to take effect in specified time.
reload[in|at] [hh:mm] {reload-reason}
General | Displays ARP information.
show arp
General | Displays information about neighboring devices discovered using CDP.
show cdp neighbors
General | Displays Layer 1 and 2 properties of the specified interface.
show interfaceinterface slot/number
General | Displays configured descriptions on interfaces.
show interfaces description
General | Displays error-disabled interfaces.
show interfaces status err-disabled
General | Displays IP information of the specified interface.
show ip interfaceinterface slot/number
General | Displays global LLDP information, such as the frequency of transmissions, the hold time for packets being sent, and the delay time for LLDP to initialize on an interface.
show lldp
General | Displays information about neighboring devices that are discovered using LLDP.
show lldp neighbors
General | Displays the MAC address table.
show mac address-table
General | Displays the running configuration.
show running-config
General | Displays the startup configuration.
show startup-config
General | Shuts down the interface. Use this command in interface configuration mode. To bring up the interface, use this command with thenoin front.
shutdown
General | Discovers the routes that packets will take when traveling to the destination address.
tracerouteip-address
GLBP | Sets a virtual IP address for the specified GLBP group.
glbpgroup-number[ip|ipv6]virtual-ip
GLBP | Displays GLBP information in a summarized form.
show glbp brief
GLBP | Displays the GLBP status. Filter it per interface to display only relevant information.
show glbp[interface slot/number]
HSRP | Enables HSRP events debugging.
debug standby events