cmdref.net - Cheat Sheet and Example

cmdref.net is command references/cheat sheets/examples for system engineers.

User Tools

Site Tools


Sidebar








Etc


Reference














.

Action disabled: backlink
hardware:cisco:index.html



Hardware

Cisco IOS, NX-OS CLI Commands

Corporate Site

Cisco IOS, NX-OS Command

Basic

Basic Operation #show ip route | i 192
Check Commands
Configuration Host# ter len 0
Host# terminal length 0
Host# sh run
Host(config)# do sh run
Host(config)# do sh run int Gi1/0/1
Save Configuration
Host#copy running-config startup-config
Backup Configuration to TFTP Server
Host# copy running-config tftp://192.168.0.10/conf/aaa01-rt/aaa01-rt_20131115.txt
Host#copy startup-config tftp://192.168.0.10/conf/test-l2/test-l2_20151010.txt vrf VRFNAME

System Management

BASIC SETTING paasword, hostname
Host(config)# no ip domain-lookup
Host# terminal length 0
Login User and Password
(SSH, RADIUS)
RADIUS
Interface Host#sh int status | i xxx

How to configure an interface to default settings
Host(config)# default interface gi3/0/37
TIME
LOGGING switch#show logging
SNMP
DHCP

LAN Switching

MAC address Switch#show arp
Switch#show mac-address-table
VLAN switch# show vlan brief
Access Port
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 10
Trunk Port
Switch(config-if)# switchport trunk encapsulation dot1q
Switch(config-if)# switchport mode trunk
Switch(config-if)# switchport nonegotiate

Switch(config-if)# switchport trunk allowed vlan add VLAN_NO
EtherChannel Switch# show etherchannel summary
Stack Switch>show switch
SPAN & RSPAN (Switched Port Analyzer : mirror port)
STP
RSTP

IP Routing

ACL Router(config)#show ip access-list
NAT Router#show ip nat translations
PAT
Static Route Router#show ip route
Router# show ip route vrf all
Router#traceroute IPADDRESS ←- to stop [Ctrl]+[Shift]+[6]
RIP
OSPF
EIGRP (Cisco Protocol)
BGP router# show ip bgp
HSRP, MHSRP
(Cisco Protocol)
Router# show standby brief
VRRP
VRF Router# show ip interface brief vrf all
Router# show ip route vrf all




References




hardware/cisco/index.html.txt · Last modified: 2018/11/16 by admin