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