IOS commands to do global configuration. #configure terminal (go into global config mode) hostname routersNewName (change name) prompt %h:%n%p%s (set prompt: hostname line# promptChar space) banner motd #This is the pre-login banner temporary message# banner login #This is the pre-login banner permanent message# banner exec #This is the post-login banner message# enable secret myNewPassword (secure hashed enable password) enable password myEasilyCrackedPassword (why have it: older IOS) clock timezone ZONE HOURS (e.g. EST -5 JST 9) #clock set 13:34:00 23 may 2007 (set clock in enable mode) ntp server 123.123.123.123 (enable NTP client, indicate server) cdp run (enable CDP. is default) config-register 0xhhhh (set the configuration register. 0x2102 normal IOS boot 0x2142 IOS boot but ignore NVRAM's startup-config: password recovery 0x2100 ROMMON boot: diagnostics 0x2101 RxBOOT boot: get new IOS from net snmp-server community NAME MODE (enable SNMP client. community NAME string, MODE RO/RW. Can add ACL #) #debug ip packet #debug ip icmp #debug ip routing (routing table events) #debug ip rip #debug igrp events #debug igrp transactions #undebug all (turn off all debugging) ip classless (enable classless routing, i.e. supernetting) ip route NET MASK NEXTHOP-IP (static route: use nexthop for packets going to net ip route NET MASK INT (outgoing interface on point-to-point link) ip route 0.0.0.0 0.0.0.0 ISP_IP #default route to ISP S* "candidate default" ip subnet-zero (enables use of the zero subnet. 12.X default) ip host NAME IPaddress (static hostname to IP) ip name-server IPaddress (DNS server's IP address) no ip domain-lookup (disable DNS lookup to save time) no ip source-route (disable routing of source-routed packets, i.e. packet that contains list of hops) ip default-gateway IPaddress (if routing disabled: no ip routing) ip default-network ??? alias exec s Some Cmd Here #make alias 's'