forked from andrewjkerr/security-cheatsheets
-
Notifications
You must be signed in to change notification settings - Fork 255
/
Cisco-iOS
68 lines (46 loc) · 1.1 KB
/
Cisco-iOS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#Cisco iOS - Commands
#Jose Moruno Cadima <sniferl4bs>
#Enters enable mode
enable
# Short for, configure terminal
conf t
#Configure FastEthernet 0/0
(config)# interface fa0/0
#Add ip to fa0/0
(config-if)# ip addr 0.0.0.0 255.255.255.255
#Add ip to fa0/0
(config-if)# ip addr 0.0.0.0 255.255.255.255
#Configure vty line
(config-if)# line vty 0 4
#Cisco set telnet password
(config-line)# login
#Set telnet password
(config-line)# password YOUR-PASSWORD
#Show running config loaded in memory
# show running-config
#Show sartup config
# show startup-config
#show cisco IOS version
# show version
#display open sessions
# show session
#Show network interfaces
# show ip interface
#Show detailed interface info
# show interface e0
#Show routes
# show ip route
Show access lists
# show access-lists
#Show available files
# dir file systems
#File information
# dir all-filesystems
#Show deleted files
# dir /all
#No limit on terminal output
# terminal length 0
#Copys running config to tftp server
# copy running-config tftp
#Copy startup-config to running-config
# copy running-config startup-config