
(It's just Cisco & Dell for now, since that's what I'm working with at present, more may come in the future.)
Variables are in red italics for easy recognition.
Cisco:
Checking system uptime:
Device(config)# show version
Removing a user:
Device$ enable
Device# configure terminal
Device(config)# no username beavis.butthead
Device(config)# exit
Device# wr
Device# exit
Adding a new user:
Device$ enable
Device# configure terminal
Device(config)# username beavis.butthead password Y0u'llN3v3rGu3$$ privilege 15
Device(config)# exit
Device# wr
Device# exit
Changing Enable password:
Device$ enable
Device# configure terminal
Device(config)# enable password Y0u'llN3v3rGu3$$
Device(config)# exit
Device# wr
Device# exit
Setting a Hostname:
Device$ enable
Device# configure terminal
Device(config)# hostname SW2R3
Device(config)# exit
Device# wr
Device# exit
Setting Management Port
Device$ enable
Device# configure terminal
Device(config)# interface FastEthernet1
Device(config-if)# ip address 172.23.125.x 255.255.252.0
Device(config-if)# exit
Device(config)# ip route 0.0.0.0 0.0.0.0 172.23.124.1
Device(config)# exit
Device# wr
Device# exit
Device$ enable
Device# show running-config user
Device# exit
Changing DHCP Relay
Device$ enable
Device# configure terminal
Device(config)# interface vlan 125
Device(config-if)# no ip dhcp relay address 172.16.125.10
Device(config-if)# ip dhcp relay address 172.16.125.15
Device(config-if)# show ip dhcp relay
Device(config-if)# exit
Device(config)# exit
Device# copy running-config startup-config
Save Changes
Device$ enable
Device# copy running-config startup-confg
Device# exit
Resetting a router or switch using Confreg
Running through the wizard multiple times until 0x2142 is the config, then reset seems to be the answer.
https://www.cisco.com/c/en/us/support/docs/routers/10000-series-routers/50421-config-register-use.html
Cisco Warranty Check (worked as of 13-Dec-2018)
https://cway.cisco.com/sncheck/
Tech support output (this is no joke, you get the kitchen sink)
Device# show tech-support
- To send output as a file to a tftp server
Device# show tech-support tee tftp://172.16.0.25/tech.log
Dell:
Enabling SSH, Disabling Telnet (typically switches)
Device> enable
Device# config
Device(config)# crypto key generate rsa
Device(config)# ip ssh server enable
Device(config)# exit
Removing LACP:
Device# config
Device(config)# interface gigabitethernet 0/18
Device(config)# no port-channel-protocol lacp
Device(config)# switchport
Device(config)# exit
Removing VLAN:
Device# config
Device(config)# interface vlan 123
Device(config-if)# no untagged gigabitethernet 0/18
Device(config-if)# exit
Device(config)# exit
Configuring the Management Interface
Device# config
Device(config)# interface ManagementEthernet 1/1
Device(config-if)# ip address 172.23.125.x 255.255.252.0
Device(config-if)# exit
Device(config)# management route 0.0.0.0 0.0.0.0 172.23.124.1
Device(config)# exit
Selecting a range of ports
Device(config)# interface range gigabitethernet 1/33-1/40
Save Changes
Router# copy running-config startup-config
Device# exit
Remove the SupportAssist EULA nag message
Device(config)# eula-consent support-assist accept
Retrieving Force10 Service Tag from Command Line
Device> enable
Device# show inventory
Device# show inventory
Retrieving PowerConnect Service Tag from Command Line
Device> enableDevice# show system id
Palo Alto Networks:
List of previous VPN Users
> show global-protect-gateway previous-user | match Domain-User
Restarting the processes for Global Protect
> debug software restart process rasmgr
IPv6
Subnet Cheatsheet
Y0u'llN3v3rGu3$$ is a perfect password, do you actually use it?
ReplyDeleteOnly for my banking sites ;^)
Delete