
Config# access-list 801 permit -1 -1 – “-1” is the same as “any” with network/host addresses.Config# access-list 801 permit 233 AA3 – source network/host then destination network/host.Config-if# ip access-group 101 out IPX STANDARD:.Config# access-list 101 permit ip any any.Config# access-list 101 deny tcp any host 133.2.23.3 eq www.sockets can be numeric or name (23 or telnet, 21 or ftp, etc)
protocols: tcp, udp, icmp, ip (no sockets then), among others
Config-if# ip access-group 10 in – also available: out IP EXTENDED:. Config# access-list 10 permit any – allows any address.
Config# access-list 10 permit host 133.2.2.2 – specifies a specific host. Config-if# ipx network 222 encapsulation sap – Also Novell-Ether, SNAP, ARPA on Ethernet. Config# ipx maximum-paths 2 – Maximum equal metric paths used. Config# ip routing – Enabled by default. Config# ip default-network Net_Add – Gateway LAN network IP ROUTING:. Config# ip route 0.0.0.0 0.0.0.0Next_Hop_Add – Default route. # clear cdp counters – Clears CDP counters. # clear counters – Clears all interface counters. # clear interface Ethernet 0 – Clears counters on the specified interface. Config# ip domain-name – Domain to append to end of names CLEARING COUNTERS:. Config# ip name-server 122.22.2.2 – Location of DNS server. Config# ip domain-lookup – Tell router to lookup domain names. Config# ip host ROUTER_NAME INT_Address – Example: ip host lab-a 192.168.5.1. Config# no cdp run – Turns CDP off HOST TABLE:. Config-if# no cdp enable – Disables CDP on the interface. Config-if# cdp enable – Enables cdp on the interface. Terminal commands mac cheat sheet print out update#
Config# cdp timer 30 – Sets the update timer.The default is 60.Config# cdpholdtime 180 – Sets the time that a device remains.Config# boot system flash – Then – Config# reload CDP:.Config# boot system tftp FILENAME SERVER_IP – Example: boot system tftp 2600_ios.bin 192.168.14.2.Config# config-register 0x2102 – Boot from NVRAM BOOT SYSTEM:.Config# config-register 0x2101 – ROM boot.Config# config-register 0x2100 – ROM Monitor Mode.# clock set hh:mm:ss dd month yyyy – Example: clock set 14:35:00 25 August 2003 CHANGING THE REGISTER: Config# description THIS IS THE SOUTH ROUTER – can be entered at the Config-if level CLOCK:.Config# banner motd # TYPE MESSAGE HERE # – # can be substituted for any character, must start and finish the message DESCRIPTIONS:.
Config# terminal ipnetmask-format hexadecimal|bit-count|decimal – changes the format of subnet masks HOST NAME:. Config# terminal monitor – shows output on telnet session. Config# terminal editing – allows for enhanced editing commands. If you are unfamiliar with Cisco devices please see: Routers, Using the Cisco IOS. These commands are used on all Cisco devices running the Cisco IOS. I have had many people ask me about commands on switches and I was going to make a cheat sheet but Erik Rodriguez did such a nice job I am going to share his work Great job Erik Cisco IOS Cheat Sheet