<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://beardedmaker.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Cisco_IOS</id>
		<title>Cisco IOS - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://beardedmaker.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Cisco_IOS"/>
		<link rel="alternate" type="text/html" href="https://beardedmaker.com/wiki/index.php?title=Cisco_IOS&amp;action=history"/>
		<updated>2026-04-26T15:59:21Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.27.4</generator>

	<entry>
		<id>https://beardedmaker.com/wiki/index.php?title=Cisco_IOS&amp;diff=134&amp;oldid=prev</id>
		<title>Beard: Created page with &quot;&lt;pre&gt; enable - enter privilege exec mode enable password - set password enable secret - same but encrypted copy run start - copy running-config to startup-config copy flash:/f...&quot;</title>
		<link rel="alternate" type="text/html" href="https://beardedmaker.com/wiki/index.php?title=Cisco_IOS&amp;diff=134&amp;oldid=prev"/>
				<updated>2016-02-29T21:12:05Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;pre&amp;gt; enable - enter privilege exec mode enable password - set password enable secret - same but encrypted copy run start - copy running-config to startup-config copy flash:/f...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
enable - enter privilege exec mode&lt;br /&gt;
enable password - set password&lt;br /&gt;
enable secret - same but encrypted&lt;br /&gt;
copy run start - copy running-config to startup-config&lt;br /&gt;
copy flash:/file run - copy file from flash to running-config&lt;br /&gt;
copy run tftp:&amp;lt;addr&amp;gt; - copy to another host&lt;br /&gt;
&lt;br /&gt;
erase start - erase startup-config&lt;br /&gt;
reload - reboot router&lt;br /&gt;
exit - exit mode&lt;br /&gt;
end - back to main mode&lt;br /&gt;
&lt;br /&gt;
sh run - show running-config&lt;br /&gt;
sh start - show startup-config&lt;br /&gt;
sh v - show version&lt;br /&gt;
sh hosts&lt;br /&gt;
sh ip int br - show ip interface brief&lt;br /&gt;
sh ip protocols&lt;br /&gt;
sh ip route&lt;br /&gt;
sh ip rip database&lt;br /&gt;
sh ip http server status&lt;br /&gt;
sh ip ospf &amp;lt;option&amp;gt; - see OSPF section&lt;br /&gt;
sh port-security &amp;lt;option&amp;gt; - see Switches section&lt;br /&gt;
sh cdp &amp;lt;option&amp;gt; - see CDP section&lt;br /&gt;
sh controllers &amp;lt;interface&amp;gt; - troubleshoot controllers&lt;br /&gt;
sh access-lists&lt;br /&gt;
&lt;br /&gt;
conf t - configure terminal&lt;br /&gt;
	int &amp;lt;int&amp;gt; &amp;lt;int#&amp;gt; - interface config mode&lt;br /&gt;
		description &amp;lt;description&amp;gt;&lt;br /&gt;
		no shut - bring up&lt;br /&gt;
		shut - bring down&lt;br /&gt;
		no ip add - remove ip address&lt;br /&gt;
		no ip nat - remove nat config&lt;br /&gt;
		ip add &amp;lt;address&amp;gt; &amp;lt;mask&amp;gt; - ip address&lt;br /&gt;
		ip n i - nat inside&lt;br /&gt;
		ip n o - nat outside&lt;br /&gt;
		ip subnet-zero - allow use of full ip range (dont use with legacy equipment)&lt;br /&gt;
		clock rate # - set clock rate for interface&lt;br /&gt;
		cdp enable&lt;br /&gt;
		duplex &amp;lt;option&amp;gt; - options are: auto, half, full&lt;br /&gt;
		ip access-group &amp;lt;1-99&amp;gt; &amp;lt;in/out&amp;gt; - control acl on interface&lt;br /&gt;
	int &amp;lt;int&amp;gt; &amp;lt;int#&amp;gt;.&amp;lt;vlan#&amp;gt; - configure sub-interface. interface can contain multiple vlans (ie f 0/0.1, f 0/0.10, f 0/0.20)&lt;br /&gt;
		interface with vlans should only be brought up (ie int f 0/0 -&amp;gt; no shut -&amp;gt; int f 0/0.10 -&amp;gt; &amp;lt;configurations, etc.&amp;gt;)&lt;br /&gt;
		description &amp;lt;description&amp;gt;&lt;br /&gt;
		encap dot1q &amp;lt;#&amp;gt; &amp;lt;option&amp;gt; - &amp;lt;#&amp;gt; = the vlan number which will be encapsulated by the sub-interface (ie 10 for f 0/0.10). &amp;lt;option&amp;gt; = &amp;quot;native&amp;quot; for management vlan.&lt;br /&gt;
		ip add &amp;lt;address&amp;gt; &amp;lt;mask&amp;gt; - ip address. MUST DO ENCAP FIRST&lt;br /&gt;
		ip access-group &amp;lt;acl-name or acl#&amp;gt; &amp;lt;in/out&amp;gt; - allow traffic in or out&lt;br /&gt;
	router rip&lt;br /&gt;
		net &amp;lt;address&amp;gt; - enable rip on all addresses that fall within range of address given.&lt;br /&gt;
		passive-interface f 0/0 - do not advertise on interface&lt;br /&gt;
		version &amp;lt;#&amp;gt; - use rip version 1 or 2&lt;br /&gt;
		redistribute &amp;lt;protocol&amp;gt; - use one protocol to redistribute another&lt;br /&gt;
		no auto-summary - allows discontiguous networks if using rip 2 (all routers configured)&lt;br /&gt;
		timers basic &amp;lt;update&amp;gt; &amp;lt;invalid&amp;gt; &amp;lt;holddown&amp;gt; &amp;lt;flush&amp;gt; - set timers (holddown should be [max hops in network]*[update])&lt;br /&gt;
		redistribute static - allows static default routes to propagate through rip&lt;br /&gt;
	ip r a.a.a.a b.b.b.b c.c.c.c d - static route &lt;br /&gt;
		a - destination (other router [direct] or network)&lt;br /&gt;
		b - destination prefix mask (classful!!)&lt;br /&gt;
		c - forwarding router address (next hop)&lt;br /&gt;
		d - administrative distance. lower distance used first. rip routes have 120 by default. static have 1 or 0.&lt;br /&gt;
		must add every network&lt;br /&gt;
	ip default-network &amp;lt;address&amp;gt; - advertise as default network&lt;br /&gt;
	line con 0 - config console 0&lt;br /&gt;
		logging synchronous - cleaner output&lt;br /&gt;
		password &amp;lt;password&amp;gt; - set password&lt;br /&gt;
		login - set login to ask for password&lt;br /&gt;
		exec-timeout 5 0 - automatically logout after 5 min&lt;br /&gt;
	line aux 0 - config aux 0&lt;br /&gt;
	line vty 0 4 - config connections 0 through 4&lt;br /&gt;
		password &amp;lt;password&amp;gt; - set password&lt;br /&gt;
		login - set login to ask for password&lt;br /&gt;
		transport &amp;lt;input/output&amp;gt; &amp;lt;protocol&amp;gt; - set the protocol. protocols: all, none, ssh, telnet&lt;br /&gt;
	no ip domain-lookup - eliminate annoying domain lookup&lt;br /&gt;
	banner motd # &amp;lt;message&amp;gt; # - use any symbol like a # to mark the beginning &amp;amp; ending of message. message can be multiple lines.&lt;br /&gt;
	banner login # &amp;lt;message&amp;gt; #&lt;br /&gt;
	ip host &amp;lt;hostname&amp;gt; &amp;lt;address&amp;gt; - match host name with ip address&lt;br /&gt;
	ip domain-name &amp;lt;domain-name&amp;gt; - set domain name&lt;br /&gt;
	username &amp;lt;username&amp;gt;  pass &amp;lt;password&amp;gt; - create a user with a password&lt;br /&gt;
	ip name-server &amp;lt;address&amp;gt; - define dns server&lt;br /&gt;
	ip http server - start http server&lt;br /&gt;
	boot system &amp;lt;device&amp;gt; - specify boot device for next boot&lt;br /&gt;
	config-register 0x2102 - set register to 0x2102&lt;br /&gt;
		0x2102 - normal boot&lt;br /&gt;
		0x2142 - do not load config file (password recovery)&lt;br /&gt;
		0x2101 - load rommon&lt;br /&gt;
	cdp run - enable cdp&lt;br /&gt;
&lt;br /&gt;
ROMMON:&lt;br /&gt;
	ctrl+break - hold during boot to load rommon&lt;br /&gt;
	dir flash - show contents of flash&lt;br /&gt;
	boot &amp;lt;device&amp;gt;:&amp;lt;file&amp;gt; - boot from specific file&lt;br /&gt;
	confreg 0x2102 - set config register to 0x2102&lt;br /&gt;
		0x2102 - normal boot&lt;br /&gt;
		0x2142 - do not load config file (password recovery)&lt;br /&gt;
	reset - reboot&lt;br /&gt;
	tftpdnld - download ios (must set environment variables first)&lt;br /&gt;
	tftp uses udp port 69&lt;br /&gt;
	set - finalizes all variables after they have been defined&lt;br /&gt;
	environment variables:&lt;br /&gt;
		IP-ADDRESS&lt;br /&gt;
		IP-SUBNET-MASK&lt;br /&gt;
		DEFAULT-GATEWAY&lt;br /&gt;
		TFTP-SERVER&lt;br /&gt;
		TFTP-FILE&lt;br /&gt;
&lt;br /&gt;
CDP:&lt;br /&gt;
cisco discovery protocol&lt;br /&gt;
	cdp run&lt;br /&gt;
	debug cdp packets - recieve cdp info&lt;br /&gt;
	undebug all - undo debug mode&lt;br /&gt;
	config-if&lt;br /&gt;
		cdp enable&lt;br /&gt;
&lt;br /&gt;
	sh cdp int - cdp interfaces&lt;br /&gt;
	sh cdp neighbors detail&lt;br /&gt;
	sh cdp traffic - monitor cdp&lt;br /&gt;
&lt;br /&gt;
OSPF:&lt;br /&gt;
	router ospf &amp;lt;pid&amp;gt; - pid arbitrarily assigned. interfaces do not share a pid.&lt;br /&gt;
		net &amp;lt;addr&amp;gt; &amp;lt;wildcard addr&amp;gt; &amp;lt;area&amp;gt; &amp;lt;area-id&amp;gt;&lt;br /&gt;
		log-adjacency-changes - logs when neighbor goes up or down&lt;br /&gt;
		area &amp;lt;area-id&amp;gt; auth mess - use authentication&lt;br /&gt;
		default-information originate - inject default rout into area&lt;br /&gt;
		passiv-int &amp;lt;int&amp;gt; &amp;lt;int#&amp;gt;&lt;br /&gt;
	config-if&lt;br /&gt;
		ip ospf hello-interval &amp;lt;seconds&amp;gt; - 5 is a good #&lt;br /&gt;
		ip ospf dead-interval &amp;lt;seconds&amp;gt; - always 4x hello interval&lt;br /&gt;
		ip ospf &amp;lt;pid&amp;gt; area &amp;lt;area-id&amp;gt;&lt;br /&gt;
		bandwidth &amp;lt;#&amp;gt; - not clock rate. factored into cost.&lt;br /&gt;
		ip ospf mess &amp;lt;key-id&amp;gt; md5 &amp;lt;password&amp;gt; - key-id (start at 1) arbitrary&lt;br /&gt;
		ip ospf priority &amp;lt;0-255&amp;gt; - used for elections to become designated router. default: 1. set 0 to never win. set 255 to always win. central router should win&lt;br /&gt;
&lt;br /&gt;
OSPFv3:&lt;br /&gt;
	ipv6 router ospf &amp;lt;pid&amp;gt;&lt;br /&gt;
	config-if&lt;br /&gt;
		ip ospf &amp;lt;pid&amp;gt; area &amp;lt;area-id&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&lt;br /&gt;
	sh ip ospf int&lt;br /&gt;
	sh ip ospf neighbors&lt;br /&gt;
	sh ip ospf route&lt;br /&gt;
	sh ip ospf topology&lt;br /&gt;
	sh ip ospf statistics&lt;br /&gt;
&lt;br /&gt;
EIGRP:&lt;br /&gt;
	router eigrp &amp;lt;as&amp;gt; - as = autonomous system number&lt;br /&gt;
		net &amp;lt;addr&amp;gt;&lt;br /&gt;
		no auto - no auto-summary for discontiguous networks&lt;br /&gt;
		passive &amp;lt;int&amp;gt; - specify interface to not use eigrp on&lt;br /&gt;
		redist &amp;lt;option&amp;gt; - redistribute another protocol. most commonly use &amp;quot;static&amp;quot; to redist default route specified by the &amp;quot;ip route&amp;quot; command.&lt;br /&gt;
&lt;br /&gt;
FRAME RELAY:&lt;br /&gt;
	ip cef&lt;br /&gt;
	config-if&lt;br /&gt;
		bandwidth 128000&lt;br /&gt;
		encap frame-relay&lt;br /&gt;
		no dce-terminal-timing-enable&lt;br /&gt;
		frame-relay intf-type dce&lt;br /&gt;
		frame-relay route 301 int s 0/1 103&lt;br /&gt;
		[incomplete]&lt;br /&gt;
&lt;br /&gt;
SWITCHES:&lt;br /&gt;
	usually have separate vlan for trunk line to router. ie vlan1 -&amp;gt; vlan10,20,30&lt;br /&gt;
	sh vlan&lt;br /&gt;
	sh ip int vlan &amp;lt;#&amp;gt;&lt;br /&gt;
	sh power inline&lt;br /&gt;
	sh vtp stat&lt;br /&gt;
	sh ip int port-channel&lt;br /&gt;
	sh standby&lt;br /&gt;
	sh etherchannel summary&lt;br /&gt;
			&lt;br /&gt;
	config-if&lt;br /&gt;
		switchport mode trunk - config for non-access port (to a router or switch). might produce error. just do dot1q first, then do mode trunk again.&lt;br /&gt;
		sw trunk encap dot1q - encapsulates 8021q. use on each vlan interface. required before sw mode trunk on trunk interface.&lt;br /&gt;
		sw trunk encap dot1q native - use on point-to-point vlan to the router&lt;br /&gt;
		sw mode trunk - configure interface as trunk interface (ie between switches)&lt;br /&gt;
		sw mode access - config for access ports (to hosts)&lt;br /&gt;
		sw mode dynamic - automatically config port(s). this is the default.&lt;br /&gt;
		sw access vlan &amp;lt;#&amp;gt; - set port(s) to vlan&lt;br /&gt;
		sw port-security - enable port security&lt;br /&gt;
		sw port-security mac-address &amp;lt;option&amp;gt; - set mac address security. use &amp;quot;no&amp;quot; to undo&lt;br /&gt;
			&amp;lt;mac&amp;gt; - allow this mac address&lt;br /&gt;
			sticky - remember mac address and only allow that one&lt;br /&gt;
		sw port-security maximum &amp;lt;#&amp;gt; - max number of mac addresses to remember. default 1.&lt;br /&gt;
		sw port-security violation &amp;lt;option&amp;gt; - set violation action&lt;br /&gt;
			shutdown - shutdown port&lt;br /&gt;
			restrict - alert admin&lt;br /&gt;
			protect - protect mode&lt;br /&gt;
		speed &amp;lt;speed&amp;gt; - set speed. can be 10, 100, 1000, auto (depending on interface). default: auto&lt;br /&gt;
		duplex &amp;lt;mode&amp;gt; - either full, half, or auto. non-auto requires speed to be set non-auto. (default: auto).&lt;br /&gt;
		no switchport - disables access layer on interface. use on ports attached to routers&lt;br /&gt;
&lt;br /&gt;
		spanning-tree vlan &amp;lt;#&amp;gt; priority &amp;lt;p#&amp;gt; - lowest = root switch, ie vlan 1 should be lower. default priority 32768. increments of 4096.&lt;br /&gt;
		int f 0/1&lt;br /&gt;
		int range f 0/1 - 5&lt;br /&gt;
		ip default-gateway &amp;lt;addr&amp;gt; - address of attached router (vlan 1). if using hot standby, use the standby address&lt;br /&gt;
		int vlan &amp;lt;#&amp;gt; - create/configure vlan.&lt;br /&gt;
		ip routing - enable layer 3 routing. must use 'no switchport' on each interface to make layer 3.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	EXAMPLE (TRUNK PORT TO ROUTER):&lt;br /&gt;
		ip default-gateway 10.1.1.1&lt;br /&gt;
		int f 0/24&lt;br /&gt;
		sw mode trunk&lt;br /&gt;
		int vlan 1&lt;br /&gt;
		ip add 10.1.1.2 255.255.255.252&lt;br /&gt;
		no shut&lt;br /&gt;
&lt;br /&gt;
	EXAMPLE (ACCESS PORTS):&lt;br /&gt;
		int vlan 10&lt;br /&gt;
		int range f 0/1 - 20&lt;br /&gt;
		sw access vlan 10&lt;br /&gt;
		sw mode access&lt;br /&gt;
&lt;br /&gt;
	HOT STANDBY:&lt;br /&gt;
		int vlan &amp;lt;#&amp;gt;&lt;br /&gt;
			standby &amp;lt;group#&amp;gt; ip &amp;lt;addr&amp;gt; - dedicate an address within each subnet to be the standby. configure standby ip address for each vlan on a distribution switch.&lt;br /&gt;
			standby &amp;lt;group#&amp;gt; priority &amp;lt;#&amp;gt; - make priority same for all if not sure&lt;br /&gt;
			standby &amp;lt;group#&amp;gt; preempt - tells it to choose the most available standby.&lt;br /&gt;
		conf t&lt;br /&gt;
			vlan &amp;lt;#&amp;gt; - updates vlan.dat file.&lt;br /&gt;
&lt;br /&gt;
	DHCP FORWARDING:&lt;br /&gt;
		int vlan &amp;lt;#&amp;gt;&lt;br /&gt;
			ip helper-address &amp;lt;addr&amp;gt; - use address of the dhcp server&lt;br /&gt;
&lt;br /&gt;
	TRUNKING:&lt;br /&gt;
		no switchport - disables access layer on interface. use on ports attached to routers&lt;br /&gt;
		ip routing - enable layer 3 routing&lt;br /&gt;
&lt;br /&gt;
	line vty 0 15&lt;br /&gt;
&lt;br /&gt;
	clear mac - clear mac address table&lt;br /&gt;
	clear man d - clear only dynamic&lt;br /&gt;
&lt;br /&gt;
	sh port-security - show port security statistics&lt;br /&gt;
	sh port-security address - show port security table&lt;br /&gt;
	sh port-security int &amp;lt;int&amp;gt; &amp;lt;int#&amp;gt; - show port security for interface&lt;br /&gt;
	sh vlan br&lt;br /&gt;
	sh vtp status&lt;br /&gt;
	sh mac - mac address table&lt;br /&gt;
&lt;br /&gt;
	return to default:&lt;br /&gt;
		must delete files vlan.dat and startup-config on flash&lt;br /&gt;
		sh flash - see files on flash&lt;br /&gt;
		sw delete vlan.dat&lt;br /&gt;
		erase startup-config&lt;br /&gt;
&lt;br /&gt;
	VOICE/VOIP:&lt;br /&gt;
		Router:&lt;br /&gt;
			config&lt;br /&gt;
				int lo 0&lt;br /&gt;
				ip add &amp;lt;address&amp;gt; &amp;lt;mask&amp;gt;&lt;br /&gt;
				no shut&lt;br /&gt;
				exit&lt;br /&gt;
&lt;br /&gt;
				telephony-service setup - goes through wizard. (dhcp: no, voicemail: no, DID: no, CME address: router loopback, num of phones: 2, multi-line: no, skinny port: default, 1st extension: 301)&lt;br /&gt;
				no telephony-service - resets tele config&lt;br /&gt;
&lt;br /&gt;
				tele-service can also be put on a stubby server on the voice vlan. configure the &amp;quot;server&amp;quot; Fa interface as an address on the voice subnet, and do: sw access vlan &amp;lt;Voice-vlan#&amp;gt; on the switch port.&lt;br /&gt;
				&lt;br /&gt;
		Switch:&lt;br /&gt;
			config&lt;br /&gt;
				int vlan 6&lt;br /&gt;
				ip add &amp;lt;addr&amp;gt; &amp;lt;mask&amp;gt;&lt;br /&gt;
				ip helper &amp;lt;DHCPserver addr&amp;gt;&lt;br /&gt;
				&lt;br /&gt;
				int range f 0/23 - 24&lt;br /&gt;
				sw access vlan 3 - must be different from voice vlan on phone ports!!!&lt;br /&gt;
				sw voice vlan 6&lt;br /&gt;
				&lt;br /&gt;
		DHCP server:&lt;br /&gt;
			dhcp server needs to be set up with option 150, which serves the address for the TFTP server (usually same as call manager).&lt;br /&gt;
&lt;br /&gt;
	VTP:&lt;br /&gt;
		DSW config&lt;br /&gt;
			vtp domain &amp;lt;VTPdomain&amp;gt;&lt;br /&gt;
			vtp mode server&lt;br /&gt;
			vtp password &amp;lt;pass&amp;gt; - must be same on all servers/clients&lt;br /&gt;
&lt;br /&gt;
		ASW config&lt;br /&gt;
			vtp domain &amp;lt;VTPdomain&amp;gt;&lt;br /&gt;
			vtp mode client&lt;br /&gt;
			vtp password &amp;lt;pass&amp;gt; - must be same on all servers/clients&lt;br /&gt;
			&lt;br /&gt;
&lt;br /&gt;
	CHANNEL-GROUP:&lt;br /&gt;
		int range f 0/1 - 2&lt;br /&gt;
			channel-group 1 mode desirable&lt;br /&gt;
		int port-channel 1&lt;br /&gt;
			sw trunk encap dot&lt;br /&gt;
			sw mode trunk&lt;br /&gt;
			shut - may need to &amp;quot;flap&amp;quot; interface&lt;br /&gt;
			no shut&lt;br /&gt;
			&lt;br /&gt;
		ASA:&lt;br /&gt;
	int vlan 1&lt;br /&gt;
	nameif &amp;lt;arbitrary name of int&amp;gt; (ie inside)&lt;br /&gt;
	ip add x.x.x.x x.x.x.x&lt;br /&gt;
	no shut&lt;br /&gt;
	&lt;br /&gt;
	int e 0/0&lt;br /&gt;
	sw mode access&lt;br /&gt;
	sw access vlan 1&lt;br /&gt;
	no shut&lt;br /&gt;
&lt;br /&gt;
	http server enable&lt;br /&gt;
	http &amp;lt;net-address&amp;gt; &amp;lt;mask&amp;gt; &amp;lt;arbitrary name of int&amp;gt; (ie inside)&lt;br /&gt;
&lt;br /&gt;
ACL:&lt;br /&gt;
	sh access-lists&lt;br /&gt;
	access-list &amp;lt;1-99,100-199&amp;gt; &amp;lt;permit/deny&amp;gt; &amp;lt;protocol&amp;gt; host (&amp;lt;source address&amp;gt; &amp;lt;wildcard mask&amp;gt;) host (&amp;lt;destination address&amp;gt; &amp;lt;wildcard mask&amp;gt;) eq &amp;lt;port&amp;gt; - make acl rule&lt;br /&gt;
		acl list has an implicit deny all at the end&lt;br /&gt;
		list in order from allow to deny. ie first rules given are higher priority.&lt;br /&gt;
		1-99 - standard acl #&lt;br /&gt;
		100-199 - extended acl #&lt;br /&gt;
		protocol - tcp, udp, ip, icmp&lt;br /&gt;
		host - use if specifying single host&lt;br /&gt;
		address - network address&lt;br /&gt;
		wildcard mask - bits which will be wildcard in network address, ie 0.0.3.255&lt;br /&gt;
		any - replace anything to include all possibilities&lt;br /&gt;
		eq &amp;lt;port&amp;gt; - specify port/protocol&lt;br /&gt;
	access-list &amp;lt;1-99,100-199&amp;gt; remark &amp;lt;comment&amp;gt; - leave comment for acl rule&lt;br /&gt;
&lt;br /&gt;
	config-if&lt;br /&gt;
		ip access-group &amp;lt;1-99,100-199&amp;gt; &amp;lt;in/out&amp;gt; - control acl on interface&lt;br /&gt;
&lt;br /&gt;
	EXAMPLES:&lt;br /&gt;
		access-list 100 deny tcp any any eq telnet - deny telnet&lt;br /&gt;
&lt;br /&gt;
SSH:&lt;br /&gt;
	hostname &amp;lt;hostname&amp;gt;&lt;br /&gt;
	ip domain-name &amp;lt;domain-name&amp;gt;&lt;br /&gt;
	username &amp;lt;username&amp;gt; priv 15 secret &amp;lt;password&amp;gt; - priv 15 is the highest&lt;br /&gt;
&lt;br /&gt;
	crypto key gen rsa - when prompted, use 768 or higher for ssh v2 compatibility&lt;br /&gt;
	ip ssh version 2 - use version 2&lt;br /&gt;
	line vty 0 4&lt;br /&gt;
		trans input ssh&lt;br /&gt;
		password &amp;lt;password&amp;gt; - the vty password is used to login&lt;br /&gt;
		login local - allow vty to use local users&lt;br /&gt;
&lt;br /&gt;
	ip ssh auth &amp;lt;0-5&amp;gt; - number of authentication retries&lt;br /&gt;
	ip ssh time &amp;lt;1-120&amp;gt; - ssh timeout in seconds&lt;br /&gt;
&lt;br /&gt;
	ssh -l &amp;lt;username&amp;gt; &amp;lt;host&amp;gt; - ssh into another host&lt;br /&gt;
&lt;br /&gt;
TELNET:&lt;br /&gt;
	ctrl+shift+6, then x - suspend telnet session (while in telnet)&lt;br /&gt;
	sh sessions - show current sessions&lt;br /&gt;
	resume &amp;lt;#&amp;gt; - resume telnet session #&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Beard</name></author>	</entry>

	</feed>