CLI Cisco

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

-----SECURITY-----

service password-encryption
security password min-length 8
login block-for 120 attempts 3 within 60
line vty 0 4
exec-timeout 10
-----SSH-----
ip domain-name span.com
crypto key generate rsa general-keys modulus 1024
username Bob secret cisco
line vty 0 4
login local
transport input ssh
-----SHOW-----
show ip int brief
show arp
show run
show version
show protocol
show cdp neighbors #detail
-----VLAN-----
show vlan [brief]
show interfaces switchport
ping
show interfaces trunk
show interfaces switchport
show ip interface brief
show interfaces
-----EtherChannel-----
show interfaces port-channel
show etherchannel summary
show etherchannel port-channel
show interfaces etherchannel
-----DHCP-----
show running-config | section dhcp
show ip dhcp binding
show ip dhcp server statistics
-----IPV6-----
show ipv6 interface
ipv6 unicast-routing
show ipv6 interface g0/0/1 | section joined
-----DHCPV6-----
STATELESS DHCP:
ipv6 unicast-routing//ipv6 dhcp pool IPV6-STATELESS//dns-server
2001:db8:acad:1::254//
domain-name example.com//interface GigabitEthernet0/0/1//ipv6 nd other-config-
flag//
ipv6 dhcp server IPV6-STATELESS//
STATELESS CLIENT:
ipv6 unicast-routing//interface g0/0/1//ipv6 enable//ipv6 address autoconfig
STATEFUL DHCP:
ipv6 unicast-routing//ipv6 dhcp pool IPV6-STATEFUL//address prefix
2001:db8:acad:1::/64//
dns-server 2001:4860:4860::8888//domain-name example.com//ipv6 nd managed-config-
flag//
ipv6 nd prefix default no-autoconfig//ipv6 dhcp server IPV6-STATEFUL
STATEFUL CLIENT:
ipv6 unicast-routing//interface g0/0/1//ipv6 enable//ipv6 address dhcp
VERIFICATION:
show ipv6 dhcp pool
show ipv6 dhcp binding

You might also like