Work in progress cheatsheet for Packet Tracer.
hostname command I must be in "Global Config Mode" so I look one section before to look up the command to enter "Global Config Mode". I then see that in order to use the configure terminal command I must be in "Privileged EXEC Mode" and to enter "Privileged EXEC Mode" I must use the command enable in "User EXEC Mode". This would give this string of commands: enable > configure terminal > hostname <hostname> ip address <ip> <subnet>, the <ip> and <subnet> part mean that in order to use this command you need to substitute information into those places.192.168.1.1 with a subnet mask of 255.255.255.0 I would fully replace both the <ip> and <subnet> sections with that information. I would end up with a command that looks like: ip address 192.168.1.1 255.255.255.0ping <ip> in order to see if a host is up.|
User EXEC Mode
|
Router> |
|
Privileged EXEC Mode
|
Router# |
|
Global Config Mode
|
Router (config)# |
|
Iterface Config Mode
|
Router (config-if)# |
|
Line Config Mode
|
Router (config-line)# |
|
Exit the current mode
|
exit |
|
Enter Privileged EXEC Mode
|
enable |
|
Enter Global Config Mode
|
configure terminal |
|
Save current config
|
copy running-config startup-config |
|
Save current config
|
write memory |
|
Show running config
|
show running-config |
|
List all interfaces
|
show ip interface brief |
|
List all interface information
|
show interface |
|
List all
show parameters |
show ? |
|
List all
debug parameters |
debug ? |
|
Enter Interface Config Mode
|
interface <interface> <port> |
|
Enable IPv6
|
ipv6 unicast-routing |
|
Set Defualt Gateway
|
ip default-gateway <gateway> |
|
Set Hostname
|
hostname <hostname> |
|
Enter Line Config Mode
|
line <line> <startport> <endport> (lines: console, vty) |
|
Enable Secret Password
|
enable secret <password> |
|
MOTD
|
banner motd #<motd># |
|
Enable Password Encryption
|
service password-encryption |
|
Add new user
|
username <username> secret <password> |
|
Enable AAA
|
aaa new-model |
|
Populate defualt AAA method list
|
aaa authentication login defualt <method> <method1> <methodN> (see methods below) |
|
Populate new AAA method list
|
aaa authentication login <list-name> <method> <method1> <methodN> (see methods below) |
|
Set max fails AAA
|
aaa local authentication maxfail <maxfail> |
enable - uses enable passwordkrb5 - uses Kerberos 5krb5-telnet - uses Kerberos 5 Telnet protocolline - uses line passwordlocal - uses local username databaselocal-case - uses local username database (case-sensitive)none - no authentication (don't do this)cache <group name> - uses cache server groupgroup radius - uses list of all RADIUS serversgroup tacacs+ - uses list of all TACACS+ servers
|
Set Static IPv4
|
ip address <ip> <subnet> |
|
Set Static IPv6
|
ipv6 address <ipv6> |
|
Set IPv6 Link Local
|
ipv6 address <ipv6> link-local |
|
Set duplex to auto
|
duplex auto |
no shutdown before exit if you wish for the interface to remain up.
|
Set password (user EXEC)
|
password <password> |
|
Enable password checking at login
|
login |
|
Enable defualt AAA list
|
login authentication default |
|
Enable AAA list
|
login authentication <list name> |
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.