<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-953358749295101840</id><updated>2025-10-23T11:34:05.018-05:00</updated><title type='text'>My CCIE by Adrian Brayton</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://adrian-brayton.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://adrian-brayton.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>AMB</name><uri>http://www.blogger.com/profile/06504823466333018705</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>58</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-953358749295101840.post-4698607651654652542</id><published>2013-04-16T23:58:00.001-05:00</published><updated>2019-11-28T22:19:43.147-06:00</updated><title type='text'>Console Into A Cisco Device Using Linux</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
If you are using some flavor of Linux and find yourself needing to console into a Cisco device using a USB / Serial adapter, here is one way to do this.&lt;br /&gt;
&lt;br /&gt;
You will need to install a program called &lt;b&gt;screen&lt;/b&gt; if you don&#39;t already have it on your Linux box. It&#39;s easy, quick and free so lets get started.&lt;br /&gt;
&lt;br /&gt;
The name of your linux box will be different of course but the command you need will be the same.&lt;br /&gt;
&lt;br /&gt;
abrayton@Home-Mint ~ $ &lt;b&gt;sudo apt-get install screen&lt;/b&gt;&lt;br /&gt;
[sudo] password for abrayton:&lt;br /&gt;
&lt;br /&gt;
Now that has been installed, lets find your USB Console cable.&lt;br /&gt;
&lt;br /&gt;
abrayton@Home-Mint ~ $ dmesg | grep tty&lt;br /&gt;
[ &amp;nbsp; &amp;nbsp;0.000000] console [tty0] enabled&lt;br /&gt;
[ &amp;nbsp; &amp;nbsp;0.432406] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A&lt;br /&gt;
[ &amp;nbsp; &amp;nbsp;0.453385] 00:03: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A&lt;br /&gt;
&lt;b&gt;[ &amp;nbsp; &amp;nbsp;2.397087] usb 1-1.4: &amp;gt;MCT U232 converter now attached to ttyUSB0&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
We can see it in the last line of output just above in bold&amp;nbsp;lettering.&lt;br /&gt;
&lt;br /&gt;
So far so good!&lt;br /&gt;
&lt;br /&gt;
Disclaimer: I needed to open the TTY line as ROOT, your system might be set up a little different so you can try it without root if you would like but below is using root.&lt;br /&gt;
&lt;br /&gt;
Just below is the command to use and a little explanation to go with it.&lt;br /&gt;
&lt;br /&gt;
abrayton@Home-Mint ~ $&amp;nbsp;&lt;b&gt;sudo screen /dev/ttyUSB0 9600&lt;/b&gt;&lt;br /&gt;
[sudo] password for abrayton:&lt;br /&gt;
&lt;br /&gt;
We are calling the TTY emulator with &quot; &lt;b&gt;screen&lt;/b&gt; &quot; using the &lt;b&gt;/dev/ice ttyUSB0&lt;/b&gt; and specifying the speed of the connection which we all know is 9600 bps.&lt;br /&gt;
&lt;br /&gt;
If everything went well than you should be seeing output that you can read such as what you see below.&lt;br /&gt;
&lt;br /&gt;
Press RETURN to get started.&lt;br /&gt;
&lt;br /&gt;
Home_3750G&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thats it!&lt;br /&gt;
&lt;br /&gt;
Hope this helped get you moving in the right direction!&lt;/div&gt;&lt;blockquote&gt;&lt;strike&gt;&lt;/strike&gt;&lt;/blockquote&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adrian-brayton.blogspot.com/feeds/4698607651654652542/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adrian-brayton.blogspot.com/2013/04/console-into-cisco-device-using-linux.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/4698607651654652542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/4698607651654652542'/><link rel='alternate' type='text/html' href='http://adrian-brayton.blogspot.com/2013/04/console-into-cisco-device-using-linux.html' title='Console Into A Cisco Device Using Linux'/><author><name>AMB</name><uri>http://www.blogger.com/profile/06504823466333018705</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-953358749295101840.post-6804509972377572349</id><published>2012-08-29T22:30:00.020-05:00</published><updated>2012-08-30T17:12:35.211-05:00</updated><title type='text'>Cisco WLCM ( Wireless LAN Control Module ) 2800 / 3800</title><content type='html'>This post is all about getting the Cisco WLCM initial setup completed correctly to the point where you can access the GUI and login successfully. The additional configuration needed to add AP&#39;s, apply security etc. will be contained in other posts.&lt;br /&gt;
&lt;br /&gt;
Disclaimer: The interface&#39;s used will depend on what platform / slot you place the module.&lt;br /&gt;
&lt;br /&gt;
On to the good stuff... I decided to add a quick summary / description of the interfaces being used below. Once you understand what the port is doing and going to do, it makes things much easier. (Note: The brief explanations do not cover everything that the interfaces will do, please see Cisco website if you want more information.)&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt; &lt;b&gt;&lt;u&gt;Management Interface -&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The management interface is the default interface for in-band management of the controller and connectivity to enterprise services such as AAA servers. It is also used for communications between the controller and access points. The management interface has the only consistently &quot;pingable&quot; in-band interface IP address on the controller. You can access the controller&#39;s GUI by entering the controller&#39;s management interface IP address in Internet Explorer&#39;s or Mozilla Firefox&#39;s address field.&lt;br /&gt;
For CAPWAP, the controller requires one management interface to control all inter-controller communications and one AP-manager interface to control all controller-to-access point communications, regardless of the number of ports.&lt;br /&gt;
&lt;b&gt;&lt;u&gt;&lt;br /&gt;
&lt;/u&gt;&lt;/b&gt; &lt;b&gt;&lt;u&gt;AP-Manager Interface -&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
A controller has one or more AP-manager interfaces, which are used for all Layer 3 communications between the controller and lightweight access points after the access points have joined the controller. The AP-manager IP address is used as the tunnel source for CAPWAP packets from the controller to the access point and as the destination for CAPWAP packets from the access point to the controller. The AP-manager interface communicates through any distribution system port by listening across the Layer 3 network for access point CAPWAP or LWAPP join messages to associate and communicate with as many lightweight access points as possible.&lt;br /&gt;
&lt;br /&gt;
For Cisco 4404 and WiSM Controllers, configure the AP-manager interface on all distribution system ports (1, 2, 3, and 4). For Cisco 4402 Controllers, configure the AP-manager interface on distribution system ports 1 and 2. In both cases, the static (or permanent) AP-manager interface is always assigned to distribution system port 1 and given a unique IP address. Configuring the AP-manager interface on the same VLAN or IP subnet as the management interface results in optimum access point association.&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;b&gt;&lt;u&gt;Virtual Interface -&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
The virtual interface is used to support mobility management, Dynamic Host Configuration Protocol (DHCP) relay, and embedded Layer 3 security such as guest web authentication and VPN termination. It also maintains the DNS gateway host name used by Layer 3 security and mobility managers to verify the source of certificates when Layer 3 web authorization is enabled.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Specifically, the virtual interface plays these two primary roles:&lt;/b&gt;&lt;br /&gt;
•Acts as the DHCP server placeholder for wireless clients that obtain their IP address from a DHCP server.&lt;br /&gt;
•Serves as the redirect address for the web authentication login page.&lt;br /&gt;
&lt;br /&gt;
Note: All controllers within a mobility group must be configured with the same virtual interface IP address. Otherwise, inter-controller roaming may appear to work, but the handoff does not complete, and the client loses connectivity for a period of time.&lt;br /&gt;
&lt;br /&gt;
The virtual interface IP address is used only in communications between the controller and wireless clients. It never appears as the source or destination address of a packet that goes out a distribution system port and onto the switched network. For the system to operate correctly, the virtual interface IP address must be set (it cannot be 0.0.0.0), and no other device on the network can have the same address as the virtual interface. Therefore, the virtual interface must be configured with an unassigned and unused gateway IP address. The virtual interface IP address is not pingable and should not exist in any routing table in your network. In addition, the virtual interface cannot be mapped to a backup port.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt; &lt;b&gt;&lt;u&gt;Service-Port Interface -&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The service-port interface controls communications through and is statically mapped by the system to the service port. The service port can obtain an IP address using DHCP, or it can be assigned a static IP address, but a default gateway cannot be assigned to the service-port interface. Static routes can be defined through the controller for remote network access to the service port.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt; &lt;b&gt;&lt;u&gt;Dynamic Interface -&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Dynamic interfaces, also known as VLAN interfaces, are created by users and designed to be analogous to VLANs for wireless LAN clients. A controller can support up to 512 dynamic interfaces (VLANs). Each dynamic interface is individually configured and allows separate communication streams to exist on any or all of a controller&#39;s distribution system ports. Each dynamic interface controls VLANs and other communications between controllers and all other network devices, and each acts as a DHCP relay for wireless clients associated to WLANs mapped to the interface. You can assign dynamic interfaces to distribution system ports, WLANs, the Layer 2 management interface, and the Layer 3 AP-manager interface, and you can map the dynamic interface to a backup port.&lt;br /&gt;
&lt;br /&gt;
You can configure zero, one, or multiple dynamic interfaces on a distribution system port. However, all dynamic interfaces must be on a different VLAN or IP subnet from all other interfaces configured on the port. If the port is untagged, all dynamic interfaces must be on a different IP subnet from any other interface configured on the port.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Dynamic AP Management -&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
A dynamic interface is created as a WLAN interface by default. However, any dynamic interface can be configured as an AP-manager interface, with one AP-manager interface allowed per physical port. A dynamic interface with the Dynamic AP Management option enabled is used as the tunnel source for packets from the controller to the access point and as the destination for CAPWAP packets from the access point to the controller. The dynamic interfaces for AP management must have a unique IP address and are usually configured on the same subnet as the management interface.&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
You may want to verify that the router actually recognizes the module first, just in case.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt; &lt;b&gt;Home_3825#sh inventory&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
NAME: &quot;Integrated Service Engine for Modular and Integrated Services Routers on Slot 2&quot;, DESCR: &quot;Integrated Service Engine for Modular and Integrated Services Routers&quot;&lt;br /&gt;
PID: NME-AIR-WLC8-K9 &amp;nbsp; , VID: V02 , SN: XXXXXXXX&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt; &lt;b&gt;Home_3825#show ip interface brief&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
In2/0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10.1.22.1 &amp;nbsp; &amp;nbsp; &amp;nbsp; YES manual up &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;up&lt;br /&gt;
&lt;br /&gt;
This is what the module interface will look like (In1/0 | &amp;nbsp;In2/0)&lt;br /&gt;
&lt;br /&gt;
The module in the router that I am using is configured already, well as far along as this blog will take us.&amp;nbsp;&amp;nbsp;(Your&#39;s probably wont have an IP address and it will be shut down)&lt;br /&gt;
&lt;br /&gt;
We need to log into the WLCM to start the initial configuration.&lt;br /&gt;
&lt;br /&gt;
First, we need to &lt;b&gt;give the module an IP address&lt;/b&gt; and &lt;b&gt;no shut the interface&lt;/b&gt; before we can begin our &quot;session&quot; with the module. If we try and session in with the two commands just mentioned, you will get the error below.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Home_3825#service-module integrated-Service-Engine 2/0 session&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;IP address needs to be configured on interface Integrated-Service-Engine2/0&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;span style=&quot;color: red; font-size: large;&quot;&gt;&lt;b&gt;The IP address that you give this interface will be the default-gateway IP for the additional interfaces we will be adding later so choose wisely.&lt;/b&gt;&lt;/span&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
Home_3825(config)#&lt;b&gt;inter integrated-Service-Engine 2/0&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt; Home_3825(config-if)#&lt;b&gt;ip add 10.1.22.1 255.255.255.0&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt; Home_3825(config-if)#&lt;b&gt;no shut&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Try to think of this interface just like you would any other layer 3 interface. (e.g.&amp;nbsp;GigabitEthernet0/0)&lt;br /&gt;
&lt;br /&gt;
Lets open a session into the module!&lt;br /&gt;
&lt;br /&gt;
Home_3825#service-module integrated-Service-Engine 2/0 session&lt;br /&gt;
Trying 10.1.22.1, 2130 ... Open&lt;br /&gt;
&lt;br /&gt;
Username: Cisco&lt;br /&gt;
Password: cisco&lt;br /&gt;
&lt;br /&gt;
Once you are in a session, to get back out.&lt;b&gt; ( control + shift + 6 ) X)&lt;/b&gt; If you want to permanantely back out, once your at the router interface type: &lt;b&gt;#disconnect &amp;lt; --- enter&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
We are now asked for credentials to log into the WLCM to begin working on its initial configuration. I wanted to make sure the module was reverted back to factory-default.&lt;br /&gt;
&lt;br /&gt;
User:Cisco&lt;br /&gt;
Password:cisco&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;(Cisco Controller) &amp;gt;clear config&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Are you sure you want to clear the configuration? (y/n) y&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt; &lt;b&gt;Configuration Cleared!&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;(Cisco Controller) &amp;gt;reset&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;(Cisco Controller) reset&amp;gt;system&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;The system has unsaved changes.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Would you like to save them now?&lt;/span&gt; (y/N) N&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt; &lt;b&gt;Configuration Not Saved!&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Are you sure you would like to reset the system? &lt;/span&gt;(y/N) y&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt; &lt;b&gt;System will now restart!&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;------------------------------------------&lt;/b&gt;&lt;br /&gt;
Just like anything Cisco, exit out of the configuration wizard to begin. It will present you with a different &quot;wizard&quot;, this one is the one you want plus you can&#39;t cancel out of this one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*** autoinstall must be terminated in order to run the configuration wizard.&lt;br /&gt;
&lt;br /&gt;
Would you like to terminate autoinstall? [yes]:&lt;br /&gt;
&lt;br /&gt;
System Name [Cisco_cc:cb:60] (31 characters max): &lt;b&gt;Your_clever_WLCM_name&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Enter Administrative User Name (24 characters max): &lt;b&gt;jdoe&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Enter Administrative Password (24 characters max): &lt;b&gt;password&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Re-enter Administrative Password &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; : &lt;b&gt;password&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Management Interface IP Address: 10.1.22.18&lt;br /&gt;
&lt;br /&gt;
Management Interface Netmask: 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
Management Interface Default Router: 10.1.22.1&lt;br /&gt;
&lt;br /&gt;
Management Interface VLAN Identifier (0 = untagged): 0&lt;br /&gt;
&lt;br /&gt;
Management Interface Port Num [1]: 1&lt;br /&gt;
&lt;br /&gt;
Management Interface DHCP Server IP Address: 10.1.22.18&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
AP Manager Interface IP Address: 10.1.22.19&lt;br /&gt;
&lt;br /&gt;
AP-Manager is on Management subnet, using same&lt;br /&gt;
values AP Manager Interface DHCP Server (10.1.22.18): 10.1.22.18&lt;br /&gt;
&lt;br /&gt;
Virtual Gateway IP Address: 22.22.22.22&lt;br /&gt;
&lt;br /&gt;
Mobility/RF Group Name: wlan-22-mg&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
Network Name (SSID): wlan-22&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
Configure DHCP Bridging Mode [yes][NO]: n&lt;br /&gt;
&lt;br /&gt;
Configure DHCP Bridging Mode [yes][NO]: NO&lt;br /&gt;
&lt;br /&gt;
Allow Static IP Addresses [YES][no]: no&lt;br /&gt;
&lt;br /&gt;
Configure a RADIUS Server now? [YES][no]: no&lt;br /&gt;
&lt;br /&gt;
Warning! The default WLAN security policy requires a RADIUS server.&lt;br /&gt;
Please see documentation for more details.&lt;br /&gt;
&lt;br /&gt;
Enter Country Code list (enter &#39;help&#39; for a list of countries) [US]:&lt;br /&gt;
&lt;br /&gt;
Enable 802.11b Network [YES][no]: yes&lt;br /&gt;
&lt;br /&gt;
Enable 802.11a Network [YES][no]: yes&lt;br /&gt;
&lt;br /&gt;
Enable 802.11g Network [YES][no]: yes&lt;br /&gt;
&lt;br /&gt;
Enable Auto-RF [YES][no]:&lt;br /&gt;
&lt;br /&gt;
Configure a NTP server now? [YES][no]: yes&lt;br /&gt;
&lt;br /&gt;
Enter the NTP server&#39;s IP address: 10.1.2.1&lt;br /&gt;
&lt;br /&gt;
Enter a polling interval between 3600 and 604800 secs: 604800&lt;br /&gt;
&lt;br /&gt;
Configuration correct? If yes, system will save it and reset. [yes][NO]: yes&lt;br /&gt;
&lt;br /&gt;
Configuration saved!&lt;br /&gt;
Resetting system with new configuration...&lt;br /&gt;
&lt;br /&gt;
When the module come&#39;s back up after the reboot, you should see something&amp;nbsp;similar&amp;nbsp;to this:&lt;br /&gt;
&lt;br /&gt;
(Cisco Controller) config&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And now, you should be able to type the management IP into a web browser, hit enter and see something&amp;nbsp;similar&amp;nbsp;to this:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIcUBWDFp7o1N0htyY974Zai287qA4Axtf16VlWj26pjp19zQPZq6CA7HUrPEG31CztXOxLPFql4wgmYbnoQgc1VmQ34tXOXF3BNSXhJTpffxLbjdHh2JmNBf39YJOcYDXtlesS-B_ILpL/s1600/wlcm-blog-splash.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;364&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIcUBWDFp7o1N0htyY974Zai287qA4Axtf16VlWj26pjp19zQPZq6CA7HUrPEG31CztXOxLPFql4wgmYbnoQgc1VmQ34tXOXF3BNSXhJTpffxLbjdHh2JmNBf39YJOcYDXtlesS-B_ILpL/s640/wlcm-blog-splash.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Login with the UN / PW you supplied as you were setting things up, and you are all set!&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;More to come...&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://adrian-brayton.blogspot.com/feeds/6804509972377572349/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adrian-brayton.blogspot.com/2012/08/cisco-wlcm-wireless-lan-control-module.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/6804509972377572349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/6804509972377572349'/><link rel='alternate' type='text/html' href='http://adrian-brayton.blogspot.com/2012/08/cisco-wlcm-wireless-lan-control-module.html' title='Cisco WLCM ( Wireless LAN Control Module ) 2800 / 3800'/><author><name>AMB</name><uri>http://www.blogger.com/profile/06504823466333018705</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIcUBWDFp7o1N0htyY974Zai287qA4Axtf16VlWj26pjp19zQPZq6CA7HUrPEG31CztXOxLPFql4wgmYbnoQgc1VmQ34tXOXF3BNSXhJTpffxLbjdHh2JmNBf39YJOcYDXtlesS-B_ILpL/s72-c/wlcm-blog-splash.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-953358749295101840.post-5036846587852812123</id><published>2012-03-14T17:12:00.000-05:00</published><updated>2012-03-14T17:12:01.015-05:00</updated><title type='text'>Cisco ROMMON Privilege Mode - Fixing a broken cookie.</title><content type='html'>This blog will be about ROMMON Mode on a Cisco ISR and some of the issue&#39;s that I had when I started up&amp;nbsp;one of my 2800&#39;s at home. It seems that the cookie was corrupt and the router would&amp;nbsp;not boot because it thought I had the incorrect image on the flash which was not the&amp;nbsp;case.&lt;br /&gt;
&lt;br /&gt;
So after doing a lot of searching I found out that I needed to fix the cookie and&amp;nbsp;enter&amp;nbsp;privilege&amp;nbsp;mode of ROMMON to do this. I have been working with Cisco hardware&amp;nbsp;for quite sometime and had never once heard of this little known TAC feature.&lt;br /&gt;
&lt;br /&gt;
Ok, now onto the good stuff.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;DISCLAIMER: USE AT YOUR OWN RISK |&amp;nbsp;USE AT YOUR OWN RISK |&amp;nbsp;USE AT YOUR OWN RISK&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Here is the error that I was getting when I was trying to boot up my router.&lt;br /&gt;
&lt;br /&gt;
&quot;Readonly ROMMON initialized&lt;br /&gt;
loadprog: error - Invalid image for platform&quot;&lt;br /&gt;
&lt;br /&gt;
Now to enter the privledge mode of ROMMON. You will need to find the password to get&lt;br /&gt;
in and to get this password, you will need to display the cookie in ROMMON and find&lt;br /&gt;
a site that can decipher it for you.&lt;br /&gt;
&lt;br /&gt;
This is the website that I found and kudos to this person!!&lt;br /&gt;
&lt;br /&gt;
http://ers.pp.ru/cgi-bin/priv.cgi&lt;br /&gt;
&lt;br /&gt;
Here is a partial piece of the cookie that was on my router:&lt;br /&gt;
&lt;br /&gt;
rommon 2 &amp;gt; cookie&lt;br /&gt;
&lt;br /&gt;
cookie:&lt;br /&gt;
04 ff 09 86 ff ff ff ff ff ff ff ff ff ff ff ff&lt;br /&gt;
4f 43 31 31 31 37 33 38 46 50 40 04 0c 41 07 00&lt;br /&gt;
82 49 1f fe 07 42 41 30 c0 46 03 20 00 5b 8b 05&lt;br /&gt;
88 00 00 00 00 02 04 c6 8a 49 50 4d 37 56 30 30&lt;br /&gt;
&lt;br /&gt;
Now once that you have this on your screen, go to the website mentioned above and&lt;br /&gt;
paste the entire first line into the box. It will be a 4 digit password that it&lt;br /&gt;
spits out.&lt;br /&gt;
&lt;br /&gt;
Now that you have your password, type in: priv and hit enter, input your password&lt;br /&gt;
and the outpur will be something like this.&lt;br /&gt;
&lt;br /&gt;
rommon 7 &amp;gt; priv&lt;br /&gt;
Password:&lt;br /&gt;
You now have access to the full set of monitor commands.&lt;br /&gt;
Warning: some commands will allow you to destroy your&lt;br /&gt;
configuration and/or system images and could render&lt;br /&gt;
the machine unbootable.&lt;br /&gt;
&lt;br /&gt;
Now that you are here, you will need to fix your cookie and will be a topic for&lt;br /&gt;
another blog post but what I did was boot up another router into ROMMON and grabbed&lt;br /&gt;
the cookie off of that one. (Thats probably not the best idea as it seems that the&lt;br /&gt;
MAC address&#39; for the interfaces are derived from this Hexa-Decimal cookie.)&lt;br /&gt;
&lt;br /&gt;
rommon 8 &amp;gt; ?&lt;br /&gt;
addrloop &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;walk 1 thru range of addresses&lt;br /&gt;
alias &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; set and display aliases command&lt;br /&gt;
alter &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; alter locations in memory&lt;br /&gt;
berrscan &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;scan range of addresses for bus errors&lt;br /&gt;
boot &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;boot up an external process&lt;br /&gt;
break &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; set/show/clear the breakpoint&lt;br /&gt;
call &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;call a subroutine at address with converted hex args&lt;br /&gt;
cat &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; concatenate files&lt;br /&gt;
checksum &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;checksum a block of memory&lt;br /&gt;
clrerr &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;clear the error log&lt;br /&gt;
compare &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; compare two blocks of memory&lt;br /&gt;
confreg &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; configuration register utility&lt;br /&gt;
cont &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;continue executing a downloaded image&lt;br /&gt;
context &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; display the context of a loaded image&lt;br /&gt;
cookie &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;display contents of motherboard cookie PROM in hex&lt;br /&gt;
cpu &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cpu / system information and control&lt;br /&gt;
cycles &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;excercise the hardware with all possible cycles&lt;br /&gt;
dev &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; list the device table&lt;br /&gt;
dir &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; list files in file system&lt;br /&gt;
dis &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; disassemble instruction stream&lt;br /&gt;
dnld &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;serial download a program module&lt;br /&gt;
dram &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;verify DRAM&lt;br /&gt;
dump &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;display a block of memory&lt;br /&gt;
echo &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;monitor echo command&lt;br /&gt;
errlog &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;display the error log&lt;br /&gt;
fdump &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; file dump utility&lt;br /&gt;
fill &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fill a block of memory&lt;br /&gt;
flash &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; flash services command&lt;br /&gt;
frame &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print out a selected stack frame&lt;br /&gt;
giodn &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gio ucode download&lt;br /&gt;
giopref &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; select which gio to boot next&lt;br /&gt;
gioshow &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; show the gio version&lt;br /&gt;
gt96100 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print out GT96100 registers&lt;br /&gt;
gt96100fe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print out GT96100 FE registers&lt;br /&gt;
help &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;monitor builtin command help&lt;br /&gt;
history &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; monitor command history&lt;br /&gt;
ifill &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fill a block of memory w/incrementing pattern&lt;br /&gt;
iomemset &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;set IO memory percent&lt;br /&gt;
initfs &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;re-initialize the file system access structures&lt;br /&gt;
jump &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;call a subroutine at address with argc/argv&lt;br /&gt;
launch &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;launch a downloaded image&lt;br /&gt;
leds &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;check out the error LED&lt;br /&gt;
memdebug &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;write/read/verify scope loop&lt;br /&gt;
meminfo &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; main memory information&lt;br /&gt;
memloop &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; write or read scope loop&lt;br /&gt;
memtest &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; simple memory test&lt;br /&gt;
menu &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;main diagnostic menu&lt;br /&gt;
move &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;move a block of memory&lt;br /&gt;
repeat &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;repeat a monitor command&lt;br /&gt;
reset &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; system reset&lt;br /&gt;
rommon-pref &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Select ROMMON&lt;br /&gt;
set &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; display the monitor variables&lt;br /&gt;
showmon &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; display currently selected ROM monitor&lt;br /&gt;
sleep &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; millisecond sleep command&lt;br /&gt;
speed &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; timed performance loop&lt;br /&gt;
stack &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; produce a stack trace&lt;br /&gt;
sync &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;write monitor environment to NVRAM&lt;br /&gt;
sysret &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;print out info from last system return&lt;br /&gt;
tcal &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;timer calibration test&lt;br /&gt;
tftpdnld &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;tftp image download&lt;br /&gt;
tlbdump &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; display the cpu TLB&lt;br /&gt;
tlbflush &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;flush the TLB&lt;br /&gt;
tlbmap &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;initialize a TLB mapping&lt;br /&gt;
tlbpid &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;set/display process ID number&lt;br /&gt;
tlbphy &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;search TLB for physical translation&lt;br /&gt;
tlbtest &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; test the TLB&lt;br /&gt;
tlbscan &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; scan for TLB exceptions&lt;br /&gt;
tlbvir &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;search TLB for a virtual translation&lt;br /&gt;
tscope &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;timer scope loop&lt;br /&gt;
unalias &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; unset an alias&lt;br /&gt;
unset &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; unset a monitor variable&lt;br /&gt;
watchdog &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;test watchdog rebooting of the box&lt;br /&gt;
xmodem &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;x/ymodem image download&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Now we need to enter cookie mode so type: cookie&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;This is what you will see:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
View/alter bytes of serial cookie by field --&lt;br /&gt;
Input hex byte(s) or: CR -&amp;gt; skip field; ? -&amp;gt; list values&lt;br /&gt;
&lt;br /&gt;
Now if you have a good cookie (In Hexa-Decimal), you will need to paste each line in one at a time.&lt;br /&gt;
&lt;br /&gt;
bytes 0x08-0x0F: ff ff ff ff ff ff ff ff&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;gt;&lt;br /&gt;
bytes 0x10-0x17: 4f 43 31 31 31 37 33 38&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;gt;&lt;br /&gt;
bytes 0x18-0x1F: 46 50 40 04 0c 41 07 00&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;gt;&lt;br /&gt;
bytes 0x20-0x27: 82 49 1f fe 07 42 41 30&lt;br /&gt;
&lt;br /&gt;
&amp;lt;output omitted&amp;gt;&lt;br /&gt;
&lt;br /&gt;
######################&lt;br /&gt;
&lt;br /&gt;
Here are a few more show commands:&lt;br /&gt;
&lt;br /&gt;
rommon 13 &amp;gt; menu&lt;br /&gt;
&lt;br /&gt;
Main Diagnostic Menu&lt;br /&gt;
a: alter diag flags&lt;br /&gt;
b: basic utilities&lt;br /&gt;
c: do all diags in this menu&lt;br /&gt;
d: do group of diags in this menu&lt;br /&gt;
e: monitor image checksum test&lt;br /&gt;
f: internal interrupt test&lt;br /&gt;
g: bev state test&lt;br /&gt;
h: timer interrupt test&lt;br /&gt;
i: size main memory&lt;br /&gt;
j: main memory test&lt;br /&gt;
k: aux loopback test&lt;br /&gt;
l: aux port interrupt test&lt;br /&gt;
m: cookie test&lt;br /&gt;
n: primary data cache test&lt;br /&gt;
o: secondary data cache test&lt;br /&gt;
p: tlb test&lt;br /&gt;
q: mother board reg test&lt;br /&gt;
r: gt96xx dma test&lt;br /&gt;
x: return to previous menu&lt;br /&gt;
FLAGS: Continuous OFF &amp;nbsp;Stop on error OFF &amp;nbsp;Loop on error OFF &amp;nbsp;Quiet mode OFF&lt;br /&gt;
&lt;br /&gt;
enter Main Diagnostic Menu item &amp;gt; m&lt;br /&gt;
&lt;br /&gt;
*** Warning: if power is lost or user sends break ***&lt;br /&gt;
the system will not recover until cookie content is restored.&lt;br /&gt;
&lt;br /&gt;
main board cookie test cookie out of scope, cookie number 0.&lt;br /&gt;
phase 1: cookie test with 0x5a5a pattern, main board cookie test&lt;br /&gt;
*** TLB (Load/Fetch) Exception ***&lt;br /&gt;
Access address = 0x10&lt;br /&gt;
PC = 0xbfc1efe8, Cause = 0x8, Status Reg = 0x3041e803&lt;br /&gt;
&lt;br /&gt;
enter Main Diagnostic Menu item &amp;gt; b&lt;br /&gt;
&lt;br /&gt;
Diagnostic Utilities Menu&lt;br /&gt;
a: alter memory&lt;br /&gt;
b: compare memory block&lt;br /&gt;
c: display memory&lt;br /&gt;
d: move memory block&lt;br /&gt;
e: fill memory&lt;br /&gt;
f: memory test&lt;br /&gt;
g: memory read or write loop&lt;br /&gt;
h: memory debug loop&lt;br /&gt;
i: address loop&lt;br /&gt;
j: system reset&lt;br /&gt;
k: system cold&lt;br /&gt;
l: console break interrupt test&lt;br /&gt;
m: AUX port echo test&lt;br /&gt;
n: show mother board regs&lt;br /&gt;
o: poll slots&lt;br /&gt;
p: mother board cookie utility&lt;br /&gt;
q: show GT96K registers&lt;br /&gt;
r: show NM PCI regs&lt;br /&gt;
s: PCI config write&lt;br /&gt;
t: PCI config read&lt;br /&gt;
u: show CF info&lt;br /&gt;
x: return to previous menu&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Now if you have done everything correct, type the (3) commands below and it should boot up just fine.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
rommon 8 &amp;gt; initfs&lt;br /&gt;
rommon 9 &amp;gt; sync&lt;br /&gt;
rommon 10 &amp;gt; reset&lt;br /&gt;
&lt;br /&gt;
System Bootstrap, Version 12.4(13r)T, RELEASE SOFTWARE (fc1)&lt;br /&gt;
Technical Support: http://www.cisco.com/techsupport&lt;br /&gt;
Copyright (c) 2006 by cisco Systems, Inc.&lt;br /&gt;
PLD version 0x10&lt;br /&gt;
GIO ASIC version 0x127&lt;br /&gt;
c2801 platform with 262144 Kbytes of main memory&lt;br /&gt;
Main memory is configured to 64 bit mode with parity disabled&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Readonly ROMMON initialized&lt;br /&gt;
program load complete, entry point: 0x8000f000, size: 0xcb80&lt;br /&gt;
program load complete, entry point: 0x8000f000, size: 0xcb80&lt;br /&gt;
&lt;br /&gt;
program load complete, entry point: 0x8000f000, size: 0x2fb6af8&lt;br /&gt;
Self decompressing the image :&lt;br /&gt;
####################################################################################&lt;br /&gt;
####################################################################################&lt;br /&gt;
####################################################################################&lt;br /&gt;
############# [OK]&lt;br /&gt;
&lt;br /&gt;
Smart Init is enabled&lt;br /&gt;
smart init is sizing iomem&lt;br /&gt;
&amp;nbsp; ID &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MEMORY_REQ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0X003AA110 public buffer pools&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0X00211000 public particle pools&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0X00020000 Crypto module pools&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0X00120000 VPM buffer pools&lt;br /&gt;
0X0012 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0X00035000 Card in slot 1&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0X000021B8 Onboard USB&lt;br /&gt;
&lt;br /&gt;
If any of the above Memory Requirements are&lt;br /&gt;
&quot;UNKNOWN&quot;, you may be using an unsupported&lt;br /&gt;
configuration or there is a software problem and&lt;br /&gt;
system operation may be compromised.&lt;br /&gt;
&lt;br /&gt;
Allocating additional 12389767 bytes to IO Memory.&lt;br /&gt;
PMem allocated: 245366784 bytes; IOMem allocated: 23068672 bytes&lt;br /&gt;
&lt;br /&gt;
Cisco IOS Software, 2801 Software (C2801-ADVENTERPRISEK9-M), Version 12.4(22)YB6,&lt;br /&gt;
RELEASE SOFTWARE (fc2)&lt;br /&gt;
Technical Support: http://www.cisco.com/techsupport&lt;br /&gt;
Copyright (c) 1986-2010 by Cisco Systems, Inc.&lt;br /&gt;
Compiled Wed 02-Jun-10 22:33 by prod_rel_team&lt;br /&gt;
&lt;br /&gt;
This product contains cryptographic features and is subject to United&lt;br /&gt;
States and local country laws governing import, export, transfer and&lt;br /&gt;
use. Delivery of Cisco cryptographic products does not imply&lt;br /&gt;
third-party authority to import, export, distribute or use encryption.&lt;br /&gt;
Importers, exporters, distributors and users are responsible for&lt;br /&gt;
compliance with U.S. and local country laws. By using this product you&lt;br /&gt;
agree to comply with applicable laws and regulations. If you are unable&lt;br /&gt;
to comply with U.S. and local laws, return this product immediately.&lt;br /&gt;
&lt;br /&gt;
A summary of U.S. laws governing Cisco cryptographic products may be found at:&lt;br /&gt;
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html&lt;br /&gt;
&lt;br /&gt;
If you require further assistance please contact us by sending email to&lt;br /&gt;
export@cisco.com.&lt;br /&gt;
&lt;br /&gt;
Installed image archive&lt;br /&gt;
Cisco 2801 (revision 6.0) with 239616K/22528K bytes of memory.&lt;br /&gt;
Processor board ID FTX1023Y0S3&lt;br /&gt;
2 FastEthernet interfaces&lt;br /&gt;
2 Serial(sync/async) interfaces&lt;br /&gt;
1 Virtual Private Network (VPN) Module&lt;br /&gt;
DRAM configuration is 64 bits wide with parity disabled.&lt;br /&gt;
191K bytes of NVRAM.&lt;br /&gt;
63984K bytes of USB Flash usbflash0 (Read/Write)&lt;br /&gt;
125440K bytes of ATA CompactFlash (Read/Write)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adrian-brayton.blogspot.com/feeds/5036846587852812123/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adrian-brayton.blogspot.com/2012/03/cisco-rommon-privilege-mode-fixing.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/5036846587852812123'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/5036846587852812123'/><link rel='alternate' type='text/html' href='http://adrian-brayton.blogspot.com/2012/03/cisco-rommon-privilege-mode-fixing.html' title='Cisco ROMMON Privilege Mode - Fixing a broken cookie.'/><author><name>AMB</name><uri>http://www.blogger.com/profile/06504823466333018705</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-953358749295101840.post-1628874146260385755</id><published>2012-01-27T16:22:00.000-06:00</published><updated>2012-01-27T16:22:20.082-06:00</updated><title type='text'>BGP Memory Usage on a Cisco ISR</title><content type='html'>Is you ever wanted to know how much memory a BGP route uses on a Cisco ISR Router, take a look at the example below.&lt;br /&gt;
__________________&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-size: large;&quot;&gt;From Cisco:&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;&lt;i&gt;&lt;b&gt;The memory consumption by BGP routes depends on the number of attributes, such as multipath support, soft reconfiguration, the number of peers, and AS_PATH etc.&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;&lt;i&gt;When the BGP router receives its neighbors&#39; full BGP routing table (98,410 routes), the router consumes approximately 71 MB. With the AS_PATH filters applied to inbound updates, the size of the BGP routing table is reduced to 31,667 routes, and the memory consumption is approximately 28 MB. This decrease in memory utilization is more than 60 percent with optimal routing.&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;__________________&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;        &lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;&lt;b&gt;&lt;i&gt;Below are (2) BGP peers with 2 static routes and no other attributes applied. You can see the first output with (1) static route and then a second static route was added.&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;r2#sh ip bgp summ&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;BGP router identifier 2.2.2.2, local AS number 2 BGP table version is 3, main routing table version 3&lt;/div&gt;&lt;div class=&quot;p2&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-size: large;&quot;&gt;1 network entries using 120 bytes of memory&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;p2&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-size: large;&quot;&gt;1 path entries using 52 bytes of memory&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;2/1 BGP path/bestpath attribute entries using 248 bytes of memory&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;1 BGP AS-PATH entries using 24 bytes of memory 0 BGP route-map cache entries using 0 bytes of memory 0 BGP filter-list cache entries using 0 bytes of memory BGP using 444 total bytes of memory BGP activity 1/0 prefixes, 1/0 paths, scan interval 60 secs&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;Neighbor&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; V&amp;nbsp;&amp;nbsp;&amp;nbsp; AS MsgRcvd MsgSent&amp;nbsp;&amp;nbsp; TblVer&amp;nbsp; InQ OutQ Up/Down&amp;nbsp; State/PfxRcd&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;10.1.1.1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 00:00:31&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;r2#sh ip bgp&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;*Mar&amp;nbsp; 1 00:06:57.475: %SYS-5-CONFIG_I: Configured from console by consolep summ BGP router identifier 2.2.2.2, local AS number 2 BGP table version is 8, main routing table version 8&lt;/div&gt;&lt;div class=&quot;p2&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-size: large;&quot;&gt;2 network entries using 240 bytes of memory&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;p2&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-size: large;&quot;&gt;2 path entries using 104 bytes of memory&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;3/3 BGP path/bestpath attribute entries using 372 bytes of memory&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;1 BGP AS-PATH entries using 24 bytes of memory 0 BGP route-map cache entries using 0 bytes of memory 0 BGP filter-list cache entries using 0 bytes of memory Bitfield cache entries: current 1 (at peak 1) using 32 bytes of memory BGP using 772 total bytes of memory BGP activity 3/0 prefixes, 3/1 paths, scan interval 60 secs&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;Neighbor&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; V&amp;nbsp;&amp;nbsp;&amp;nbsp; AS MsgRcvd MsgSent&amp;nbsp;&amp;nbsp; TblVer&amp;nbsp; InQ OutQ Up/Down&amp;nbsp; State/PfxRcd&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;10.1.1.1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 00:03:23&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.0.0.0/32 is subnetted, 1 subnets&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;S&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.1.1.1 [1/0] via 10.1.1.1&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.0.0.0/32 is subnetted, 1 subnets&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.3.3.3 is directly connected, Loopback0&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.0.0.0/32 is subnetted, 1 subnets&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;S&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.4.4.4 [1/0] via 10.1.1.1&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10.0.0.0/24 is subnetted, 1 subnets&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10.1.1.0 is directly connected, Serial0/0&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adrian-brayton.blogspot.com/feeds/1628874146260385755/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adrian-brayton.blogspot.com/2012/01/bgp-memory-usage-on-cisco-isr.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/1628874146260385755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/1628874146260385755'/><link rel='alternate' type='text/html' href='http://adrian-brayton.blogspot.com/2012/01/bgp-memory-usage-on-cisco-isr.html' title='BGP Memory Usage on a Cisco ISR'/><author><name>AMB</name><uri>http://www.blogger.com/profile/06504823466333018705</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-953358749295101840.post-6798810612765763961</id><published>2011-11-30T19:11:00.000-06:00</published><updated>2011-11-30T19:11:04.178-06:00</updated><title type='text'>Cisco Bootstrap / ROMMON Upgrade</title><content type='html'>Here we are going to upgrade the Bootstrap on a Cisco 1841 ISR but would be the same on Cisco 2800 / 3800 series.&lt;br /&gt;
&lt;br /&gt;
There really isn&#39;t a lot to it but since you will probably only do it a handful of times during your career I thought it was a worthy post.&lt;br /&gt;
&lt;br /&gt;
First things that you need to do is download the latest image from Cisco and will look something like this.&lt;br /&gt;
&lt;br /&gt;
C1841_RM2.srec.124-13r.T5&lt;br /&gt;
&lt;br /&gt;
You can check to see what revision your router is running by entering this command:&lt;br /&gt;
&lt;br /&gt;
#show version&lt;br /&gt;
&lt;br /&gt;
Look for this line in the output, it will vary depending on your device and image.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;ROM: System Bootstrap, Version 12.3(8r)T8, RELEASE SOFTWARE (fc1)&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
We are going to upgrade the current image to (124-13r)&lt;br /&gt;
&lt;br /&gt;
Once you have the file, you need to get it onto your routers flash card or put it on a USB drive.&lt;br /&gt;
&lt;br /&gt;
All you have to do is type this command and thats it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Router#upgrade rom-monitor file flash:C1841_RM2.srec.124-13r.T5&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
This command will result in a &amp;nbsp;&#39;power-on reset&#39; of the router!&lt;br /&gt;
Continue? [yes/no]: y&lt;br /&gt;
ROMMON image upgrade in progress.&lt;br /&gt;
Erasing boot flash eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee&lt;br /&gt;
Programming boot flash ppppppppppp&lt;br /&gt;
&lt;br /&gt;
Now Reloading&lt;br /&gt;
System Bootstrap, Version 12.3(8r)T8, RELEASE SOFTWARE (fc1)&lt;br /&gt;
Technical Support: http://www.cisco.com/techsupport&lt;br /&gt;
Copyright (c) 2004 by cisco Systems, Inc.&lt;br /&gt;
&lt;br /&gt;
And here we are:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;System Bootstrap, Version 12.4(13r)T5, RELEASE SOFTWARE (fc1)&lt;/b&gt;&lt;br /&gt;
Technical Support: http://www.cisco.com/techsupport&lt;br /&gt;
Copyright (c) 2007 by cisco Systems, Inc.&lt;br /&gt;
&lt;br /&gt;
Thats it for today!&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adrian-brayton.blogspot.com/feeds/6798810612765763961/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adrian-brayton.blogspot.com/2011/11/cisco-bootstrap-rommon-upgrade.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/6798810612765763961'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/6798810612765763961'/><link rel='alternate' type='text/html' href='http://adrian-brayton.blogspot.com/2011/11/cisco-bootstrap-rommon-upgrade.html' title='Cisco Bootstrap / ROMMON Upgrade'/><author><name>AMB</name><uri>http://www.blogger.com/profile/06504823466333018705</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-953358749295101840.post-1052367587536417425</id><published>2011-11-13T13:03:00.002-06:00</published><updated>2011-11-13T13:09:04.758-06:00</updated><title type='text'>ASA - ASDM</title><content type='html'>When you open the ASDM on your ASA and your tired of accepting the &quot;untrusted&quot; certificate multiple times. All you need to do is create a self-signed certificate and this will go away. I am showing (2) ways to do it, the first is through the ASDM and the second via the CLI.&lt;br /&gt;
&lt;br /&gt;
NOTE: When you create the certificate, keep in mind that all you have done is create it. When you launch the ASDM again you will still need to accept the certificates but this time they will be stored on your computer and from this point on you should no longer have to.&lt;br /&gt;
&lt;br /&gt;
All you need to do is navigate to Device Management =&amp;gt; Certificate Management =&amp;gt; Identity Certificates.&lt;br /&gt;
Just press &quot;Add&quot; and you will see something similiar to the screen shot I have attached.&lt;br /&gt;
&lt;br /&gt;
The trustpoint name &amp;amp;&amp;nbsp;Certificate Subject&amp;nbsp;will self populate but it can be anything you choose and thats it.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibC8WVKe3fOc6O3LBMFyEqtnf2oBrijEHYCTZratUtj4eTGCEcnCIrBIKQjD2VT16St1wffRTZXKOZ-3uKgyC-OKLCmbrimdqS1xB6qr5nShW3BRKvOHcFgd1E5xzSGcT9cVN_U9AiEdq4/s1600/asdm-certificate.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;341&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibC8WVKe3fOc6O3LBMFyEqtnf2oBrijEHYCTZratUtj4eTGCEcnCIrBIKQjD2VT16St1wffRTZXKOZ-3uKgyC-OKLCmbrimdqS1xB6qr5nShW3BRKvOHcFgd1E5xzSGcT9cVN_U9AiEdq4/s640/asdm-certificate.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;If you are looking to accomplish the same thing with the CLI, here is the command structure. You can also go through it with ASDM and preview the commands before there sent | Tools =&amp;gt; Preferences =&amp;gt; Communications.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;&lt;b&gt;#crypto ca trustpoint ASDM_ASA_Self_Signed &lt;br /&gt;
&lt;br /&gt;
#id-usage ssl-ipsec &lt;br /&gt;
&lt;br /&gt;
#no fqdn &lt;br /&gt;
&lt;br /&gt;
#subject-name CN=ASA1 &lt;br /&gt;
&lt;br /&gt;
#enrollment self &lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;&lt;b&gt;#crypto ca enroll ASDM_ASA_Self_Signed noconfirm  &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;b&gt;     &lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adrian-brayton.blogspot.com/feeds/1052367587536417425/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adrian-brayton.blogspot.com/2011/11/asa-asdm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/1052367587536417425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/1052367587536417425'/><link rel='alternate' type='text/html' href='http://adrian-brayton.blogspot.com/2011/11/asa-asdm.html' title='ASA - ASDM'/><author><name>AMB</name><uri>http://www.blogger.com/profile/06504823466333018705</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibC8WVKe3fOc6O3LBMFyEqtnf2oBrijEHYCTZratUtj4eTGCEcnCIrBIKQjD2VT16St1wffRTZXKOZ-3uKgyC-OKLCmbrimdqS1xB6qr5nShW3BRKvOHcFgd1E5xzSGcT9cVN_U9AiEdq4/s72-c/asdm-certificate.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-953358749295101840.post-2186556438495019586</id><published>2011-11-12T15:26:00.000-06:00</published><updated>2011-11-12T15:26:03.424-06:00</updated><title type='text'>Cisco ASA Factory Default Configuration</title><content type='html'>This post contains a few options related to a factory default configuration on a Cisco ASA 5505. The first part shows how to reset the ASA to factory default configuration from the CLI and the commands that are automatically&amp;nbsp;executed&amp;nbsp;once you press enter. The second part is just a clean, fresh from the factory configuration.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
asa2(config)# &lt;b&gt;configure factory-default&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
Based on the inside IP address and mask, the DHCP address&lt;br /&gt;
pool size is reduced to 250 from the platform limit 256&lt;br /&gt;
&lt;br /&gt;
WARNING: The boot system configuration will be cleared.&lt;br /&gt;
The first image found in disk0:/ will be used to boot the&lt;br /&gt;
system on the next reload.&lt;br /&gt;
Verify there is a valid image on disk0:/ or the system will&lt;br /&gt;
not boot.&lt;br /&gt;
&lt;br /&gt;
Begin to apply factory-default configuration:&lt;br /&gt;
Clear all configuration&lt;br /&gt;
Executing command: interface Ethernet 0/0&lt;br /&gt;
Executing command: switchport access vlan 2&lt;br /&gt;
Executing command: no shutdown&lt;br /&gt;
Executing command: exit&lt;br /&gt;
Executing command: interface Ethernet 0/1&lt;br /&gt;
Executing command: switchport access vlan 1&lt;br /&gt;
Executing command: no shutdown&lt;br /&gt;
Executing command: exit&lt;br /&gt;
Executing command: interface Ethernet 0/2&lt;br /&gt;
Executing command: switchport access vlan 1&lt;br /&gt;
Executing command: no shutdown&lt;br /&gt;
Executing command: exit&lt;br /&gt;
Executing command: interface Ethernet 0/3&lt;br /&gt;
Executing command: switchport access vlan 1&lt;br /&gt;
Executing command: no shutdown&lt;br /&gt;
Executing command: exit&lt;br /&gt;
Executing command: interface Ethernet 0/4&lt;br /&gt;
Executing command: switchport access vlan 1&lt;br /&gt;
Executing command: no shutdown&lt;br /&gt;
Executing command: exit&lt;br /&gt;
Executing command: interface Ethernet 0/5&lt;br /&gt;
Executing command: switchport access vlan 1&lt;br /&gt;
Executing command: no shutdown&lt;br /&gt;
Executing command: exit&lt;br /&gt;
Executing command: interface Ethernet 0/6&lt;br /&gt;
Executing command: switchport access vlan 1&lt;br /&gt;
Executing command: no shutdown&lt;br /&gt;
Executing command: exit&lt;br /&gt;
Executing command: interface Ethernet 0/7&lt;br /&gt;
Executing command: switchport access vlan 1&lt;br /&gt;
Executing command: no shutdown&lt;br /&gt;
Executing command: exit&lt;br /&gt;
Executing command: interface vlan2&lt;br /&gt;
Executing command: nameif outside&lt;br /&gt;
INFO: Security level for &quot;outside&quot; set to 0 by default.&lt;br /&gt;
Executing command: no shutdown&lt;br /&gt;
Executing command: ip address dhcp setroute&lt;br /&gt;
Executing command: exit&lt;br /&gt;
Executing command: interface vlan1&lt;br /&gt;
Executing command: nameif inside&lt;br /&gt;
INFO: Security level for &quot;inside&quot; set to 100 by default.&lt;br /&gt;
Executing command: ip address 192.168.1.1 255.255.255.0&lt;br /&gt;
Executing command: security-level 100&lt;br /&gt;
Executing command: allow-ssc-mgmt&lt;br /&gt;
ERROR: SSC card is not available&lt;br /&gt;
Executing command: no shutdown&lt;br /&gt;
Executing command: exit&lt;br /&gt;
Executing command: object network obj_any&lt;br /&gt;
Executing command: subnet 0.0.0.0 0.0.0.0&lt;br /&gt;
Executing command: nat (inside,outside) dynamic interface&lt;br /&gt;
Executing command: exit&lt;br /&gt;
Executing command: http server enable&lt;br /&gt;
Executing command: http 192.168.1.0 255.255.255.0 inside&lt;br /&gt;
Executing command: dhcpd address 192.168.1.5-192.168.1.254 inside&lt;br /&gt;
Executing command: dhcpd auto_config outside&lt;br /&gt;
Executing command: dhcpd enable inside&lt;br /&gt;
Executing command: logging asdm informational&lt;br /&gt;
Factory-default configuration is completed&lt;br /&gt;
ciscoasa(config)#&lt;br /&gt;
&lt;br /&gt;
_______________________&lt;br /&gt;
&lt;br /&gt;
ciscoasa# sh run&lt;br /&gt;
: Saved&lt;br /&gt;
:&lt;br /&gt;
ASA Version 8.4(1)&lt;br /&gt;
!&lt;br /&gt;
hostname ciscoasa&lt;br /&gt;
enable password mrc2YGsms0Df41/U encrypted&lt;br /&gt;
passwd 2KFQnbNIdI.2KYOU encrypted&lt;br /&gt;
names&lt;br /&gt;
!&lt;br /&gt;
interface Vlan1&lt;br /&gt;
&amp;nbsp;nameif inside&lt;br /&gt;
&amp;nbsp;security-level 100&lt;br /&gt;
&amp;nbsp;ip address 192.168.1.1 255.255.255.0&lt;br /&gt;
!&lt;br /&gt;
interface Vlan2&lt;br /&gt;
&amp;nbsp;nameif outside&lt;br /&gt;
&amp;nbsp;security-level 0&lt;br /&gt;
&amp;nbsp;ip address dhcp setroute&lt;br /&gt;
!&lt;br /&gt;
interface Ethernet0/0&lt;br /&gt;
&amp;nbsp;switchport access vlan 2&lt;br /&gt;
!&lt;br /&gt;
interface Ethernet0/1&lt;br /&gt;
!&lt;br /&gt;
interface Ethernet0/2&lt;br /&gt;
! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
interface Ethernet0/3&lt;br /&gt;
!&lt;br /&gt;
interface Ethernet0/4&lt;br /&gt;
!&lt;br /&gt;
interface Ethernet0/5&lt;br /&gt;
!&lt;br /&gt;
interface Ethernet0/6&lt;br /&gt;
!&lt;br /&gt;
interface Ethernet0/7&lt;br /&gt;
!&lt;br /&gt;
ftp mode passive&lt;br /&gt;
object network obj_any&lt;br /&gt;
&amp;nbsp;subnet 0.0.0.0 0.0.0.0&lt;br /&gt;
pager lines 24&lt;br /&gt;
logging asdm informational&lt;br /&gt;
mtu outside 1500&lt;br /&gt;
mtu inside 1500&lt;br /&gt;
icmp unreachable rate-limit 1 burst-size 1&lt;br /&gt;
no asdm history enable&lt;br /&gt;
arp timeout 14400&lt;br /&gt;
!&lt;br /&gt;
object network obj_any&lt;br /&gt;
&amp;nbsp;nat (inside,outside) dynamic interface&lt;br /&gt;
timeout xlate 3:00:00&lt;br /&gt;
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02&lt;br /&gt;
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00&lt;br /&gt;
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00&lt;br /&gt;
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute&lt;br /&gt;
timeout tcp-proxy-reassembly 0:01:00&lt;br /&gt;
dynamic-access-policy-record DfltAccessPolicy&lt;br /&gt;
http server enable&lt;br /&gt;
http 192.168.1.0 255.255.255.0 inside&lt;br /&gt;
no snmp-server location&lt;br /&gt;
no snmp-server contact&lt;br /&gt;
snmp-server enable traps snmp authentication linkup linkdown coldstart warmstart&lt;br /&gt;
telnet timeout 5&lt;br /&gt;
ssh timeout 5&lt;br /&gt;
console timeout 0&lt;br /&gt;
&lt;br /&gt;
dhcpd auto_config outside&lt;br /&gt;
!&lt;br /&gt;
dhcpd address 192.168.1.5-192.168.1.254 inside&lt;br /&gt;
dhcpd enable inside&lt;br /&gt;
!&lt;br /&gt;
threat-detection basic-threat&lt;br /&gt;
threat-detection statistics access-list&lt;br /&gt;
no threat-detection statistics tcp-intercept&lt;br /&gt;
webvpn &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
!&lt;br /&gt;
class-map inspection_default&lt;br /&gt;
&amp;nbsp;match default-inspection-traffic&lt;br /&gt;
!&lt;br /&gt;
!&lt;br /&gt;
policy-map type inspect dns preset_dns_map&lt;br /&gt;
&amp;nbsp;parameters&lt;br /&gt;
&amp;nbsp; message-length maximum client auto&lt;br /&gt;
&amp;nbsp; message-length maximum 512&lt;br /&gt;
policy-map global_policy&lt;br /&gt;
&amp;nbsp;class inspection_default&lt;br /&gt;
&amp;nbsp; inspect dns preset_dns_map&lt;br /&gt;
&amp;nbsp; inspect ftp&lt;br /&gt;
&amp;nbsp; inspect h323 h225&lt;br /&gt;
&amp;nbsp; inspect h323 ras&lt;br /&gt;
&amp;nbsp; inspect rsh&lt;br /&gt;
&amp;nbsp; inspect rtsp&lt;br /&gt;
&amp;nbsp; inspect esmtp&lt;br /&gt;
&amp;nbsp; inspect sqlnet&lt;br /&gt;
&amp;nbsp; inspect skinny &lt;br /&gt;
&amp;nbsp; inspect sunrpc&lt;br /&gt;
&amp;nbsp; inspect xdmcp&lt;br /&gt;
&amp;nbsp; inspect sip &lt;br /&gt;
&amp;nbsp; inspect netbios&lt;br /&gt;
&amp;nbsp; inspect tftp&lt;br /&gt;
&amp;nbsp; inspect ip-options&lt;br /&gt;
!&lt;br /&gt;
service-policy global_policy global&lt;br /&gt;
prompt hostname context&lt;br /&gt;
Cryptochecksum:5ee3fb383a35c98a6d5891329d759d6c&lt;br /&gt;
: end&lt;br /&gt;
ciscoasa#</content><link rel='replies' type='application/atom+xml' href='http://adrian-brayton.blogspot.com/feeds/2186556438495019586/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adrian-brayton.blogspot.com/2011/11/cisco-asa-factory-default-configuration.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/2186556438495019586'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/2186556438495019586'/><link rel='alternate' type='text/html' href='http://adrian-brayton.blogspot.com/2011/11/cisco-asa-factory-default-configuration.html' title='Cisco ASA Factory Default Configuration'/><author><name>AMB</name><uri>http://www.blogger.com/profile/06504823466333018705</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-953358749295101840.post-115576549700655710</id><published>2011-10-18T21:06:00.000-05:00</published><updated>2011-10-18T21:06:28.237-05:00</updated><title type='text'>TCL Notes - Part 2</title><content type='html'>This is an example of a simple script as well as how to run them from either the TCL shell or global exec mode. I will have an example of how to fire off a TCL script using EEM at a later date.&lt;br /&gt;
&lt;br /&gt;
Let&#39;s get started -&lt;br /&gt;
&lt;br /&gt;
The command below get&#39;s passed off to IOS because the TCL&amp;nbsp;interpreter&amp;nbsp;doesn&#39;t understand what to do with it, thus the output looks like it was from global exec. It does populate the variable &quot;mybuffer&quot; with the output seen.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2811_Home(tcl)#set mybuffer [exec &quot;show ip interface brief&quot;]&lt;br /&gt;
Load for five secs: 2%/0%; one minute: 2%; five minutes: 3%&lt;br /&gt;
Time source is NTP, 20:10:08.650 CST Tue Oct 18 2011&lt;br /&gt;
&lt;br /&gt;
Interface &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IP-Address &amp;nbsp; &amp;nbsp; &amp;nbsp;OK? Method Status &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Protocol&lt;br /&gt;
FastEthernet0/0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;192.168.1.1 &amp;nbsp; &amp;nbsp; YES NVRAM &amp;nbsp;up &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;up &amp;nbsp; &amp;nbsp; &lt;br /&gt;
FastEthernet0/1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10.1.2.1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;YES NVRAM &amp;nbsp;up &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;up &amp;nbsp; &amp;nbsp; &lt;br /&gt;
FastEthernet0/1.3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10.1.3.1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;YES NVRAM &amp;nbsp;up &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;up &amp;nbsp; &amp;nbsp; &lt;br /&gt;
Dot11Radio0/0/0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;unassigned &amp;nbsp; &amp;nbsp; &amp;nbsp;YES NVRAM &amp;nbsp;up &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;up &amp;nbsp; &amp;nbsp; &lt;br /&gt;
NVI0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 192.168.1.1 &amp;nbsp; &amp;nbsp; YES unset &amp;nbsp;up &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;up &amp;nbsp; &lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
What this script is doing is looking for the first instance of &quot;10.1.2.&quot; in the variable &quot;mybuffer&quot; which was populated by &quot;show ip interface brief&quot; command. If found, it will return the line &quot;We found my inside subnet 10.1.2.0 / 24!&quot; and if not it will return a (-1).&lt;br /&gt;
&lt;br /&gt;
Here is the complete script, written in a simple text editor and saved as a &quot;.tcl&quot; file.&lt;br /&gt;
&lt;br /&gt;
set mybuffer [exec &quot;show ip interface brief&quot;]&lt;br /&gt;
set foundposition [string first &quot;10.1.2.&quot; $mybuffer]&lt;br /&gt;
if {$foundposition &amp;gt; -1} {&lt;br /&gt;
puts &quot;We found my inside subnet 10.1.2.0 / 24!&quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
I copied the file to my router...&lt;br /&gt;
&lt;br /&gt;
2811_Home#copy usbflash0: flash&lt;br /&gt;
Source filename []? my-tcl.tcl&lt;br /&gt;
Destination filename [my-tcl.tcl]?&lt;br /&gt;
Copy in progress...C&lt;br /&gt;
181 bytes copied in 0.416 secs (435 bytes/sec)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2811_Home#sh flash&lt;br /&gt;
Load for five secs: 11%/0%; one minute: 4%; five minutes: 3%&lt;br /&gt;
Time source is NTP, 20:19:55.263 CST Tue Oct 18 2011&lt;br /&gt;
-#- --length-- -----date/time------ path&lt;br /&gt;
1 &amp;nbsp; &amp;nbsp; 59171892 Oct 14 2011 06:08:04 c2800nm-adventerprisek9_ivs-mz.124-22.T5.bin&lt;br /&gt;
33 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5561 Aug 27 2011 20:10:16 2811_internet_ips-CONFIG&lt;br /&gt;
35 &amp;nbsp; &amp;nbsp;12757876 Sep 07 2011 02:55:20 IOS-S556-CLI.pkg&lt;br /&gt;
&lt;b&gt;42 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 180 Oct 20 2011 01:31:54 my-tcl.tcl&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Here are (2) ways in which to execute to script.&lt;br /&gt;
&lt;br /&gt;
2811_Home#tclsh&lt;br /&gt;
2811_Home(tcl)#source flash:my-tcl.tcl&lt;br /&gt;
We found my inside subnet 10.1.2.0 / 24!&lt;br /&gt;
&lt;br /&gt;
2811_Home#tclsh flash:my-tcl.tcl&lt;br /&gt;
We found my inside subnet 10.1.2.0 / 24!&lt;br /&gt;
&lt;br /&gt;
Thats it for now...</content><link rel='replies' type='application/atom+xml' href='http://adrian-brayton.blogspot.com/feeds/115576549700655710/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adrian-brayton.blogspot.com/2011/10/tcl-notes-part-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/115576549700655710'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/115576549700655710'/><link rel='alternate' type='text/html' href='http://adrian-brayton.blogspot.com/2011/10/tcl-notes-part-2.html' title='TCL Notes - Part 2'/><author><name>AMB</name><uri>http://www.blogger.com/profile/06504823466333018705</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-953358749295101840.post-5808435623353716389</id><published>2011-10-16T15:13:00.001-05:00</published><updated>2011-10-18T18:06:12.566-05:00</updated><title type='text'>TCL Notes</title><content type='html'>I have been spending a little time working with TCL, a scripting language which is open source but is also available in the majority of Cisco&#39;s IOS. If you would like more information, check out Cisco Press - TCL Scripting for Cisco IOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
TCL Scripting (Some of the Basics)&lt;br /&gt;
&lt;br /&gt;
R1(tcl)#&lt;br /&gt;
&lt;br /&gt;
set a &quot;This is&quot;&lt;br /&gt;
&lt;br /&gt;
set b &quot; a test!&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Router(tcl)#append a $b&lt;br /&gt;
&lt;br /&gt;
This is a test!&lt;br /&gt;
&lt;br /&gt;
______________&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#set x 1&lt;br /&gt;
1&lt;br /&gt;
r1(tcl)#incr x&lt;br /&gt;
2&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#set y 2&lt;br /&gt;
2&lt;br /&gt;
r1(tcl)#incr y&lt;br /&gt;
3&lt;br /&gt;
r1(tcl)#incr y 2&lt;br /&gt;
5&lt;br /&gt;
______________&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#set m 2&lt;br /&gt;
2&lt;br /&gt;
r1(tcl)#expr $m+2&lt;br /&gt;
4&lt;br /&gt;
r1(tcl)#puts $m&lt;br /&gt;
2&lt;br /&gt;
______________&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&quot; &quot; Double quotes allow substitutions&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;{ } Braces need to be open / closed and DONT allow substitutions.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;[ ] This is for command substitution and invokes the TCL interpreter to process the characters between the open and closed brackets.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
This allows for an array variable&lt;br /&gt;
$variable&lt;br /&gt;
&lt;br /&gt;
$variable (index)&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#set x(2) 200&lt;br /&gt;
200&lt;br /&gt;
r1(tcl)#set y(3) 300&lt;br /&gt;
300&lt;br /&gt;
r1(tcl)#puts $x(2)&lt;br /&gt;
200&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#set n(m) 1000&lt;br /&gt;
1000&lt;br /&gt;
r1(tcl)#puts $n(m)&lt;br /&gt;
1000&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#set {I am awesome!} Adrian &lt;br /&gt;
Adrian&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#set c cool&lt;br /&gt;
cool&lt;br /&gt;
r1(tcl)#set d &quot;I am $c&quot;&lt;br /&gt;
I am cool&lt;br /&gt;
r1(tcl)#puts {You are $c}&lt;br /&gt;
You are $c&lt;br /&gt;
______________&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Append&lt;/b&gt; is similar to lappend but the variable&#39;s are contained in quotes.&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#set a &quot;This is &quot;&lt;br /&gt;
This is&lt;br /&gt;
r1(tcl)#set b &quot;my script&quot;&lt;br /&gt;
my script&lt;br /&gt;
r1(tcl)#append a $b&lt;br /&gt;
This is my script&lt;br /&gt;
r1(tcl)#puts $a&lt;br /&gt;
This is my script&lt;br /&gt;
______________&lt;br /&gt;
&lt;br /&gt;
List Append (&lt;b&gt;lappend&lt;/b&gt;) add&#39;s a variable to a string / list separated by white space.&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#lappend oscar This is&lt;br /&gt;
This is&lt;br /&gt;
r1(tcl)#lappend oscar my script&lt;br /&gt;
This is my script&lt;br /&gt;
r1(tcl)#puts $oscar&lt;br /&gt;
This is my script&lt;br /&gt;
______________&lt;br /&gt;
&lt;br /&gt;
List Index (&lt;b&gt;lindex&lt;/b&gt;) will extract elements from a list but will not modify the list.&lt;br /&gt;
&lt;br /&gt;
As you can see we have extracted data from this list. Keep in mind that the list is read from left to right and start&#39;s at the number zero.&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#puts $a&lt;br /&gt;
This is my script&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#lindex $a 2&lt;br /&gt;
my&lt;br /&gt;
r1(tcl)#&lt;br /&gt;
r1(tcl)#lindex $a 0&lt;br /&gt;
This&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#puts $a &amp;nbsp; &lt;br /&gt;
This is my script&lt;br /&gt;
______________&lt;br /&gt;
&lt;br /&gt;
List Insert (&lt;b&gt;linsert&lt;/b&gt;) will add new elements to a list.&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#set a [linsert $a 3 awesome ]&lt;br /&gt;
This is my awesome script&lt;br /&gt;
r1(tcl)#&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#puts $adrian&lt;br /&gt;
This is my awesome list&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#&lt;b&gt;llength&lt;/b&gt; $adrian&lt;br /&gt;
5&lt;br /&gt;
______________&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#&lt;b&gt;lsearch&lt;/b&gt; $adrian y&lt;br /&gt;
-1&lt;br /&gt;
r1(tcl)#lsearch $adrian my&lt;br /&gt;
2&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#&lt;b&gt;lsearch&lt;/b&gt; -&lt;b&gt;regexp&lt;/b&gt; $adrian y&lt;br /&gt;
2&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#lsearch -regexp $adrian i&lt;br /&gt;
0&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#&lt;b&gt;lsearch&lt;/b&gt; -&lt;b&gt;global&lt;/b&gt; $adrian i&lt;br /&gt;
bad search mode &quot;-global&quot;: must be -exact, -glob, or -regexp&lt;br /&gt;
r1(tcl)#lsearch -glob $adrian i &lt;br /&gt;
-1&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#puts $adrian &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
This is my list&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#lsearch -regexp $adrian &quot;is&quot;&lt;br /&gt;
0&lt;br /&gt;
r1(tcl)#&lt;br /&gt;
______________&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#set a &quot;This is my script&quot;&lt;br /&gt;
This is my script&lt;br /&gt;
r1(tcl)#puts $a&lt;br /&gt;
This is my script&lt;br /&gt;
______________&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#set a [&lt;b&gt;lreplace&lt;/b&gt; $a 3 3 really awesome script]&lt;br /&gt;
This is my really awesome script&lt;br /&gt;
r1(tcl)#puts $a&lt;br /&gt;
This is my really awesome script&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#set b &quot;My dogs name is oscar&quot;&lt;br /&gt;
My dogs name is oscar&lt;br /&gt;
r1(tcl)#set b [lreplace $b 0 4 I also have a dog named shelby!]&lt;br /&gt;
I also have a dog named shelby!&lt;br /&gt;
r1(tcl)#&lt;br /&gt;
______________&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#puts $c&lt;br /&gt;
Pulling info from a file&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#set d [lrange $c 2 4]&lt;br /&gt;
from a file&lt;br /&gt;
r1(tcl)#puts $d&lt;br /&gt;
from a file&lt;br /&gt;
______________&lt;br /&gt;
&lt;br /&gt;
List Sort puts a string of variables in alphabetical order.&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#puts $d&lt;br /&gt;
from a file&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#set d [&lt;b&gt;lsort&lt;/b&gt; $d]&lt;br /&gt;
a file from&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#&lt;b&gt;lsort -ascii&lt;/b&gt; -decreasing $d&lt;br /&gt;
from file a&lt;br /&gt;
r1(tcl)#&lt;b&gt;lsort -ascii &lt;/b&gt;-increasing $d&lt;br /&gt;
a file from&lt;br /&gt;
r1(tcl)#&lt;br /&gt;
______________&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#proc my_script {} {&lt;br /&gt;
+&amp;gt;(tcl)#puts &quot;This is my script&quot;&lt;br /&gt;
+&amp;gt;(tcl)#}&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#set z {}&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#puts $z&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#for {set z 0} {$z&amp;lt;10} {incr z} {&lt;br /&gt;
+&amp;gt;(tcl)#my_script&lt;br /&gt;
+&amp;gt;(tcl)#}&lt;br /&gt;
This is my script&lt;br /&gt;
This is my script&lt;br /&gt;
This is my script&lt;br /&gt;
This is my script&lt;br /&gt;
This is my script&lt;br /&gt;
This is my script&lt;br /&gt;
This is my script&lt;br /&gt;
This is my script&lt;br /&gt;
This is my script&lt;br /&gt;
This is my script&lt;br /&gt;
______________&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#for {set m 0} {$m&amp;lt;5} {incr m} {puts &quot; $m. This is a script&quot;}&lt;br /&gt;
&amp;nbsp;0. This is a script&lt;br /&gt;
&amp;nbsp;1. This is a script&lt;br /&gt;
&amp;nbsp;2. This is a script&lt;br /&gt;
&amp;nbsp;3. This is a script&lt;br /&gt;
&amp;nbsp;4. This is a script&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#set cpuinfo {r1 50 90 r2 10 20}&lt;br /&gt;
r1 50 90 r2 10 20&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#$info { set CPUavg [expr ($CPU1+$CPU2)/2] ; puts &quot;$router $CPUavg&quot; }&lt;br /&gt;
r1 70&lt;br /&gt;
r2 15&lt;br /&gt;
______________&lt;br /&gt;
&lt;br /&gt;
r1(tcl)#set y 0 ; while {$y &amp;lt; 5} { set T [expr ($y*2)] ; puts &quot;$y. Twice $y is $T&quot; ; incr y }&lt;br /&gt;
0. Twice 0 is 0&lt;br /&gt;
1. Twice 1 is 2&lt;br /&gt;
2. Twice 2 is 4&lt;br /&gt;
3. Twice 3 is 6&lt;br /&gt;
4. Twice 4 is 8&lt;br /&gt;
&lt;br /&gt;
More to come...</content><link rel='replies' type='application/atom+xml' href='http://adrian-brayton.blogspot.com/feeds/5808435623353716389/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adrian-brayton.blogspot.com/2011/10/tcl-notes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/5808435623353716389'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/5808435623353716389'/><link rel='alternate' type='text/html' href='http://adrian-brayton.blogspot.com/2011/10/tcl-notes.html' title='TCL Notes'/><author><name>AMB</name><uri>http://www.blogger.com/profile/06504823466333018705</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-953358749295101840.post-815108101397365878</id><published>2011-07-13T18:56:00.002-05:00</published><updated>2011-07-13T18:58:41.244-05:00</updated><title type='text'>Cisco ASA 8.4 IOS - Remote Access VPN</title><content type='html'>Below is the minimal configuration needed to implement remote access VPN&#39;s on a Cisco ASA 5505 running 8.4. Please keep in mind that the names that I used in my configuration is of my dog but it&#39;s best practice to use a name that describes what / who its for.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;Enable ISAKMP on the interface:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
ASA-2(config)# &lt;b&gt;crypto ikev1 enable outside&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
ASA-2(config)# &lt;b&gt;crypto ikev1 policy 1&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
ASA-2(config-ikev1-policy)# &lt;b&gt;encryption 3des&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
ASA-2(config-ikev1-policy)# &lt;b&gt;authentication pre-share&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
ASA-2(config-ikev1-policy)# &lt;b&gt;hash md5&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;Setup your Group Policies &amp;amp; Tunnel Policies&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
ASA-2(config)#&lt;b&gt; group-policy oscar_GP internal&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
ASA-2(config)# &lt;b&gt;group-policy oscar_GP attributes&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
ASA-2(config-group-policy)# &lt;b&gt;vpn-tunnel-protocol ikev1&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
ASA-2(config-group-policy)#&lt;b&gt; address-pools value oscar_pool&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;*******************&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
ASA-2(config)#&lt;b&gt; tunnel-group oscar_tg type remote-access&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
ASA-2(config)#&lt;b&gt; tunnel-group oscar_tg general-attributes&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
ASA-2(config-tunnel-general)# &lt;b&gt;default-group-policy oscar_GP&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
ASA-2(config-tunnel-general)# &lt;b&gt;authentication-server-group LOCAL&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
ASA-2(config)# &lt;b&gt;tunnel-group oscar_tg ipsec-attributes&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
ASA-2(config-tunnel-ipsec)#&lt;b&gt; ikev1 pre-shared-key C1sc0&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;b&gt;*******************&lt;/b&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
ASA-2(config)# &lt;b&gt;crypto ipsec ikev1 transform-set oscar_trans esp-3des esp-md5-hmac&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
ASA-2(config)#&lt;b&gt; ip local pool oscar_pool 10.1.2.140-10.1.2.145 mask 255.255.255.0&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
ASA-2(config)# &lt;b&gt;crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set ikev1 transform-set oscar_trans&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
ASA-2(config)#&lt;b&gt;username oscar password omEMDQBc9noujG1X encrypted privilege 15&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
ASA-2(config)# &lt;b&gt;crypto map outside_map 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
ASA-2(config)# &lt;b&gt;crypto map outside_map interface outside&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://adrian-brayton.blogspot.com/feeds/815108101397365878/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adrian-brayton.blogspot.com/2011/07/cisco-asa-84-ios-remote-access-vpn.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/815108101397365878'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/815108101397365878'/><link rel='alternate' type='text/html' href='http://adrian-brayton.blogspot.com/2011/07/cisco-asa-84-ios-remote-access-vpn.html' title='Cisco ASA 8.4 IOS - Remote Access VPN'/><author><name>AMB</name><uri>http://www.blogger.com/profile/06504823466333018705</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-953358749295101840.post-1992789355752025170</id><published>2011-07-03T22:27:00.004-05:00</published><updated>2011-08-27T08:50:56.097-05:00</updated><title type='text'>Cisco IOS IPS (Intrusion Prevention System) - 2801 ISR</title><content type='html'>Below is the basic configuration needed to get the IPS feature up and running on an IOS router.&lt;br /&gt;
&lt;br /&gt;
First thing that we need to do is create a directory on your flash to store all of your files, you can name it whatever you like but something to describe what&#39;s in there is usually best practice.&lt;br /&gt;
&lt;br /&gt;
r1#&lt;b&gt;mkdir flash:/oscar_ips&lt;/b&gt;&lt;br /&gt;
Create directory filename [&lt;b&gt;oscar_ips]&lt;/b&gt;?&lt;br /&gt;
Created dir flash:/&lt;b&gt;oscar_ips&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
We need to name the IPS:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;r1(config)#ip ips name oscar&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
We need to tell the IPS where to store it&#39;s&amp;nbsp;signature files:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;r1(config)#ip ips config location flash:/oscar_ips&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Lets retire all of the signatures before we decide on which ones we want to turn on and unless you have a lot of memory in your router, you won&#39;t be able to turn them all on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
r1(config-ips-category)#category ?&lt;br /&gt;
&amp;nbsp; adware/spyware &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Adware/Spyware (more sub-categories)&lt;br /&gt;
&amp;nbsp; all &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;All Categories&lt;br /&gt;
&amp;nbsp; attack &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attack (more sub-categories)&lt;br /&gt;
&amp;nbsp; ddos &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DDoS (more sub-categories)&lt;br /&gt;
&amp;nbsp; dos &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DoS (more sub-categories)&lt;br /&gt;
&amp;nbsp; email &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Email (more sub-categories)&lt;br /&gt;
&amp;nbsp; instant_messaging &amp;nbsp; &amp;nbsp; &amp;nbsp;Instant Messaging (more sub-categories)&lt;br /&gt;
&amp;nbsp; ios_ips &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IOS IPS (more sub-categories)&lt;br /&gt;
&amp;nbsp; l2/l3/l4_protocol &amp;nbsp; &amp;nbsp; &amp;nbsp;L2/L3/L4 Protocol (more sub-categories)&lt;br /&gt;
&amp;nbsp; network_services &amp;nbsp; &amp;nbsp; &amp;nbsp; Network Services (more sub-categories)&lt;br /&gt;
&amp;nbsp; os &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OS (more sub-categories)&lt;br /&gt;
&amp;nbsp; other_services &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Other Services (more sub-categories)&lt;br /&gt;
&amp;nbsp; p2p &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;P2P (more sub-categories)&lt;br /&gt;
&amp;nbsp; reconnaissance &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reconnaissance (more sub-categories)&lt;br /&gt;
&amp;nbsp; releases &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Releases (more sub-categories)&lt;br /&gt;
&amp;nbsp; viruses/worms/trojans &amp;nbsp;Viruses/Worms/Trojans (more sub-categories)&lt;br /&gt;
&amp;nbsp; web_server &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Web Server (more sub-categories)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
r1(config)#&lt;b&gt;ip ips signature-category&lt;/b&gt;&lt;br /&gt;
r1(config-ips-category)#&lt;b&gt;category all&lt;/b&gt;&lt;br /&gt;
r1(config-ips-category-action)#&lt;b&gt;retired true&lt;/b&gt;&lt;br /&gt;
r1(config-ips-category-action)#&lt;b&gt;exit&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Since I am using a 2801 with 256MB of RAM, lets just turn on the basics. (Note: I have tried turning them all on and this is what happens:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------------------------------------------------------&lt;br /&gt;
&amp;nbsp; &amp;nbsp;Possible software fault. Upon reccurence, &amp;nbsp;please collect&lt;br /&gt;
&amp;nbsp; &amp;nbsp;crashinfo, &quot;show tech&quot; and contact Cisco Technical Support.&lt;br /&gt;
--------------------------------------------------------------------&lt;br /&gt;
-Traceback= 0x630B74C8 0x63624B48 0x63604504 0x6363D7B0 0x6349B5F4 0x6349BC3C 0x63496C10 0x6363B2E0 0x6363F2B8 0x616B7CD8 0x616B8420 0x616DDC88 0x630AF450 0x630AF434&lt;br /&gt;
$0 : 00000000, AT : 65E60000, v0 : 0D0D0D0D, v1 : 68636248&lt;br /&gt;
a0 : 00000000, a1 : 681CCEB4, a2 : 00000001, a3 : 00000009&lt;br /&gt;
t0 : 0000C100, t1 : 00000000, t2 : 00000000, t3 : FFFF00FF&lt;br /&gt;
t4 : 00000000, t5 : 0D0D0D0D, t6 : 00000002, t7 : 00000000&lt;br /&gt;
s0 : 681CCEB4, s1 : 65D5C044, s2 : 00000008, s3 : 00000000&lt;br /&gt;
s4 : 681CCC68, s5 : 680521C8, s6 : 669ACF04, s7 : 681CCC68&lt;br /&gt;
t8 : 00000000, t9 : 6541A234, k0 : 3041E801, k1 : 00100000&lt;br /&gt;
gp : 65E6DDB0, sp : 68051ED0, s8 : 6781AF04, ra : 630B73E8&lt;br /&gt;
EPC &amp;nbsp;: 630B74C8, ErrorEPC : BFCC6038, SREG &amp;nbsp; &amp;nbsp; : 3401C103&lt;br /&gt;
MDLO : 0000004D, MDHI &amp;nbsp; &amp;nbsp; : 00002A9E, BadVaddr : 0D0D0D11&lt;br /&gt;
DATA_START : 0x63F08CB0&lt;br /&gt;
Cause 00000014 (Code 0x5): Address Error (store) exception&lt;br /&gt;
&lt;br /&gt;
*Jul &amp;nbsp;3 18:31:04.635: %REGISTRY-3-STUB_CHK_OVERWRITE: Attempt made to overwrite a set stub function in . -Process= &quot;Init&quot;, ipl= 3, pid= 3, &amp;nbsp;-Traceback= 0x61667464 0x603774C4 0x630ECB68 0x6165BCE0 0x6165BFC0 0x630AF450 0x630AF434)&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
OK, that was fun!&lt;br /&gt;
&lt;br /&gt;
r1(config-ips-category)#&lt;b&gt;category ios_ips basic&lt;/b&gt;&lt;br /&gt;
r1(config-ips-category-action)#&lt;b&gt;retired false&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
r1(config-ips-category-action)#&lt;b&gt;exit&lt;/b&gt;&lt;br /&gt;
r1(config-ips-category)#&lt;b&gt;exit&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
Do you want to accept these changes? [confirm]&lt;br /&gt;
&lt;br /&gt;
We need to assign the IPS that we just enabled to an interface, I have chosen in / out on the same interface.&lt;br /&gt;
&lt;br /&gt;
r1(config)#&lt;b&gt;inter fa 0/1&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
r1(config-if)#&lt;b&gt;ip ips oscar in&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
r1(config-if)#&lt;b&gt;ip ips oscar out&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Jul &amp;nbsp;3 18:55:57.107: %IPS-6-ENGINE_BUILDS_STARTED: &amp;nbsp;18:55:57 UTC Jul 3 2011&lt;br /&gt;
Jul &amp;nbsp;3 18:55:57.107: %IPS-6-ENGINE_BUILDING: atomic-ip - 3 signatures - 1 of 13 engines&lt;br /&gt;
Jul &amp;nbsp;3 18:55:57.119: %IPS-6-ENGINE_READY: atomic-ip - build time 12 ms - packets for this engine will be scanned&lt;br /&gt;
Jul &amp;nbsp;3 18:55:57.119: %IPS-6-ALL_ENGINE_BUILDS_COMPLETE: elapsed time 12 msut&lt;br /&gt;
&lt;br /&gt;
Now we have to create &quot;add&quot; Cisco&#39;s public key to verify that the signature package is authentic. You can get the key located below from Cisco.com and this file &quot;IOS-S359-CLI.pkg&quot; which are the actual signatures.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;r1(config)#crypto key pubkey-chain rsa&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
r1(config-pubkey-chain)#&lt;b&gt;named-key realm-cisco.pub&lt;/b&gt;&lt;br /&gt;
Translating &quot;realm-cisco.pub&quot;&lt;br /&gt;
&lt;br /&gt;
r1(config-pubkey-key)#key-string&lt;br /&gt;
Enter a public key as a hexidecimal number ....&lt;br /&gt;
&amp;nbsp; &amp;nbsp;30820122 300D0609 2A864886 F70D0101 01050003 82010F00 3082010A 02820101&lt;br /&gt;
&amp;nbsp; &amp;nbsp;00C19E93 A8AF124A D6CC7A24 5097A975 206BE3A2 06FBA13F 6F12CB5B 4E441F16&lt;br /&gt;
&amp;nbsp; &amp;nbsp;17E630D5 C02AC252 912BE27F 37FDD9C8 11FC7AF7 DCDD81D9 43CDABC3 6007D128&lt;br /&gt;
&amp;nbsp; &amp;nbsp;B199ABCB D34ED0F9 085FADC1 359C189E F30AF10A C0EFB624 7E0764BF 3E53053E&lt;br /&gt;
&amp;nbsp; &amp;nbsp;5B2146A9 D7A5EDE3 0298AF03 DED7A5B8 9479039D 20F30663 9AC64B93 C0112A35&lt;br /&gt;
&amp;nbsp; &amp;nbsp;FE3F0C87 89BCB7BB 994AE74C FA9E481D F65875D6 85EAF974 6D9CC8E3 F0B08B85&lt;br /&gt;
&amp;nbsp; &amp;nbsp;50437722 FFBE85B9 5E4189FF CC189CB9 69C46F9C A84DFBA5 7A0AF99E AD768C36&lt;br /&gt;
&amp;nbsp; &amp;nbsp;006CF498 079F88F8 A3B3FB1F 9FB7B3CB 5539E1D1 9693CCBB 551F78D2 892356AE&lt;br /&gt;
&amp;nbsp; &amp;nbsp;2F56D826 8918EF3C 80CA4F4D 87BFCA3B BFF668E9 689782A5 CF31CB6E B4B094D3&lt;br /&gt;
&amp;nbsp; &amp;nbsp;F3020301 0001&lt;br /&gt;
&lt;br /&gt;
r1(config-pubkey)#&lt;b&gt;quit&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Now we have everything that we need in place, now we just need to copy the files to &quot;idconf&quot;.&lt;br /&gt;
&lt;br /&gt;
r1#&lt;b&gt;copy flash:IOS-S359-CLI.pkg idconf&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
r1#&lt;br /&gt;
Jul &amp;nbsp;4 13:00:42.547: %IPS-6-ENGINE_BUILDS_STARTED: &amp;nbsp;13:00:42 UTC Jul 4 2011&lt;br /&gt;
Jul &amp;nbsp;4 13:00:42.547: %IPS-6-ENGINE_BUILDING: atomic-ip - 3 signatures - 1 of 13 engines&lt;br /&gt;
Jul &amp;nbsp;4 13:00:42.559: %IPS-6-ENGINE_READY: atomic-ip - build time 12 ms - packets for this engine will be scanned&lt;br /&gt;
Jul &amp;nbsp;4 13:00:42.559: %IPS-6-ALL_ENGINE_BUILDS_COMPLETE: elapsed time 12 ms&lt;br /&gt;
Jul &amp;nbsp;4 13:00:45.491: Applying Category configuration to signatures ...&lt;br /&gt;
Jul &amp;nbsp;4 13:01:25.047: %IPS-6-ENGINE_BUILDS_STARTED: &amp;nbsp;13:01:25 UTC Jul 4 2011&lt;br /&gt;
Jul &amp;nbsp;4 13:01:25.047: %IPS-6-ENGINE_BUILDING: multi-string - 11 signatures - 1 of 13 engines&lt;br /&gt;
Jul &amp;nbsp;4 13:01:25.067: %IPS-6-ENGINE_READY: multi-string - build time 20 ms - packets for this engine will be scanned&lt;br /&gt;
Jul &amp;nbsp;4 13:01:25.091: %IPS-6-ENGINE_BUILDING: service-http - 649 signatures - 2 of 13 engines&lt;br /&gt;
Jul &amp;nbsp;4 13:01:34.911: %IPS-6-ENGINE_READY: service-http - build time 9820 ms - packets for this engine will be scanned&lt;br /&gt;
Jul &amp;nbsp;4 13:01:34.947: %IPS-6-ENGINE_BUILDING: string-tcp - 1127 signatures - 3 of 13 engines&lt;br /&gt;
Jul &amp;nbsp;4 13:02:15.767: %IPS-6-ENGINE_READY: string-tcp - build time 40820 ms - packets for this engine will be scanned&lt;br /&gt;
Jul &amp;nbsp;4 13:02:15.771: %IPS-6-ENGINE_BUILDING: string-udp - 75 signatures - 4 of 13 engines&lt;br /&gt;
Jul &amp;nbsp;4 13:02:16.623: %IPS-6-ENGINE_READY: string-udp - build time 852 ms - packets for this engine will be scanned&lt;br /&gt;
Jul &amp;nbsp;4 13:02:16.627: %IPS-6-ENGINE_BUILDING: state - 31 signatures - 5 of 13 engines&lt;br /&gt;
Jul &amp;nbsp;4 13:02:16.711: %IPS-6-ENGINE_READY: state - build time 84 ms - packets for this engine will be scanned&lt;br /&gt;
Jul &amp;nbsp;4 13:02:16.775: %IPS-6-ENGINE_BUILDING: atomic-ip - 304 signatures - 6 of 13 engines&lt;br /&gt;
Jul &amp;nbsp;4 13:02:17.979: %IPS-6-ENGINE_READY: atomic-ip - build time 1204 ms - packets for this engine will be scanned&lt;br /&gt;
Jul &amp;nbsp;4 13:02:18.031: %IPS-6-ENGINE_BUILDING: string-icmp - 3 signatures - 7 of 13 engines&lt;br /&gt;
Jul &amp;nbsp;4 13:02:18.087: %IPS-6-ENGINE_READY: string-icmp - build time 56 ms - packets for this engine will be scanned&lt;br /&gt;
Jul &amp;nbsp;4 13:02:18.087: %IPS-6-ENGINE_BUILDING: service-ftp - 3 signatures - 8 of 13 engines&lt;br /&gt;
Jul &amp;nbsp;4 13:02:18.111: %IPS-6-ENGINE_READY: service-ftp - build time 24 ms - packets for this engine will be scanned&lt;br /&gt;
Jul &amp;nbsp;4 13:02:18.115: %IPS-6-ENGINE_BUILDING: service-rpc - 75 signatures - 9 of 13 engines&lt;br /&gt;
Jul &amp;nbsp;4 13:02:18.495: %IPS-6-ENGINE_READY: service-rpc - build time 376 ms - packets for this engine will be scanned&lt;br /&gt;
Jul &amp;nbsp;4 13:02:18.495: %IPS-6-ENGINE_BUILDING: service-dns - 38 signatures - 10 of 13 engines&lt;br /&gt;
Jul &amp;nbsp;4 13:02:18.563: %IPS-6-ENGINE_READY: service-dns - build time 68 ms - packets for this engine will be scanned&lt;br /&gt;
Jul &amp;nbsp;4 13:02:18.563: %IPS-6-ENGINE_BUILDING: normalizer - 9 signatures - 11 of 13 engines&lt;br /&gt;
Jul &amp;nbsp;4 13:02:56.947: %IPS-6-ENGINE_BUILDS_STARTED: &amp;nbsp;13:02:56 UTC Jul 4 2011&lt;br /&gt;
Jul &amp;nbsp;4 13:02:56.963: %IPS-6-ENGINE_BUILDING: multi-string - 11 signatures - 1 of 13 engines&lt;br /&gt;
Jul &amp;nbsp;4 13:02:56.975: %IPS-6-ENGINE_READY: multi-string - build time 12 ms - packets for this engine will be scanned&lt;br /&gt;
Jul &amp;nbsp;4 13:02:57.407: %IPS-6-ENGINE_BUILDING: service-http - 649 signatures - 2 of 13 engines&lt;br /&gt;
Jul &amp;nbsp;4 13:02:57.799: %IPS-6-ENGINE_READY: service-http - build time 392 ms - packets for this engine will be scanned&lt;br /&gt;
Jul &amp;nbsp;4 13:02:58.747: %IPS-6-ENGINE_BUILDING: string-tcp - 1127 signatures - 3 of 13 engines&lt;br /&gt;
Jul &amp;nbsp;4 13:02:59.359: %IPS-6-ENGINE_READY: string-tcp - build time 612 ms - packets for this engine will be scanned&lt;br /&gt;
Jul &amp;nbsp;4 13:02:59.911: %IPS-6-ENGINE_BUILDING: string-udp - 75 signatures - 4 of 13 engines&lt;br /&gt;
Jul &amp;nbsp;4 13:02:59.939: %IPS-6-ENGINE_READY: string-udp - build time 28 ms - packets for this engine will be scanned&lt;br /&gt;
Jul &amp;nbsp;4 13:02:59.991: %IPS-6-ENGINE_BUILDING: state - 31 signatures - 5 of 13 engines&lt;br /&gt;
Jul &amp;nbsp;4 13:03:00.003: %IPS-6-ENGINE_READY: state - build time 12 ms - packets for this engine will be scanned&lt;br /&gt;
Jul &amp;nbsp;4 13:03:00.367: %IPS-6-ENGINE_BUILDING: atomic-ip - 304 signatures - 6 of 13 engines&lt;br /&gt;
Jul &amp;nbsp;4 13:03:01.059: %IPS-6-ENGINE_READY: atomic-ip - build time 692 ms - packets for this engine will be scanned&lt;br /&gt;
Jul &amp;nbsp;4 13:03:01.319: %IPS-6-ENGINE_BUILDING: string-icmp - 3 signatures - 7 of 13 engines&lt;br /&gt;
Jul &amp;nbsp;4 13:03:01.375: %IPS-6-ENGINE_READY: string-icmp - build time 52 ms - packets for this engine will be scanned&lt;br /&gt;
Jul &amp;nbsp;4 13:03:01.379: %IPS-6-ENGINE_BUILDING: service-ftp - 3 signatures - 8 of 13 engines&lt;br /&gt;
Jul &amp;nbsp;4 13:03:01.383: %IPS-6-ENGINE_READY: service-ftp - build time 0 ms - packets for this engine will be scanned&lt;br /&gt;
Jul &amp;nbsp;4 13:03:01.435: %IPS-6-ENGINE_BUILDING: service-rpc - 75 signatures - 9 of 13 engines&lt;br /&gt;
Jul &amp;nbsp;4 13:03:01.467: %IPS-6-ENGINE_READY: service-rpc - build time 32 ms - packets for this engine will be scanned&lt;br /&gt;
Jul &amp;nbsp;4 13:03:01.535: %IPS-6-ENGINE_BUILDING: service-dns - 38 signatures - 10 of 13 engines&lt;br /&gt;
Jul &amp;nbsp;4 13:03:01.555: %IPS-6-ENGINE_READY: service-dns - build time 16 ms - packets for this engine will be scanned&lt;br /&gt;
Jul &amp;nbsp;4 13:03:01.583: %IPS-6-ENGINE_BUILDING: normalizer - 9 signatures - 11 of 13 engines&lt;br /&gt;
Jul &amp;nbsp;4 13:03:01.739: %IPS-6-ENGINE_READY: service-msrpc - build time 44 ms - packets for this engine will be scanned&lt;br /&gt;
Jul &amp;nbsp;4 13:03:01.755: %IPS-6-ALL_ENGINE_BUILDS_COMPLETE: elapsed time 4812 ms&lt;br /&gt;
&lt;br /&gt;
Now you have an IPS running on your router!&lt;br /&gt;
&lt;br /&gt;
More to come...&lt;br /&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adrian-brayton.blogspot.com/feeds/1992789355752025170/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adrian-brayton.blogspot.com/2011/07/cisco-ios-ips-intrusion-prevention.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/1992789355752025170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/1992789355752025170'/><link rel='alternate' type='text/html' href='http://adrian-brayton.blogspot.com/2011/07/cisco-ios-ips-intrusion-prevention.html' title='Cisco IOS IPS (Intrusion Prevention System) - 2801 ISR'/><author><name>AMB</name><uri>http://www.blogger.com/profile/06504823466333018705</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-953358749295101840.post-6571694694054175151</id><published>2011-06-29T12:37:00.007-05:00</published><updated>2011-06-29T13:51:28.471-05:00</updated><title type='text'>Cisco ASA NAT 8.4</title><content type='html'>This is a very simple example of the new NAT structure beginning with IOS version 8.3 on a Cisco ASA appliance. There are more examples on the way...&lt;br /&gt;
&lt;br /&gt;
I have (2) routers, R1 is on the &quot;inside&quot; and R2 is on the &quot;outside&quot;.&lt;br /&gt;
&lt;br /&gt;
We will be translating the subnet 1.1.1.0 / 24&lt;br /&gt;
&lt;br /&gt;
This is the range &quot;pool&quot; of address&#39;s to use in the translation of subnet 1.1.1.0/24&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;object network TEST&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp;range 10.1.1.5 10.1.1.10&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;object network TEST_Inside&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp;subnet 1.1.1.0 255.255.255.0&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&lt;b&gt;nat (inside,outside) dynamic TEST&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;************&lt;br /&gt;
&lt;b&gt;R2#debug ip icmp&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
*Jun 29 17:27:05.551: ICMP: echo reply sent, src 10.1.1.25, dst 10.1.1.5&lt;/div&gt;&lt;br /&gt;
************&lt;br /&gt;
&lt;b&gt;ASA# sh nat translated interface outside&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Auto NAT Policies (Section 2)&lt;/div&gt;&lt;div&gt;1 (inside) to (outside) source dynamic TEST_Inside TEST&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; translate_hits = 7, untranslate_hits = 14&lt;/div&gt;&lt;div&gt;ciscoasa#&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;************&lt;br /&gt;
&lt;b&gt;R1#ping 10.1.1.25 source 1.1.1.1&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Packet sent with a source address of 1.1.1.1&amp;nbsp;&lt;/div&gt;&lt;div&gt;!!!!!&lt;/div&gt;&lt;div&gt;Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adrian-brayton.blogspot.com/feeds/6571694694054175151/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adrian-brayton.blogspot.com/2011/06/cisco-asa-nat-84.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/6571694694054175151'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/6571694694054175151'/><link rel='alternate' type='text/html' href='http://adrian-brayton.blogspot.com/2011/06/cisco-asa-nat-84.html' title='Cisco ASA NAT 8.4'/><author><name>AMB</name><uri>http://www.blogger.com/profile/06504823466333018705</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-953358749295101840.post-4351697926404036903</id><published>2011-06-25T12:57:00.000-05:00</published><updated>2011-06-25T12:57:42.015-05:00</updated><title type='text'>Cisco IOS to ASA (8.4) - Basic IPSec Site-to-Site VPN</title><content type='html'>&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;R1 -&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;crypto isakmp policy 1&lt;/div&gt;&lt;div&gt;&amp;nbsp;encr 3des&lt;/div&gt;&lt;div&gt;&amp;nbsp;hash md5&lt;/div&gt;&lt;div&gt;&amp;nbsp;authentication pre-share&lt;/div&gt;&lt;div&gt;&amp;nbsp;group 2&lt;/div&gt;&lt;div&gt;crypto isakmp key ipexpert address 10.1.1.2&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;crypto ipsec transform-set oscar esp-3des esp-md5-hmac&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;crypto map shelby 1 ipsec-isakmp&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;set peer 10.1.1.2&lt;/div&gt;&lt;div&gt;&amp;nbsp;set transform-set oscar&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;match address 100&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;access-list 100 permit ip host 2.2.2.2 host 1.1.1.1&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;interface FastEthernet0/0&lt;/div&gt;&lt;div&gt;&amp;nbsp;ip address 10.1.1.25 255.255.255.0&lt;/div&gt;&lt;div&gt;&amp;nbsp;duplex auto&lt;/div&gt;&lt;div&gt;&amp;nbsp;speed auto&lt;/div&gt;&lt;div&gt;&amp;nbsp;crypto map shelby&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;****************************&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;ASA -&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;crypto ipsec ikev1 transform-set oscar esp-3des esp-md5-hmac&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;crypto map shelby 1 match address abby&lt;/div&gt;&lt;div&gt;crypto map shelby 1 set peer 10.1.1.25&amp;nbsp;&lt;/div&gt;&lt;div&gt;crypto map shelby 1 set ikev1 transform-set oscar&lt;/div&gt;&lt;div&gt;crypto map shelby interface outside&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;crypto ikev1 enable outside&lt;/div&gt;&lt;div&gt;crypto ikev1 policy 1&lt;/div&gt;&lt;div&gt;&amp;nbsp;authentication pre-share&lt;/div&gt;&lt;div&gt;&amp;nbsp;encryption 3des&lt;/div&gt;&lt;div&gt;&amp;nbsp;hash md5&lt;/div&gt;&lt;div&gt;&amp;nbsp;group 2&lt;/div&gt;&lt;div&gt;&amp;nbsp;lifetime 86400&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;tunnel-group adrian type ipsec-l2l&lt;/div&gt;&lt;div&gt;tunnel-group 10.1.1.25 type ipsec-l2l&lt;/div&gt;&lt;div&gt;tunnel-group 10.1.1.25 ipsec-attributes&lt;/div&gt;&lt;div&gt;ikev1 pre-shared-key *****&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;access-list abby extended permit ip host 2.2.2.2 host 1.1.1.1&amp;nbsp;&lt;/div&gt;&lt;div&gt;access-list abby extended permit ip host 1.1.1.1 host 2.2.2.2&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adrian-brayton.blogspot.com/feeds/4351697926404036903/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adrian-brayton.blogspot.com/2011/06/cisco-ios-to-asa-84-basic-ipsec-site-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/4351697926404036903'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/4351697926404036903'/><link rel='alternate' type='text/html' href='http://adrian-brayton.blogspot.com/2011/06/cisco-ios-to-asa-84-basic-ipsec-site-to.html' title='Cisco IOS to ASA (8.4) - Basic IPSec Site-to-Site VPN'/><author><name>AMB</name><uri>http://www.blogger.com/profile/06504823466333018705</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-953358749295101840.post-8224429747575309114</id><published>2011-06-20T12:07:00.001-05:00</published><updated>2011-06-20T12:08:32.177-05:00</updated><title type='text'>Cisco IOS - Basic IPSec Site-to-Site VPN</title><content type='html'>This is the basic configuration needed to bring up an IPSec tunnel between (2) IOS routers (This was done on a pair of 2801&#39;s)&lt;br /&gt;
&lt;br /&gt;
Please keep in mind that the names used do not have to match on both side&#39;s.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;R1&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
crypto isakmp policy 1&lt;br /&gt;
&amp;nbsp;encr 3des&lt;br /&gt;
&amp;nbsp;hash md5&lt;br /&gt;
&amp;nbsp;authentication pre-share&lt;br /&gt;
&amp;nbsp;group 2&lt;br /&gt;
&lt;br /&gt;
crypto isakmp key c1sco address 10.1.12.2&lt;br /&gt;
&lt;br /&gt;
crypto ipsec transform-set shelby esp-3des esp-md5-hmac&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;crypto map CMAP&lt;/b&gt; 10 ipsec-isakmp&lt;br /&gt;
&amp;nbsp;set peer 10.1.12.2&lt;br /&gt;
&amp;nbsp;set transform-set shelby&lt;br /&gt;
&amp;nbsp;match address 100&lt;br /&gt;
&lt;br /&gt;
interface Serial0/3/0&lt;br /&gt;
&amp;nbsp;ip address 10.1.12.1 255.255.255.0&lt;br /&gt;
&amp;nbsp;clock rate 64000&lt;br /&gt;
&amp;nbsp;&lt;b&gt;crypto map CMAP&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;b&gt;interface Loopback0&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;b&gt;&amp;nbsp;ip address 1.1.1.1 255.255.255.255&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;ip route 2.2.2.0 255.255.255.0 10.1.12.2&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
access-list 100 permit ip host 1.1.1.1 host 2.2.2.2&lt;br /&gt;
&lt;br /&gt;
r1#ping 2.2.2.2 source lo0&lt;br /&gt;
&lt;br /&gt;
Packet sent with a source address of 1.1.1.1&lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;r1#show crypto session &amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
Crypto session current status&lt;br /&gt;
&lt;br /&gt;
Interface: Serial0/3/0&lt;br /&gt;
Session status: UP-ACTIVE &amp;nbsp; &lt;br /&gt;
Peer: 10.1.12.2 port 500&lt;br /&gt;
&amp;nbsp; IKE SA: local 10.1.12.1/500 remote 10.1.12.2/500 Active&lt;br /&gt;
&amp;nbsp; IPSEC FLOW: permit ip host 1.1.1.1 host 2.2.2.2&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Active SAs: 2, origin: crypto map&lt;br /&gt;
&lt;br /&gt;
*************&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;R2&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
crypto isakmp policy 1&lt;br /&gt;
&amp;nbsp;encr 3des&lt;br /&gt;
&amp;nbsp;hash md5&lt;br /&gt;
&amp;nbsp;authentication pre-share&lt;br /&gt;
&amp;nbsp;group 2&lt;br /&gt;
&lt;br /&gt;
crypto isakmp key c1sco address 10.1.12.1&lt;br /&gt;
&lt;br /&gt;
crypto ipsec transform-set shelby esp-3des esp-md5-hmac&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;crypto map CMAP 10&lt;/b&gt; ipsec-isakmp&lt;br /&gt;
&amp;nbsp;set peer 10.1.12.1&lt;br /&gt;
&amp;nbsp;set transform-set shelby&lt;br /&gt;
&amp;nbsp;match address 100&lt;br /&gt;
&lt;br /&gt;
interface Loopback0&lt;br /&gt;
&amp;nbsp;ip address 2.2.2.2 255.255.255.255&lt;br /&gt;
&lt;br /&gt;
interface Serial0/3/0&lt;br /&gt;
&amp;nbsp;ip address 10.1.12.2 255.255.255.0&lt;br /&gt;
&amp;nbsp;&lt;b&gt;crypto map CMAP&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;ip route 1.1.1.0 255.255.255.0 10.1.12.1&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
access-list 100 permit ip host 2.2.2.2 host 1.1.1.1</content><link rel='replies' type='application/atom+xml' href='http://adrian-brayton.blogspot.com/feeds/8224429747575309114/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adrian-brayton.blogspot.com/2011/06/cisco-ios-basic-ipsec-site-to-site-vpn.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/8224429747575309114'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/8224429747575309114'/><link rel='alternate' type='text/html' href='http://adrian-brayton.blogspot.com/2011/06/cisco-ios-basic-ipsec-site-to-site-vpn.html' title='Cisco IOS - Basic IPSec Site-to-Site VPN'/><author><name>AMB</name><uri>http://www.blogger.com/profile/06504823466333018705</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-953358749295101840.post-3061257604236055564</id><published>2011-06-14T20:17:00.000-05:00</published><updated>2011-06-14T20:17:59.737-05:00</updated><title type='text'>IPSEC - ISAKMP Perfect Forwarding Secrecy / Diffie-Hellman</title><content type='html'>&lt;b&gt;Diffie-Hellman (DH)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Diffie-Hellman (DH) is a public-key cryptography protocol that allows two devices to establish a shared secret over an unsecure communications channel (ISAKMP Phase 1 / IPSec Phase 2)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Diffie-Hellman&amp;nbsp;Group 1 — 768-bit DH Group.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Diffie-Hellman&amp;nbsp;Group 2 — 1024-bit DH Group.&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Diffie-Hellman&amp;nbsp;Group 5 — 1536-bit DH Group.&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
________________________&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Perfect Forward Secrecy (PFS)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The PFS determines the length (complexity) of the IPSec &quot;Session keys&quot; (used in the encryption and decryption of data in the IPSec tunnel (IPSEC Security Association (SA) )), and is derived from the public and private keys.&lt;br /&gt;
&lt;br /&gt;
PFS has four groups:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Group1&lt;/b&gt;: Specifies that IPSec should use the 768-bit Diffie-Hellman prime modulus group when performing the new Diffie-Hellman exchange.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Group2&lt;/b&gt;: Specifies that IPSec should use the 1024-bit Diffie-Hellman prime modulus group when performing the new Diffie-Hellman exchange.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Group5&lt;/b&gt;: Specifies that IPSec should use the 1536-bit Diffie-Hellman prime modulus group when performing the new Diffie-Hellman exchange.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Group7&lt;/b&gt;: Specifies that IPSec should use group7 (ECC) where the elliptical curve field size is 163-bits, for example, with the movianVPN client.&lt;br /&gt;
&lt;br /&gt;
The crypto map set pfs command sets IPSec to ask for Perfect Forward Secrecy (PFS) when new security associations are requested for this crypto map entry. Alternatively, it asks that IPSec requires PFS when requests are received for new security associations.&lt;br /&gt;
&lt;br /&gt;
To specify that IPSec not request PFS, issue the no crypto map set pfs command. This command is only available for ipsec-isakmp crypto map entries and dynamic crypto map entries.&lt;br /&gt;
Note: By default, PFS is not requested.&lt;br /&gt;
&lt;br /&gt;
With PFS, every time a new security association is negotiated, a new Diffie-Hellman exchange occurs, which requires additional processing time.&lt;br /&gt;
&lt;br /&gt;
PFS adds another level of security because if one key is ever cracked by an attacker, only the data sent with that key is compromised. During negotiation, the no crypto map set PFS command causes IPSec to request PFS when new security associations are requested for the crypto map entry.&lt;br /&gt;
&lt;br /&gt;
The default (group1) is sent if the set pfs statement does not specify a group. If the peer initiates the negotiation and the local configuration specifies PFS, the peer must perform a PFS exchange or the negotiation fails.&lt;br /&gt;
&lt;br /&gt;
If the local configuration does not specify a group, a default of group1 is assumed and an offer of either group1 or group2 is accepted. If the local configuration specifies group2, that group must be part of the peer offer or the negotiation fails.&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adrian-brayton.blogspot.com/feeds/3061257604236055564/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adrian-brayton.blogspot.com/2011/06/ipsec-isakmp-perfect-forwarding-secrecy.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/3061257604236055564'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/3061257604236055564'/><link rel='alternate' type='text/html' href='http://adrian-brayton.blogspot.com/2011/06/ipsec-isakmp-perfect-forwarding-secrecy.html' title='IPSEC - ISAKMP Perfect Forwarding Secrecy / Diffie-Hellman'/><author><name>AMB</name><uri>http://www.blogger.com/profile/06504823466333018705</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-953358749295101840.post-4215437593564453909</id><published>2011-06-11T18:38:00.000-05:00</published><updated>2011-06-11T18:38:27.674-05:00</updated><title type='text'>IPSec</title><content type='html'>IKE - Internet Key Exchange | Uses uses the framework provided by&amp;nbsp;ISAKMP&lt;br /&gt;
&lt;br /&gt;
ISAKMP - Internet Security Association Key Management Protocol &lt;br /&gt;
&lt;br /&gt;
IPSec -&amp;nbsp;&lt;div&gt;&lt;br /&gt;
Phase 1 - The first phase is used to create a secure and authentic communication channel between the peers. &lt;br /&gt;
&lt;br /&gt;
The are (2) mode’s to est. Phase 1 SA (Security Association):&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
Main mode - Typically used for Site-to-Site VPN&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
(6) packet / 3 round trips to est. SA&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
Aggressive - Typically used for Remote-Access&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
(3) packets total to est. SA &lt;br /&gt;
&lt;br /&gt;
These are the default when pre-shared keys are being used. &lt;br /&gt;
&lt;br /&gt;
ISAKMP Attributes negotiated during Phase 1: &lt;br /&gt;
&lt;br /&gt;
Encryption - DES, 3DES, (AES 128, 192, 256) &lt;br /&gt;
Hashing - MD5 , SHA &lt;br /&gt;
Authentication Method - Pre-shared Keys, RSA or DSA Signature &lt;br /&gt;
DH (Diffie - Hellman) Group - 1, 2, 5, 7 &lt;br /&gt;
&lt;br /&gt;
Once the ISAKMP SA negotiation is complete, Phase 2 IPsec SA will then be negotiated over an encrypted channel. &lt;br /&gt;
&lt;br /&gt;
All the payloads are encrypted in phase 2 negotiations except for the IP header.  &lt;br /&gt;
&lt;br /&gt;
IPSec Pass-Through / NAT-T - These are technologies used to avoid packet drop should the device be behind a PAT device.  &lt;br /&gt;
&lt;br /&gt;
IPSec Attributes negotiated during Phase 2: &lt;br /&gt;
&lt;br /&gt;
Encryption - DES, 3DES, (AES 128, 192, 256) &lt;br /&gt;
Hashing - MD5 , SHA or Null &lt;br /&gt;
Identity Information - Network, Protocol, port number &lt;br /&gt;
Lifetime &lt;br /&gt;
Mode - Tunnel , Transport &lt;br /&gt;
PFS group - None, 1, 2, or 5 &lt;br /&gt;
&lt;br /&gt;
IPSec Protocols &lt;br /&gt;
&lt;/div&gt;&lt;div&gt;AH (Authentication Header) IP Protocol 51 &lt;br /&gt;
ESP (Encapsulation Security Payload) IP Protocol 50 &lt;br /&gt;
&lt;br /&gt;
These protocols as an IPSec header allowing the peer to decrypt the data. &lt;br /&gt;
&lt;br /&gt;
(Cisco ASA does not support AH encapsulation)&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adrian-brayton.blogspot.com/feeds/4215437593564453909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adrian-brayton.blogspot.com/2011/06/ipsec.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/4215437593564453909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/4215437593564453909'/><link rel='alternate' type='text/html' href='http://adrian-brayton.blogspot.com/2011/06/ipsec.html' title='IPSec'/><author><name>AMB</name><uri>http://www.blogger.com/profile/06504823466333018705</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-953358749295101840.post-1566549052396493262</id><published>2011-04-24T07:58:00.001-05:00</published><updated>2011-07-11T07:50:37.298-05:00</updated><title type='text'>Cisco ASA - Active / Passive</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;If you need to set up a pair of ASA 55XX for Active / Passive, here is the base configuration needed to get this up and running. Please keep in mind that both ASA’s need to be running identical code and below is the minimal amount of configuration needed, there are many more configuration options available.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: large;&quot;&gt;The commands below are to be entered into the Primary ASA:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;#&lt;b&gt;failover&lt;/b&gt; &lt;i&gt;(This is the last command you should enter, this turns on the failover)&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;#failover lan unit primary&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;#failover lan interface failover GigabitEthernet1/1&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;b&gt;#failover replication http&lt;/b&gt; &lt;i&gt;(This is optional as HTTP sessions don’t get replicated to the stand-by device)&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;b&gt;#failover mac address GigabitEthernet0/0 c471.fe43.f830 f866.f24d.0d4a&lt;/b&gt;&lt;i&gt; (The first mac address is the primary and the second is the passive ASA)&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;#failover mac address GigabitEthernet0/1 c471.fe43.f831 f866.f24d.0d4b&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;#failover mac address GigabitEthernet0/2 c471.fe43.f832 f866.f24d.0d4c&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;#failover mac address GigabitEthernet0/3 c471.fe43.f833 f866.f24d.0d4d&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;#failover mac address GigabitEthernet1/0 c471.fe43.fd34 588d.096c.b2d0&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;#failover link failover GigabitEthernet1/1&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;#failover interface ip failover 172.16.169.1 255.255.255.252 standby 172.16.169.2&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: large;&quot;&gt;The commands below are to be entered into the Passive ASA:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;b&gt;#failover&lt;/b&gt; &lt;i&gt;(This is the last command you should enter, this turns on the failover)&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;#failover lan unit secondary&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;#failover lan interface failover GigabitEthernet1/1&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;b&gt;#failover interface ip failover 172.16.169.1 255.255.255.252 standby 172.16.169.2&lt;/b&gt;&lt;i&gt; (The IP are correct, they have to match what is on the Primary device)&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;i&gt;&lt;br /&gt;
&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0oXlKScYVgiISwgqr2M5kRF65JkOwtIXdnbiOn48hqoO-y76bpbLtPtmlftdC3rcZ1phQivacfbeZrj4JV84g-CKLZRt-KulgjTf2Wryw7IHz8T83UKt7bPb6vfaC_suPBHXCIwPZ2S4w/s1600/ASA-WAR_ROOM+%25281%2529.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;290&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0oXlKScYVgiISwgqr2M5kRF65JkOwtIXdnbiOn48hqoO-y76bpbLtPtmlftdC3rcZ1phQivacfbeZrj4JV84g-CKLZRt-KulgjTf2Wryw7IHz8T83UKt7bPb6vfaC_suPBHXCIwPZ2S4w/s400/ASA-WAR_ROOM+%25281%2529.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;i&gt;&lt;br /&gt;
&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adrian-brayton.blogspot.com/feeds/1566549052396493262/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adrian-brayton.blogspot.com/2011/04/cisco-asa-active-passive.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/1566549052396493262'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/1566549052396493262'/><link rel='alternate' type='text/html' href='http://adrian-brayton.blogspot.com/2011/04/cisco-asa-active-passive.html' title='Cisco ASA - Active / Passive'/><author><name>AMB</name><uri>http://www.blogger.com/profile/06504823466333018705</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0oXlKScYVgiISwgqr2M5kRF65JkOwtIXdnbiOn48hqoO-y76bpbLtPtmlftdC3rcZ1phQivacfbeZrj4JV84g-CKLZRt-KulgjTf2Wryw7IHz8T83UKt7bPb6vfaC_suPBHXCIwPZ2S4w/s72-c/ASA-WAR_ROOM+%25281%2529.jpg" height="72" width="72"/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-953358749295101840.post-3444557904677443158</id><published>2011-04-19T21:28:00.003-05:00</published><updated>2011-04-29T05:54:37.543-05:00</updated><title type='text'>Nexus - AAA w/ VRFs &amp; VDCs</title><content type='html'>If you are looking to configure AAA on a nexus 70XX and the subnet you are going to use to contact the ACS server is in a VRF and / or the non-default VDC (VDC 2, 3, 4) then you will have to do things a little different than you might be used to. &lt;br /&gt;
&lt;br /&gt;
First, make sure that the TACACS+ feature is enabled or none of the options below will be available. &lt;br /&gt;
&lt;br /&gt;
Second, all AAA commands are local to each individual VDC so you will need to do this with each one.&lt;br /&gt;
&lt;br /&gt;
The configuration on the ACS server will remain the same and you are also able to test from exec mode:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;#test aaa server tacacs+ 10.1.1.1 vrf VRF-NAME-HERE jdoe cisco123&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Now, onto the fun stuff...&lt;br /&gt;
&lt;br /&gt;
You will need to define your TACACS server / keys before preceding onto the next part:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;#tacacs-server host 10.1.1.1 key 0 cisco123&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;#tacacs-server host 10.1.1.2 key 0 cisco123&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add this line after you create your server group:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;#aaa authentication login default group Tacserver_DMZ &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
This is where it varies slightly from what you might be used to. You need to create a “aaa server group” in order to use a different VRF.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;#aaa group server tacacs+ Tacserver_DMZ &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; server 10.1.1.1&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&amp;nbsp; (&lt;/b&gt;&lt;i&gt;You dont need to add the key as they will use the ones already stated earlier.)&lt;/i&gt;&lt;br /&gt;
&lt;b&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; server 10.1.1.2 &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; use-vrf DMZ_TEST&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; source-interface Vlan10&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; (This is the SVI that will be used to contact the ACS Server but you can also use interfaces, loopback interfaces ect.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You might also want to add these few commands under your VRF context also:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;#vrf context DMZ_TEST&lt;br /&gt;
&amp;nbsp; ip domain-name cisco.com&lt;br /&gt;
&amp;nbsp; ip name-server 10.1.1.100 10.1.1.200&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That should get you going in the right direction!</content><link rel='replies' type='application/atom+xml' href='http://adrian-brayton.blogspot.com/feeds/3444557904677443158/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adrian-brayton.blogspot.com/2011/04/nexus-aaa-wvrfs-vdcs.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/3444557904677443158'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/3444557904677443158'/><link rel='alternate' type='text/html' href='http://adrian-brayton.blogspot.com/2011/04/nexus-aaa-wvrfs-vdcs.html' title='Nexus - AAA w/ VRFs &amp; VDCs'/><author><name>AMB</name><uri>http://www.blogger.com/profile/06504823466333018705</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-953358749295101840.post-8493974521419863573</id><published>2011-04-14T15:15:00.000-05:00</published><updated>2011-04-14T15:15:46.489-05:00</updated><title type='text'>Nexus - Removing an Allocated Ethernet Port.</title><content type='html'>When it comes to allocating ports to a VDC (Virtual Device Context),there is a lot of information on the web to help you out.&lt;br /&gt;
&lt;br /&gt;
Now, lets just say that you want to remove a port from a VDC.&lt;br /&gt;
&lt;br /&gt;
Until you know how to do it, it is not the normal Cisco way of doing a &quot;no&quot; in front of the command.&lt;br /&gt;
&lt;br /&gt;
Usually you will just enter the non-default VDC:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;#vdc servers&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Now you can allocate ports, something like this:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;allocate interface Ethernet1/2,Ethernet1/4,Ethernet1/6,Ethernet1/8&lt;br /&gt;
&amp;nbsp;&amp;nbsp;allocate interface Ethernet2/2,Ethernet2/4,Ethernet2/6,Ethernet2/8&lt;br /&gt;
&lt;br /&gt;
In order to get these ports back to the default VDC, it makes sense once someone explains it.&lt;br /&gt;
&lt;br /&gt;
Even if you are in the default VDC, you need to enter the &quot;default&quot; VDC&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;#vdc &quot;name of default VDC&quot;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Now once you are there, you just do the same thing to get them back.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;#allocate interface Ethernet1/2,Ethernet1/4,Ethernet1/6,Ethernet1/8&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Now the ports have no configuration and are ready to be re-used.</content><link rel='replies' type='application/atom+xml' href='http://adrian-brayton.blogspot.com/feeds/8493974521419863573/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adrian-brayton.blogspot.com/2011/04/nexus-removing-allocated-ethernet-port.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/8493974521419863573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/8493974521419863573'/><link rel='alternate' type='text/html' href='http://adrian-brayton.blogspot.com/2011/04/nexus-removing-allocated-ethernet-port.html' title='Nexus - Removing an Allocated Ethernet Port.'/><author><name>AMB</name><uri>http://www.blogger.com/profile/06504823466333018705</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-953358749295101840.post-6663875220289522846</id><published>2011-01-01T16:28:00.000-06:00</published><updated>2011-01-01T16:28:25.729-06:00</updated><title type='text'>Lab 2 Cisco 360 Notes</title><content type='html'>When you enable OSPF authentication on a link and do a &quot;show ip ospf&quot; you get the output below but you can clearly see that authentication has been configured on the interface. If you do a &quot;&lt;i&gt;debug ip ospf packet&lt;/i&gt;&quot; you will see that &quot; &lt;i&gt;aut:2&lt;/i&gt; &quot; MD5 is being used.&lt;br /&gt;
&lt;br /&gt;
Note: aut:0 / No authentication | aut:1 / Clear text authentication.&lt;br /&gt;
&lt;br /&gt;
R2#sh ip ospf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;output omitted&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Area has no authentication&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
interface FastEthernet0/0&lt;br /&gt;
&amp;nbsp;ip address 172.16.20.2 255.255.255.128&lt;br /&gt;
&amp;nbsp;ip ospf authentication message-digest&lt;br /&gt;
&amp;nbsp;ip ospf message-digest-key 1 md5 c1sco&lt;br /&gt;
&amp;nbsp;ip ospf mtu-ignore&lt;br /&gt;
&amp;nbsp;duplex auto&lt;br /&gt;
&amp;nbsp;speed auto&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
R2#deb ip ospf packet&lt;br /&gt;
OSPF packet debugging is on&lt;br /&gt;
R2#&lt;br /&gt;
*Jan&amp;nbsp; 1 15:03:30.239: OSPF: rcv. v:2 t:1 l:48 rid:172.16.200.1&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; aid:0.0.0.3 chk:0 &lt;b&gt;aut:2&lt;/b&gt; keyid:1 seq:0x2B916A81 from FastEthernet0/0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
***********&lt;br /&gt;
&lt;b&gt;ICMP Router Discovery Protocol (&lt;/b&gt;&lt;b&gt;IRDP)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
SW3 -&lt;br /&gt;
&lt;br /&gt;
interface FastEthernet0/10&lt;br /&gt;
&amp;nbsp;no switchport&lt;br /&gt;
&amp;nbsp;ip address 172.16.30.10 255.255.255.128&lt;br /&gt;
&amp;nbsp;ip irdp&lt;br /&gt;
&lt;br /&gt;
interface FastEthernet0/0.50&lt;br /&gt;
&amp;nbsp;encapsulation dot1Q 50&lt;br /&gt;
&amp;nbsp;ip address 172.16.30.3 255.255.255.128&lt;br /&gt;
&amp;nbsp;ip irdp&lt;br /&gt;
&amp;nbsp;ip irdp multicast&lt;br /&gt;
&amp;nbsp;ip irdp maxadvertinterval 20&lt;br /&gt;
&amp;nbsp;ip irdp minadvertinterval 20&lt;br /&gt;
&amp;nbsp;ip irdp holdtime 60&lt;br /&gt;
!&lt;br /&gt;
&lt;br /&gt;
***********&lt;br /&gt;
&lt;b&gt;IPv6 Tunneling&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;R1 -&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
interface Tunnel15 - &lt;b&gt;To R5&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;no ip address&lt;br /&gt;
&amp;nbsp;ipv6 address FEC0::15:1/112&lt;br /&gt;
&amp;nbsp;ipv6 ospf 1 area 0&lt;br /&gt;
&amp;nbsp;tunnel source BVI1&lt;br /&gt;
&amp;nbsp;tunnel destination 172.16.10.5&lt;br /&gt;
&amp;nbsp;tunnel mode ipv6ip (Non-Cisco Proprietary)&lt;br /&gt;
&lt;br /&gt;
interface Tunnel16 - &lt;b&gt;To R6&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;no ip address&lt;br /&gt;
&amp;nbsp;ipv6 address FEC0::16:1/112&lt;br /&gt;
&amp;nbsp;ipv6 ospf 1 area 56&lt;br /&gt;
&amp;nbsp;tunnel source BVI1&lt;br /&gt;
&amp;nbsp;tunnel destination 172.16.10.6&lt;br /&gt;
(GRE - Default and Cisco Proprietary)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;R5 -&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
interface Tunnel15 - &lt;b&gt;To R1&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;no ip address&lt;br /&gt;
&amp;nbsp;ipv6 address FEC0::15:5/112&lt;br /&gt;
&amp;nbsp;ipv6 ospf 1 area 0&lt;br /&gt;
&amp;nbsp;tunnel source FastEthernet0/0.10&lt;br /&gt;
&amp;nbsp;tunnel destination 172.16.10.1&lt;br /&gt;
&amp;nbsp;tunnel mode ipv6ip (Non-Cisco Proprietary)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;R6 -&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
interface Tunnel16 - To &lt;b&gt;R1&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;no ip address&lt;br /&gt;
&amp;nbsp;ipv6 address FEC0::16:6/112&lt;br /&gt;
&amp;nbsp;ipv6 ospf 1 area 56&lt;br /&gt;
&amp;nbsp;tunnel source FastEthernet0/0&lt;br /&gt;
&amp;nbsp;tunnel destination 172.16.10.1&lt;br /&gt;
(GRE - Default and Cisco Proprietary)&lt;br /&gt;
&lt;br /&gt;
***********&lt;br /&gt;
&lt;br /&gt;
SW3#show spanning-tree mst configuration&lt;br /&gt;
Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; []&lt;br /&gt;
Revision&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Instances configured 3&lt;br /&gt;
&lt;br /&gt;
Instance&amp;nbsp; Vlans mapped&lt;br /&gt;
--------&amp;nbsp; ---------------------------------------------------------------------&lt;br /&gt;
0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1-109,131-139,161-4094&lt;br /&gt;
1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 110-130&lt;br /&gt;
2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 140-160&lt;br /&gt;
-------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
SW3(config)#spanning-tree mst 1 priority 24576&lt;br /&gt;
&lt;br /&gt;
SW3#sh spanning-tree mst 1&lt;br /&gt;
&lt;br /&gt;
##### MST1&amp;nbsp;&amp;nbsp;&amp;nbsp; vlans mapped:&amp;nbsp;&amp;nbsp; 110-130&lt;br /&gt;
Bridge&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; address 0013.1a06.6580&amp;nbsp; priority&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 24577 (24576 sysid 1)&lt;br /&gt;
Root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this switch for MST1&lt;br /&gt;
&lt;br /&gt;
Interface&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Role Sts Cost&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Prio.Nbr Type&lt;br /&gt;
---------------- ---- --- --------- -------- --------------------------------&lt;br /&gt;
Fa0/13&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Desg FWD 200000&amp;nbsp;&amp;nbsp;&amp;nbsp; 128.13&amp;nbsp;&amp;nbsp; P2p&lt;br /&gt;
Fa0/14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Desg FWD 200000&amp;nbsp;&amp;nbsp;&amp;nbsp; 128.14&amp;nbsp;&amp;nbsp; P2p&lt;br /&gt;
&lt;br /&gt;
*********** &lt;br /&gt;
&lt;b&gt;RSPAN -&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The link that we are monitoring is a trunk and has numerous VLANs traversing the link. Below you will see we are only interested in the traffic from v120 and v130.&lt;br /&gt;
&lt;br /&gt;
monitor session 1 source interface Fa0/16&lt;br /&gt;
monitor session 1 filter vlan 120 , 130&lt;br /&gt;
monitor session 1 destination remote vlan 999&lt;br /&gt;
&lt;br /&gt;
sw1#sh monitor session 1&lt;br /&gt;
Session 1&lt;br /&gt;
---------&lt;br /&gt;
Type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Remote Source Session&lt;br /&gt;
Source Ports&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Both&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Fa0/16&lt;br /&gt;
Filter VLANs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 120,130&lt;br /&gt;
Dest RSPAN VLAN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 999&lt;br /&gt;
&lt;br /&gt;
What you see configured here in that we are taking the interesting traffic from the trunk and adding all of it to v120 as the sniffer is attached to an access port belonging to v120. &lt;br /&gt;
&lt;br /&gt;
monitor session 1 destination interface Fa0/16 ingress untagged vlan 120&lt;br /&gt;
monitor session 1 source remote vlan 999&lt;br /&gt;
&lt;br /&gt;
sw2#sh monitor session 1&lt;br /&gt;
Session 1&lt;br /&gt;
---------&lt;br /&gt;
Type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Remote Destination Session&lt;br /&gt;
Source RSPAN VLAN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 999&lt;br /&gt;
Destination Ports&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Fa0/16&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Encapsulation&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Native&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ingress : Enabled, default VLAN = 120&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Ingress encap : Untagged</content><link rel='replies' type='application/atom+xml' href='http://adrian-brayton.blogspot.com/feeds/6663875220289522846/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adrian-brayton.blogspot.com/2011/01/lab-2-cisco-360-notes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/6663875220289522846'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/6663875220289522846'/><link rel='alternate' type='text/html' href='http://adrian-brayton.blogspot.com/2011/01/lab-2-cisco-360-notes.html' title='Lab 2 Cisco 360 Notes'/><author><name>AMB</name><uri>http://www.blogger.com/profile/06504823466333018705</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-953358749295101840.post-5486353181096534025</id><published>2010-12-30T18:24:00.001-06:00</published><updated>2010-12-30T18:25:41.870-06:00</updated><title type='text'>IP SLA</title><content type='html'>Cisco IOS IP SLAs can send SNMP traps that are triggered by events such as the following:&lt;br /&gt;
&lt;br /&gt;
• Connection loss&lt;br /&gt;
• Timeout&lt;br /&gt;
• Round-trip time threshold&lt;br /&gt;
• Average jitter threshold&lt;br /&gt;
• One-way packet loss&lt;br /&gt;
• One-way jitter&lt;br /&gt;
• One-way mean opinion score (MOS)&lt;br /&gt;
• One-way latency&lt;br /&gt;
&lt;br /&gt;
Alternately, an Cisco IOS IP SLAs threshold violation can trigger another Cisco IOS IP SLAs operation for further analysis.&lt;br /&gt;
&lt;br /&gt;
The Cisco IOS IP SLAs MPLS VPN Awareness feature provides the capability to monitor IP service levels within Multiprotocol Label Switching (MPLS) Virtual Private Networks (VPNs). IP SLAs operations can be configured for a specific VPN by specifying a VPN routing and forwarding (VRF) name.&lt;br /&gt;
&lt;br /&gt;
*************&lt;br /&gt;
&lt;br /&gt;
The IP SLAs UDP jitter operation was primarily designed to diagnose network suitability for real-time traffic applications such as voice over IP (VoIP), video over IP, or real-time conferencing.&lt;br /&gt;
&lt;br /&gt;
UDP jitter operations are capable of measuring the following:&lt;br /&gt;
&lt;br /&gt;
Per-direction jitter (source to destination and destination to source)&lt;br /&gt;
Per-direction packet-loss&lt;br /&gt;
Per-direction delay (one-way delay)&lt;br /&gt;
Round-trip delay (average round-trip time)&lt;br /&gt;
&lt;br /&gt;
Before configuring a UDP jitter operation on the source device, the IP SLAs Responder MUST be enabled on the target device (the operational target). The IP SLAs Responder is available only on Cisco IOS software-based devices.&lt;br /&gt;
&lt;br /&gt;
When compared to the IP SLAs User Datagram Protocol (UDP) jitter operation, the IP SLAs ICMP jitter operation may provide less accurate measurements because the accuracy of the measurements provided by a non-Cisco destination device cannot be determined.&lt;br /&gt;
&lt;br /&gt;
Since ICMP packets do not support voice technology, the IP SLAs ICMP jitter operation does not support Mean Opinion Score (MOS), Calculated Planning Impairment Factor (ICPIF), or estimated transmission rating factor (R) reaction configuration capabilities.&lt;br /&gt;
&lt;br /&gt;
*************&lt;br /&gt;
&lt;br /&gt;
The IP SLAs ICMP Jitter Operation feature provides the following key benefits:&lt;br /&gt;
&lt;br /&gt;
End-to-end performance measurements between a Cisco device (source) and any other IP device (destination) using ICMP.&lt;br /&gt;
&lt;br /&gt;
Proactive threshold violation monitoring through Simple Network Management Protocol (SNMP) trap notifications and syslog messages.&lt;br /&gt;
&lt;br /&gt;
The IP SLAs ICMP jitter operation supports the following statistical measurements:&lt;br /&gt;
&lt;br /&gt;
Jitter (source-to-destination and destination-to-source)&lt;br /&gt;
Latency (source-to-destination and destination-to-source)&lt;br /&gt;
Round-trip time latency&lt;br /&gt;
Packet loss&lt;br /&gt;
Successive packet loss&lt;br /&gt;
Out-of-sequence packets (source-to-destination, destination-to-source, and round-trip)&lt;br /&gt;
Late packets&lt;br /&gt;
&lt;br /&gt;
*************&lt;br /&gt;
&lt;br /&gt;
The IP SLAs UDP echo operation measures end-to-end response time between a Cisco router and devices using IP. UDP is a network layer (Layer 3) Internet protocol that is used for many IP services. UDP echo is used to measure response times and test end-to-end connectivity.&lt;br /&gt;
&lt;br /&gt;
UDP echo accuracy is enhanced by using the IP SLAs Responder at Router A, the&lt;br /&gt;
destination Cisco router. If the destination router is a Cisco router, then IP SLAs sends a UDP datagram to any port number that you specified. Using the IP SLAs Responder is OPTIONAL for a UDP echo operation when using Cisco devices.&lt;br /&gt;
&lt;br /&gt;
A UDP echo operation measures round-trip delay times and tests connectivity to Cisco and&lt;br /&gt;
non-Cisco devices.&lt;br /&gt;
&lt;br /&gt;
*************&lt;br /&gt;
&lt;br /&gt;
The IP SLAs HTTP operation measures the round-trip time (RTT) between a Cisco device and an HTTP server to retrieve a web page. The HTTP server response time measurements consist of three types:&lt;br /&gt;
&lt;br /&gt;
DNS lookup—RTT taken to perform domain name lookup.&lt;br /&gt;
TCP Connect—RTT taken to perform a TCP connection to the HTTP server.&lt;br /&gt;
HTTP transaction time—RTT taken to send a request and get a response from the HTTP server. The operation retrieves only the home HTML page.&lt;br /&gt;
&lt;br /&gt;
The DNS operation is performed first and the DNS RTT is measured. Once the domain name is found, a TCP Connect operation to the appropriate HTTP server is performed and the RTT for this operation is measured. The final operation is an HTTP request and the RTT to retrieve the home HTML page from the HTTP server is measured. One other measurement is made and called the time to first byte which measures the time from the start of the TCP Connect operation to the first HTML byte retrieved by the HTTP operation. The total HTTP RTT is a sum of the DNS RTT, the TCP Connect RTT, and the HTTP&lt;br /&gt;
RTT.&lt;br /&gt;
&lt;br /&gt;
*************&lt;br /&gt;
&lt;br /&gt;
The IP SLAs TCP Connect operation measures the response time taken to perform a TCP Connect operation between a Cisco router and devices using IP. TCP is a transport layer (Layer 4) Internet protocol that provides reliable full-duplex data transmission. The destination device can be any device using IP or an IP SLAs Responder.&lt;br /&gt;
&lt;br /&gt;
*************&lt;br /&gt;
&lt;br /&gt;
The IP SLAs ICMP Echo operation measures end-to-end response time between a Cisco router and any devices using IP. Response time is computed by measuring the time taken between sending an ICMP Echo request message to the destination and receiving an ICMP Echo reply. This operation does not require the IP SLAs Responder to be enabled.&lt;br /&gt;
&lt;br /&gt;
*************&lt;br /&gt;
&lt;br /&gt;
The IP SLAs ICMP Path Echo operation records statistics for each hop along the path that the IP SLAs operation takes to reach its destination. The ICMP Path Echo operation determines this hop-by-hop response time between a Cisco router and any IP device on the network by discovering the path using the traceroute facility.&lt;br /&gt;
&lt;br /&gt;
The source IP SLAs device uses traceroute to discover the path to the destination IP device.&lt;br /&gt;
&lt;br /&gt;
A ping is then used to measure the response time between the source IP SLAs device and each subsequent hop in the path to the destination IP device. This operation does NOT require the IP SLAs Responder to be enabled.&lt;br /&gt;
&lt;br /&gt;
*************&lt;br /&gt;
&lt;br /&gt;
The IP SLAs ICMP Path Jitter operation provides hop-by-hop jitter, packet loss, and delay measurement statistics in an IP network. The Path Jitter operation functions differently than the standard UDP Jitter operation, which provides total one-way data and total round-trip data.&lt;br /&gt;
&lt;br /&gt;
The ICMP Path Jitter operation can be used a supplement to the standard UDP Jitter operation. For example, results from the UDP Jitter operation may indicate unexpected delays or high jitter values; the ICMP Path Jitter operation could then be used to troubleshoot the network path and determine if traffic is bottlenecking in a particular segment along the transmission path.&lt;br /&gt;
&lt;br /&gt;
The operation first discovers the hop-by-hop IP route from the source to the destination using a traceroute utility, and then uses ICMP echoes to determine the response times, packet loss and approximate jitter values for each hop along the path. The jitter values obtained using the ICMP Path Jitter operation are approximates because ICMP only provides round trip times.&lt;br /&gt;
&lt;br /&gt;
The ICMP Path Jitter operation is NOT supported in the RTTMON MIB; configuration and performance data can only be obtained using the CLI.&lt;br /&gt;
&lt;br /&gt;
The ICMP Path Jitter operation functions by tracing the IP path from a source device to a specified destination device, then sending N number of Echo probes to each hop along the traced path, with a time interval of T milliseconds between each Echo probe. The operation as a whole is repeated at a frequency of once every F seconds. The attributes are user-configurable.&lt;br /&gt;
&lt;br /&gt;
The IP SLAs ICMP Path Jitter operation is ICMP-based. ICMP-based operations can compensate for source processing delay but cannot compensate for target processing delay. For more robust monitoring and verifying, use of the IP SLAs UDP Jitter operation is recommended.&lt;br /&gt;
&lt;br /&gt;
The jitter values obtained using the ICMP Path Jitter operation are approximates because ICMP does not provide the capability to embed processing times on routers in the packet. If the target router does not place ICMP packets as the highest priority, then the router will not respond properly. ICMP performance also can be affected by the configuration of priority queueing on the router and by ping response.&lt;br /&gt;
&lt;br /&gt;
Unlike other IP SLAs operations, the ICMP Path Jitter operation is not supported in the RTTMON MIB. Path Jitter operations can only be configured using the CLI, and statistics can only be returned using CLI show ip sla commands.&lt;br /&gt;
&lt;br /&gt;
In contrast with other IP SLAs operations, the IP SLAs Responder does NOT have to be enabled on either the target device or intermediate devices for Path Jitter operations. However, the operational efficiency may improve if you enable the IP SLAs Responder;&lt;br /&gt;
&lt;br /&gt;
*************&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The FTP operation measures the round-trip time (RTT) between a Cisco device and an FTP server to retrieve a file. FTP is an application protocol, part of the Transmission Control Protocol (TCP)/IP protocol stack, used for transferring files between network nodes.&lt;br /&gt;
&lt;br /&gt;
Both active and passive FTP transfer modes are supported. The passive mode is enabled by default. Only the FTP GET (download) operation type is supported. The URL specified for the FTP GET operation must be in one of the following formats:&lt;br /&gt;
&lt;br /&gt;
ftp://username:password@host/filename&lt;br /&gt;
ftp://host/filename&lt;br /&gt;
&lt;br /&gt;
If the username and password are not specified, the defaults are anonymous and test, respectively. FTP carries a significant amount of data traffic and can affect the performance of your network. The results of an IP SLAs FTP operation to retrieve a large file can be used to determine the capacity of the network but retrieve large files with caution because the FTP operation will consume more bandwidth. The FTP operation also measures your FTP server performance levels by determining the RTT taken to retrieve a file.&lt;br /&gt;
&lt;br /&gt;
*************&lt;br /&gt;
&lt;br /&gt;
The DNS operation measures the difference between the time taken to send a DNS request and receive a reply. DNS is used in the Internet for translating names of network nodes into addresses. The IP SLAs DNS operation queries for an IP address if you specify a host name, or queries for a host name if you specify an IP address.&lt;br /&gt;
&lt;br /&gt;
*************&lt;br /&gt;
&lt;br /&gt;
The Dynamic Host Configuration Protocol (DHCP) operation measures the round-trip time (RTT) taken to discover a DHCP server and obtain a leased IP address from it. DHCP provides a mechanism for allocating IP addresses dynamically so that addresses can be reused when hosts no longer need them. IP SLAs releases the leased IP address after the operation.&lt;br /&gt;
&lt;br /&gt;
There are two modes for the DHCP operation. By default, the DHCP operation sends discovery packets on every available IP interface on the router. If a specific server is configured on the router, using the ip dhcp-server command, discovery packets are sent only to that DHCP server.&lt;br /&gt;
&lt;br /&gt;
The DHCP operation also measures your DHCP server performance levels by determining the RTT taken to obtain a leased IP address.&lt;br /&gt;
&lt;br /&gt;
A DHCP relay agent is any host that forwards DHCP packets between clients and servers. Relay agents are used to forward requests and replies between clients and servers when they are not on the same physical subnet. Relay agent forwarding is distinct from the normal forwarding of an IP router, where IP packets are switched between networks somewhat transparently. Relay agents receive DHCP messages and then generate a new DHCP message to send out on another interface.&lt;br /&gt;
&lt;br /&gt;
The IP SLAs DHCP operation contains a relay agent information option—Option 82—which is inserted by the DHCP relay agent when forwarding client-originated DHCP packets to a DHCP server. Servers recognizing the relay agent information option may use the information to implement IP address or other parameter assignment policies. The DHCP server echoes the option back verbatim to the relay agent in server-to-client replies, and the relay agent strips the option before forwarding the reply to the client. Option 82 includes three suboptions that convey information known by the relay agent:&lt;br /&gt;
&lt;br /&gt;
circuit-id—identifies the incoming circuit.&lt;br /&gt;
remote-id—provides a trusted identifier for a remote high-speed modem.&lt;br /&gt;
subnet-mask—identifies the mask of the logical IP subnet from which the relay agent received the client DHCP packet.&lt;br /&gt;
&lt;br /&gt;
This operation does NOT require the IP SLAs responder to be enabled so there&lt;br /&gt;
are no tasks to be performed on the destination device.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Prerequisites for Multioperation Scheduling of IP SLAs Operations&lt;br /&gt;
&lt;br /&gt;
Configure the IP SLAs operations before group scheduling those operations.&lt;br /&gt;
&lt;br /&gt;
Determine the IP SLAs operations you want to schedule as a single group.&lt;br /&gt;
&lt;br /&gt;
Identify the network traffic type and the location of your network management station.&lt;br /&gt;
&lt;br /&gt;
Identify the topology and the types of devices in your network.&lt;br /&gt;
&lt;br /&gt;
Decide on the frequency of testing for each operation. Normal scheduling of IP SLAs operations allows you to schedule one operation at a time. If you have large networks with thousands of IP SLAs operations to monitor network performance, normal scheduling (scheduling each operation individually) will be inefficient and time-consuming.&lt;br /&gt;
&lt;br /&gt;
The IP SLAs multiple operations scheduling functionality allows you to schedule multiple IP SLAs operations as a group using the ip sla group schedule command. The following parameters can be configured with this command:&lt;br /&gt;
&lt;br /&gt;
Group operation number—Group configuration or group schedule number of the IP SLAs operation to be scheduled.&lt;br /&gt;
&lt;br /&gt;
Operation ID numbers—A list of IP SLAs operation ID numbers in the scheduled operation group.&lt;br /&gt;
&lt;br /&gt;
Schedule period—Amount of time for which the IP SLAs operation group is scheduled.&lt;br /&gt;
&lt;br /&gt;
Ageout—Amount of time to keep the operation in memory when it is not actively collecting&lt;br /&gt;
information. By default, the operation remains in memory indefinitely.&lt;br /&gt;
&lt;br /&gt;
Frequency—Amount of time after which each IP SLAs operation is restarted. When the frequency option is specified, it overwrites the operation frequency of all operations belonging to the group. Note that when the frequency option is not specified, the frequency for each operation is set to the value of the schedule period.&lt;br /&gt;
&lt;br /&gt;
Life—Amount of time the operation actively collects information. The operation can be configured to run indefinitely. By default, the lifetime of an operation is one hour.&lt;br /&gt;
&lt;br /&gt;
Start time—Time when the operation starts collecting information. You can specify an operation to start immediately or at an absolute start time using hours, minutes, seconds, day, and month. The IP SLAs multiple operations scheduling functionality schedules the maximum number of operations possible without aborting. However, this functionality skips those IP SLAs operations that are already running or those that are not configured and hence do not exist. The total number of operations will be calculated based on the number of operations specified in the command, irrespective of the number of operations that are missing or already running. The IP SLAs multiple operations scheduling functionality displays a message showing the number of active and missing operations. However, these messages are displayed only if you schedule operations that are not configured or are already running.&lt;br /&gt;
&lt;br /&gt;
A main benefit for scheduling multiple IP SLAs operations is that the load on the network is reduced by distributing the operations equally over a scheduled period. This distribution helps you to achieve more consistent monitoring coverage. To illustrate this scenario, consider configuring 60 operations to start during the same 1-second interval over a 60-second schedule period.&lt;br /&gt;
&lt;br /&gt;
If a network failure occurs 30 seconds after all 60 operations have started and the network is restored before the operations are due to start again (in another 30 seconds), then this failure would never be detected by any of the 60 operations. However, if the 60 operations are distributed equally at 1-second intervals over a 60-second schedule period, then some of the operations would detect the network failure. Conversely, if a network failure occurs when all 60 operations are active, then all 60 operations would fail, indicating that the failure is possibly more severe than it really is.&lt;br /&gt;
&lt;br /&gt;
Operations of the same type and same frequency should be used for IP SLAs multiple operations scheduling. If you do not specify a frequency, the default frequency will be the same as that of the schedule period. The schedule period is the period of time in which all the specified operations should run.&lt;br /&gt;
&lt;br /&gt;
The following sections explain the IP SLAs multiple operations scheduling process:&lt;br /&gt;
&lt;br /&gt;
Multiple operations scheduling allows you to schedule multiple IP SLAs operations using a single command through the command line interface (CLI) or the CISCO-RTTMON-MIB.&lt;br /&gt;
&lt;br /&gt;
This feature allows you to control the amount of IP SLAs monitoring traffic by scheduling the operations to run at evenly distributed times. You must specify the operation ID numbers to be scheduled and the time range over which all the IP SLAs operations should start. This feature automatically distributes the IP SLAs operations at equal intervals over a specified time frame. The spacing between the operations (start interval) is calculated and the operations are started. This distribution of IP SLAs operations helps minimize the CPU utilization and thereby enhances the scalability of the network.&lt;br /&gt;
&lt;br /&gt;
The IP SLAs Multiple Operations Scheduling feature allows you to schedule multiple IP SLAs&lt;br /&gt;
operations as a group using the ip sla group schedule command.&lt;br /&gt;
&lt;br /&gt;
The ip sla group schedule 1 1-10 schedule-period 20 [frequency 20] command is configured. This example schedules operation 1 to operation 10 within operation group 1. Operation group 1 has a schedule period of 20 seconds, which means that all operations in the group will be started at equal intervals within a 20-second period. By default, the frequency is set to the same value as the configured schedule period.&lt;br /&gt;
&lt;br /&gt;
IP SLAs entry configuration commands:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; dhcp&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; DHCP Operation&lt;br /&gt;
&amp;nbsp; dns&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DNS Query Operation&lt;br /&gt;
&amp;nbsp; ethernet&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ethernet Operations&lt;br /&gt;
&amp;nbsp; exit&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Exit Operation Configuration&lt;br /&gt;
&amp;nbsp; frame-relay&amp;nbsp; Frame-relay Operation&lt;br /&gt;
&amp;nbsp; ftp&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FTP Operation&lt;br /&gt;
&amp;nbsp; http&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HTTP Operation&lt;br /&gt;
&amp;nbsp; icmp-echo&amp;nbsp;&amp;nbsp;&amp;nbsp; ICMP Echo Operation&lt;br /&gt;
&amp;nbsp; icmp-jitter&amp;nbsp;&amp;nbsp;&amp;nbsp; ICMP Jitter Operation&lt;br /&gt;
&amp;nbsp; mpls&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MPLS Operation&lt;br /&gt;
&amp;nbsp; path-echo&amp;nbsp;&amp;nbsp; &amp;nbsp;Path Discovered ICMP Echo Operation&lt;br /&gt;
&amp;nbsp; path-jitter&amp;nbsp;&amp;nbsp;&amp;nbsp; Path Discovered ICMP Jitter Operation&lt;br /&gt;
&amp;nbsp; tcp-connect&amp;nbsp; TCP Connect Operation&lt;br /&gt;
&amp;nbsp; udp-echo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UDP Echo Operation&lt;br /&gt;
&amp;nbsp; udp-jitter&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UDP Jitter Operation&lt;br /&gt;
&amp;nbsp; voip&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Voice Over IP Operation&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#ip sla reaction-configuration 1&amp;nbsp; react ?&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;i&gt;jitterAvg&lt;/i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jitter Average in both the directions&lt;br /&gt;
&amp;nbsp;&lt;i&gt;jitterDSAvg&lt;/i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jitter Average in the direction from Destination to Source&lt;br /&gt;
&amp;nbsp;&lt;i&gt;jitterSDAvg&lt;/i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jitter Average in the direction from Source to Destination&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
*************&lt;br /&gt;
&lt;br /&gt;
#ip sla reaction-configuration 1&amp;nbsp; react jitterAvg threshold-type ?&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &lt;i&gt;average&amp;nbsp;&amp;nbsp;&lt;/i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Average over N attempts&lt;br /&gt;
&amp;nbsp; &lt;i&gt;consecutive&lt;/i&gt;&amp;nbsp; Consecutive occurrences&lt;br /&gt;
&amp;nbsp; &lt;i&gt;immediate&lt;/i&gt;&amp;nbsp;&amp;nbsp; React immediately&lt;br /&gt;
&amp;nbsp; &lt;i&gt;never&lt;/i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; Never react&lt;br /&gt;
&amp;nbsp; &lt;i&gt;xOfy&lt;/i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X out of Y occurrences&lt;br /&gt;
&lt;br /&gt;
*************&lt;br /&gt;
&lt;br /&gt;
#ip sla reaction-configuration 1&amp;nbsp; react jitterAvg action-type ?&lt;br /&gt;
&lt;i&gt;&amp;nbsp; none&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; No action&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp; trapAndTrigger&amp;nbsp; Trap and Trigger action&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp; trapOnly&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Trap Only action&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp; triggerOnly&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/i&gt;&amp;nbsp; Trigger Only action&lt;br /&gt;
&lt;br /&gt;
*************&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &lt;i&gt;packetLateArrival&lt;/i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Packets arriving Late&lt;br /&gt;
&amp;nbsp;&lt;i&gt; packetLoss&amp;nbsp;&amp;nbsp;&lt;/i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Packet Loss in both direction&lt;br /&gt;
&amp;nbsp; &lt;i&gt;packetLossDS&lt;/i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Packet Loss in the direction from Destination to Source&lt;br /&gt;
&amp;nbsp; &lt;i&gt;packetLossSD&amp;nbsp;&amp;nbsp;&lt;/i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Packet Loss in the direction from Source to Destination&lt;br /&gt;
&amp;nbsp; &lt;i&gt;packetMIA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Missing In Action&lt;br /&gt;
&amp;nbsp;&lt;i&gt; packetOutOfSequence&lt;/i&gt;&amp;nbsp;&amp;nbsp; Packets arriving out of sequence&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;IP SLAs Reaction Configuration -&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
IP SLAs can be configured to react to certain measured network conditions. For example, if IP SLAs measures too much jitter on a connection, IP SLAs can generate a notification to a network management application, or trigger another IP SLAs operation to gather more data.&lt;br /&gt;
&lt;br /&gt;
IP SLAs reaction configuration is performed using the ip sla reaction-configuration command. You can configure the ip sla reaction-configuration command multiple times so as to allow reactions for multiple monitored elements (for example, configuring thresholds for operation 1 for destination-to-source packet loss, and also configuring MOS thresholds for same operation). However, issuing the no ip sla reaction-configuration operation-number will clear all reactions for the specified operation. In other words, disabling of granular reaction elements (no ip sla reaction-configuration operation-number react monitored-element) is not currently supported, so as to provide backwards compatibility with the earlier version of this command.&lt;br /&gt;
&lt;br /&gt;
You can check the configuration of the IP SLAs reaction configuration using the &amp;lt;show ip sla&lt;br /&gt;
reaction-configuration&amp;gt; command.&lt;br /&gt;
&lt;br /&gt;
IP SLAs includes the capability for triggering SNMP notifications based on defined thresholds. This allows for proactive monitoring in an environment where IT departments can be alerted to potential network problems, rather than having to manually examine data.&lt;br /&gt;
&lt;br /&gt;
IP SLAs supports threshold monitoring for performance parameters such as average jitter, unidirectional latency and bidirectional round trip time and connectivity. This proactive monitoring capability provides options for configuring reaction thresholds for important VoIP related parameters including unidirectional jitter, unidirectional packet loss, and unidirectional VoIP voice quality scoring (MOS scores).&lt;br /&gt;
&lt;br /&gt;
IP SLAs can generate system logging (syslog) messages when a reaction condition occurs. These system logging messages can then be sent as SNMP notifications (traps) using the CISCO-RTTMON-MIB. For packet loss and jitter, notifications can be generated for violations in either direction (source to destination and destination to source) or for round trip values. Packet loss, jitter and MOS statistics are specific to IP SLAs Jitter operations. Notifications can also be triggered for other events, such as round-trip-time violations, for most IP SLAs monitoring operations.&lt;br /&gt;
&lt;br /&gt;
SNMP notifications (traps) for IP SLAs can be configured as a triggered action, to be sent when monitored values exceed an upper threshold or fall below a lower threshold, or when a set of defined conditions are met. For example, an SNMP trap can be triggered by 5 consecutive timeouts during an IP SLAs operation.&lt;br /&gt;
&lt;br /&gt;
The sending of SNMP traps is one of the options for triggered actions that can be configured for IP SLAs violations. The monitored values (also called monitored elements), the threshold type, and the triggered action are configured using the ip sla reaction-configuration global configuration mode command.&lt;br /&gt;
&lt;br /&gt;
SNMP traps for IP SLAs are supported by the CISCO-RTTMON-MIB and CISCO-SYSLOG-MIB. Use the ip sla logging traps command to enable the generation of SNMP system logging messages specific to IP SLAs trap notifications. Use the snmp-server enable traps rtr command to enable the sending of IP SLAs SNMP trap notifications.&lt;br /&gt;
&lt;br /&gt;
IP SLAs reactions are configured to be triggered when a monitored value exceeds or falls below a specified level, or when a monitored event (such as a timeout or connection loss) occurs. These monitored values and events are called monitored elements.&lt;br /&gt;
&lt;br /&gt;
Round-trip-time (rtt) is one of the monitored values of all IP SLAs operations. Events (such as traps) can be triggered when the rtt value rises above a specified threshold, or when it falls below a specified threshold. To configure rtt as the monitored element, use the following version of the ip sla reaction-configuration command:&lt;br /&gt;
&lt;br /&gt;
Jitter (interpacket delay variance) is one of the monitored values of IP SLAs UDP Jitter operations.&lt;br /&gt;
&lt;br /&gt;
Jitter values are computed as source-to-destination, destination-to-source, and combined round-trip values. Events (such as traps) can be triggered when the average jitter value in either direction, or in both directions, rises above a specified threshold, or when it falls below a specified threshold.&lt;br /&gt;
&lt;br /&gt;
Pactket loss is one of the monitored values of IP SLAs UDP Jitter operations. Jitter values are computed as source-to-destination and destination-to-source values. Events (such as traps) can be triggered when the jitter value in either direction rises above a specified threshold, or when it falls below a specified threshold.&lt;br /&gt;
&lt;br /&gt;
To configure source-to-destination packet loss as the monitored element, use the react PacketLossSD syntax in the ip sla reaction-configuration command.&lt;br /&gt;
&lt;br /&gt;
To configure destination-to-source jitter as the monitored element , use the react PacketLossDS syntax in the ip sla reaction-configuration command.&lt;br /&gt;
&lt;br /&gt;
Mean opinion score (MOS) is one of the monitored values of IP SLAs Jitter VoIP operations. MOS values are computed as numbers to two decimal places, from a value of 1.00 (worst quality) to 5.00 (best quality). Events (such as traps) can be triggered when the MOS value in either direction rises above a specified threshold, or when it falls below a specified threshold.&lt;br /&gt;
&lt;br /&gt;
To configure destination-to-source jitter as the monitored element , use the react mos syntax in the ip sla reaction-configuration command.&lt;br /&gt;
&lt;br /&gt;
The threhold-type syntax of the ip sla reaction-configuration command defines the type of threshold violation (or combination of threshold violations) that will trigger an event. Threshold violation types are as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;immediate&lt;/b&gt; - Triggers an event immediately when the value for a reaction type (such as response time) exceeds the upper threshold value or falls below the lower threshold value, or when a timeout, connectionLoss, or verifyError event occurs.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;consecutive&lt;/b&gt; - Triggers an event only after a violation occurs a specified number of times&lt;br /&gt;
consecutively. For example, the consecutive violation type could be used to configure an action to occur after a timeout occurs 5 times in a row, or when the round-trip-time exceeds the upper threshold value 5 times in a row&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;x of y &lt;/b&gt;- Triggers an event after some number (x) of violations within some other number (y) of probe operations (x of y)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;averaged&lt;/b&gt; - Triggers an event when the averaged totals of a value for x number of probe operations exceeds the specied upper-threshold value, or falls below the lower-threshold value. Configuring these threshold violation types is described in the following sections.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Generating Events for Each Violation -&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
To generate a trap (or trigger another operation) each time a specified condition is met, use the immediate threshold-type keyword:&lt;br /&gt;
&lt;br /&gt;
ip sla reaction-configuration operation-number react data-type threshold-type immediate&lt;br /&gt;
threshold-value raising-value falling-value action-type action-value&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Generating Events for Consecutive Violations -&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
To generate a trap (or trigger another operation) after a certain number (x) of consecutive violations, use the consecutive keyword with the optional number-of-occurrences argument:&lt;br /&gt;
ip sla reaction-configuration operation-number react reaction-condition threshold-type consecutive [number-of-occurances] threshold-value raising-value falling-value action-type action-value. The default value for number-of-occurances is 5.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Generating Events for x of y Violations -&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
To generate a trap (or trigger another operation) after some number (x) of violations within some other number (y) of probe operations (x of y), use the xofy [x-value y-value] syntax:&lt;br /&gt;
ip sla reaction-configuration operation-number react reaction-condition threshold-type xofy x-value y-value threshold-value raising-value falling-value action-type action-value&lt;br /&gt;
The default x-value and y-value is 5 (xofy 5 5).&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Generating Events for Averaged Violations -&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
To generate a trap (or trigger another operation) when the averaged totals of x number of probe operations violate a falling-threshold or rising-threshold, use the average [attempts] syntax:&lt;br /&gt;
&lt;br /&gt;
ip sla reaction-configuration operation-number react reaction-condition threshold-type average [attempts] threshold-value raising-value falling-value action-type action-value&lt;br /&gt;
The default value for attempts is 5.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Specifying Reaction Events -&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Action type options for the ip sla reaction-configuration command are as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;none&lt;/b&gt;—No action is taken.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;trapOnly&lt;/b&gt; - Send an SNMP logging trap when the specified violation type occurs for the monitored element. IP SLAs logging traps are enabled using the ip sla logging traps command. For SNMP logging traps to be sent, SNMP logging must be enabled using the appropriate SNMP commands, including the snmp-server enable traps syslog command.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;triggerOnly&lt;/b&gt; - Have one or more target operation&#39;s operational state make the transition from &quot;pending&quot; to &quot;active&quot; when the violation conditions are met. The target operations to be triggered are specified using the ip sla reaction-trigger command. A target operation will continue until its life expires, as specified by the target operation&#39;s configured lifetime value). A triggered target operation must finish its life before it can be triggered again.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;trapAndTrigger &lt;/b&gt;- Trigger both an SNMP trap and start another IP SLAs operation when the violation conditions are met, as defined in the trapOnly and triggerOnly options above.&lt;br /&gt;
&lt;br /&gt;
In the following example, IP SLAs operation 10 (a UDP Jitter operation) is configured to send an SNM logging trap when the MOS value exceeds 4.9 (best quality) of falls below 2.5 (poor quality)&lt;br /&gt;
&lt;br /&gt;
# ip sla reaction-configuration 10 react mos threshold-type immediate threshold-value 490 250 action-type trapOnly</content><link rel='replies' type='application/atom+xml' href='http://adrian-brayton.blogspot.com/feeds/5486353181096534025/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adrian-brayton.blogspot.com/2010/12/ip-sla1.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/5486353181096534025'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/5486353181096534025'/><link rel='alternate' type='text/html' href='http://adrian-brayton.blogspot.com/2010/12/ip-sla1.html' title='IP SLA'/><author><name>AMB</name><uri>http://www.blogger.com/profile/06504823466333018705</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-953358749295101840.post-7547443158411325376</id><published>2010-12-25T18:22:00.001-06:00</published><updated>2010-12-25T18:38:42.982-06:00</updated><title type='text'>The 3560 Ingress Queue</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;b&gt;3560 Ingress Queue (2 Input) -&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Inside a DOT1q tag you have &lt;span style=&quot;color: lime;&quot;&gt;COS&lt;/span&gt; or Priority Bits - 802.1p (&lt;span style=&quot;color: lime;&quot;&gt; Layer 2&lt;/span&gt; )&lt;br /&gt;
&lt;br /&gt;
The &lt;span style=&quot;color: red;&quot;&gt;DSCP&lt;/span&gt; value is located in the IP header. ( &lt;span style=&quot;color: red;&quot;&gt;Layer 3&lt;/span&gt; )&lt;br /&gt;
&lt;br /&gt;
Ingress QoS features such as classification, marking and policing can be configured on a per port basis.&lt;br /&gt;
&lt;br /&gt;
Input map tables and ingress queueing can be configured globally and can not be configured on a per port basis.&lt;br /&gt;
&lt;br /&gt;
You can Classify / Mark the frames based on the incoming CoS / DSCP values or an ACL in one of three ways and only one method per port.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfAE7Gey4Lt7-bkEUlYRhOjnDqcKyFuiGC6NN61lKEi4zkOYmEXMECquk0_uLh6rwCRvocfzbNMq19SUgdKsEyIcZyRT6sdIpavgYyYDkWroMa90i9Rbwu-vGKlrRO5VwbQCgsIkPtEBec/s1600/q1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;266&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfAE7Gey4Lt7-bkEUlYRhOjnDqcKyFuiGC6NN61lKEi4zkOYmEXMECquk0_uLh6rwCRvocfzbNMq19SUgdKsEyIcZyRT6sdIpavgYyYDkWroMa90i9Rbwu-vGKlrRO5VwbQCgsIkPtEBec/s400/q1.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span id=&quot;goog_1550436598&quot;&gt;&lt;/span&gt;&lt;span id=&quot;goog_1550436599&quot;&gt;&lt;/span&gt;&lt;i&gt;Port based configuration using the mls qos interface based commands.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
intf# mls qos cos &amp;lt;#&amp;gt; - This will NOT change the CoS values of a frame that is already tagged, this will only add the CoS value you specify to packets that do not already have a tag.&lt;br /&gt;
&lt;br /&gt;
intf# mls qos cos &amp;lt;#&amp;gt; override - This WILL change the CoS values of ALL frames that are tagged or untagged to the value that you designate.&lt;br /&gt;
&lt;br /&gt;
intf#mls qos extend cos &amp;lt;#&amp;gt; - Will allow you to keep the EF frames from the phone and designate the marking you would like to see attached to the packets received from the PC / Server Ect.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;MQC based configuration using class−map and policy−map&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7b02-ROEEkh_brag4KqThDd_d1CX4Cktr1ydt9SqEixmwuHd352CRXesD7EzF_bPrGDaNmkz62FOW5NBnvMKb0g2nLGtmDic4GTozFEte6RVCKAeQvf-K0g6MlZ_eyFnygbIb_cRZsfUW/s1600/q2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;266&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7b02-ROEEkh_brag4KqThDd_d1CX4Cktr1ydt9SqEixmwuHd352CRXesD7EzF_bPrGDaNmkz62FOW5NBnvMKb0g2nLGtmDic4GTozFEte6RVCKAeQvf-K0g6MlZ_eyFnygbIb_cRZsfUW/s400/q2.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;NOTE: PHB (Per Hop Behavior)&amp;nbsp; &lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
The configuration under each class of policy−map are called PHB actions. Marking, queuing,&lt;br /&gt;
policing, shaping and congestion avoidance are the supported PHB actions in Cisco &lt;b&gt;routers&lt;/b&gt;. &lt;br /&gt;
&lt;br /&gt;
Marking and Policing are the ONLY supported PHB actions in the Cisco Catalyst 3560 &lt;b&gt;Switch&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
The &lt;b&gt;set&lt;/b&gt; and &lt;b&gt;trust&lt;/b&gt; commands are Marking PHB actions.&lt;br /&gt;
&lt;br /&gt;
The &lt;b&gt;police&lt;/b&gt; command is the Policing PHB action.&lt;br /&gt;
&lt;br /&gt;
Policing can only be configured on the ingress port. Policing can only be configured through MQC and this means there is no interface specific command to police the traffic.&lt;br /&gt;
&lt;br /&gt;
Marking Example:&lt;br /&gt;
&lt;br /&gt;
policy−map Shelby&lt;br /&gt;
&amp;nbsp;class Class−A&lt;br /&gt;
&amp;nbsp;&amp;nbsp; trust cos&lt;br /&gt;
&amp;nbsp;class Class−B&lt;br /&gt;
&amp;nbsp;&amp;nbsp; set dscp af21&lt;br /&gt;
&lt;br /&gt;
The Cisco Catalyst 3560 Switch supports only single rate, single bucket policing. This means the switch meters at only one rate and it can profile the traffic in two colors conform and exceed action.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4SRIspVdyYDUMGEbVqzufnJHk0GS0RD8o2bkaeX61UOKHgkoIVSKj8lU64fRCQ2N3WmnvikjLVHyeup8L8dGGjSU3p_Bc9Ikwi_foz116RbqkZifgmSmpcoCvgkzZ6CJ02zlTHpT_Im_c/s1600/q3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;266&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4SRIspVdyYDUMGEbVqzufnJHk0GS0RD8o2bkaeX61UOKHgkoIVSKj8lU64fRCQ2N3WmnvikjLVHyeup8L8dGGjSU3p_Bc9Ikwi_foz116RbqkZifgmSmpcoCvgkzZ6CJ02zlTHpT_Im_c/s400/q3.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
Policing Example:&lt;br /&gt;
&lt;br /&gt;
Policy−map Oscar&lt;br /&gt;
&amp;nbsp;class Class−A&lt;br /&gt;
&amp;nbsp;&amp;nbsp; police 10000000 8000 exceed−action drop&lt;br /&gt;
&lt;br /&gt;
Policed−dscp map:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp; 3&amp;nbsp; 4&amp;nbsp;&amp;nbsp; 5&amp;nbsp;&amp;nbsp; 6&amp;nbsp;&amp;nbsp; 7&amp;nbsp; 8&amp;nbsp; 9&lt;br /&gt;
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−&lt;br /&gt;
&amp;nbsp; 0 : 00 01 02 03 04 05 06 07 08 09&lt;br /&gt;
&amp;nbsp; 1 : 10 11 12 13 14 15 16 17 18 19&lt;br /&gt;
&amp;nbsp; 2 : 20 21 22 23 24 25 26 27 28 29&lt;br /&gt;
&amp;nbsp; 3 : 30 31 32 33 34 35 36 37 38 39&lt;br /&gt;
&amp;nbsp; 4 : 40 41 42 43 44 45 &lt;b&gt;26&lt;/b&gt; 47 48 49&lt;br /&gt;
&amp;nbsp; 5 : 50 51 52 53 54 55 56 57 58 59&lt;br /&gt;
&amp;nbsp; 6 : 60 61 62 63&lt;br /&gt;
&lt;br /&gt;
mls qos map policed−dscp 46 to 26&lt;br /&gt;
&lt;br /&gt;
Policy−map Abby&lt;br /&gt;
&amp;nbsp;class Class−A&lt;br /&gt;
&amp;nbsp;&amp;nbsp; trust dscp&lt;br /&gt;
&amp;nbsp;&amp;nbsp; police 256000 8000 exceed−action policed−dscp−transmit&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;br /&gt;
SRR for ingress queue can be configured globally.&lt;br /&gt;
&lt;br /&gt;
3 Steps - &lt;br /&gt;
i.&amp;nbsp;&amp;nbsp;&amp;nbsp; Queuing &lt;br /&gt;
ii.&amp;nbsp;&amp;nbsp;&amp;nbsp; Dropping&lt;br /&gt;
iii.&amp;nbsp;&amp;nbsp;&amp;nbsp; Scheduling&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ingress queues use SRR (Shared Round Robin) and is the only mode supported.&lt;br /&gt;
&lt;br /&gt;
The queues share the bandwidth according to configured weights and are guaranteed this amount but not limited to it.&lt;br /&gt;
&lt;br /&gt;
sw1(config)#mls qos srr-queue input ?&lt;br /&gt;
&amp;nbsp; bandwidth&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Configure SRR bandwidth&lt;br /&gt;
&amp;nbsp; buffers&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Configure buffer allocation&lt;br /&gt;
&amp;nbsp; cos-map&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Configure cos-map for a queue id&lt;br /&gt;
&amp;nbsp; dscp-map&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Configure dscp-map for a queue id&lt;br /&gt;
&amp;nbsp; priority-queue&amp;nbsp; Configure priority scheduling&lt;br /&gt;
&amp;nbsp; threshold&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Configure queue tail-drop thresholds&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Queueing:&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
buffers&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Configure buffer allocation&lt;br /&gt;
cos-map&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Configure cos-map for a queue id&lt;br /&gt;
dscp-map&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Configure dscp-map for a queue id&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Scheduling:&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
bandwidth&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Configure SRR bandwidth&lt;br /&gt;
priority-queue&amp;nbsp;&amp;nbsp;&amp;nbsp; Configure priority scheduling&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Dropping:&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
threshold&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Configure queue tail-drop thresholds&lt;br /&gt;
&lt;br /&gt;
Each queue can support (3) threshold levels, the 3rd is 100% and cant be changed.&lt;br /&gt;
&lt;br /&gt;
On the ingress queue, queue 2 is the priority-queue unlike the output queue where queue 1 is the priority-queue.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; Dscp-inputq-threshold map:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; d1 :d2&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9 &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ------------------------------------------------------------&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 :&amp;nbsp;&amp;nbsp;&amp;nbsp; 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 :&amp;nbsp;&amp;nbsp;&amp;nbsp; 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2 :&amp;nbsp;&amp;nbsp;&amp;nbsp; 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3 :&amp;nbsp;&amp;nbsp;&amp;nbsp; 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4 :&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;i&gt;02-01 02-01 02-01 02-01 02-01 02-01 02-01 02-01&lt;/i&gt; 01-01 01-01 &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5 :&amp;nbsp;&amp;nbsp;&amp;nbsp; 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6 :&amp;nbsp;&amp;nbsp;&amp;nbsp; 01-01 01-01 01-01 01-01 &lt;br /&gt;
&lt;br /&gt;
By default as you can see, the DSCP values of 40-46 are place in queue 2.&lt;br /&gt;
&lt;br /&gt;
Queue 2 is the priority queue and is serviced for its configured weight (Default 10%) and the shares the remaining bandwidth 90% between queue 1 AND 2 so 45% each.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are (3) steps to configure queuing and scheduling.&lt;br /&gt;
&lt;br /&gt;
1. Queue Map configuration - &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Maps the packets to 1 of 2 queues based on CoS or DSCP&lt;br /&gt;
&lt;br /&gt;
2. Queue configuration - &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Defines the ratio with which to divide the ingress buffers between the (2) queues.&lt;br /&gt;
&lt;br /&gt;
3. Scheduler configuration -&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Defines the ratio of the weights that controls the frequency of dequeuing packets from the queues to the stack ring.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This will be a work in progress so hang tight...</content><link rel='replies' type='application/atom+xml' href='http://adrian-brayton.blogspot.com/feeds/7547443158411325376/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adrian-brayton.blogspot.com/2010/12/3560-ingress-queue.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/7547443158411325376'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/7547443158411325376'/><link rel='alternate' type='text/html' href='http://adrian-brayton.blogspot.com/2010/12/3560-ingress-queue.html' title='The 3560 Ingress Queue'/><author><name>AMB</name><uri>http://www.blogger.com/profile/06504823466333018705</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfAE7Gey4Lt7-bkEUlYRhOjnDqcKyFuiGC6NN61lKEi4zkOYmEXMECquk0_uLh6rwCRvocfzbNMq19SUgdKsEyIcZyRT6sdIpavgYyYDkWroMa90i9Rbwu-vGKlrRO5VwbQCgsIkPtEBec/s72-c/q1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-953358749295101840.post-8339428718626358987</id><published>2010-12-11T18:34:00.000-06:00</published><updated>2010-12-11T18:34:25.459-06:00</updated><title type='text'>Nexus Notes ~ Continued</title><content type='html'>DCNM - Data Center Network management&lt;br /&gt;
&lt;br /&gt;
Configuration Rollback-&lt;br /&gt;
&lt;br /&gt;
This feature enables you to take a snapshot or checkpoint of the current&lt;br /&gt;
running configuration and re-apply it at any point without the need to&lt;br /&gt;
reload.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;3 Types of Configuration rollback&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Atomic - Implement only if there are no errors&lt;br /&gt;
&lt;br /&gt;
Best-Effort - Implement a roll back and skip any errors&lt;br /&gt;
&lt;br /&gt;
Stop-at-first-failure - Implement a roll back and stop at the first error.&lt;br /&gt;
&lt;br /&gt;
Limitations-&lt;br /&gt;
&lt;br /&gt;
10 snapshots per VDC&lt;br /&gt;
&lt;br /&gt;
You can not use one snapshot made in one VDC and apply it to the&lt;br /&gt;
configuration of another VDC&lt;br /&gt;
&lt;br /&gt;
You can not apply a snapshot in a non-default VDC if there is a change to&lt;br /&gt;
the global configuration&lt;br /&gt;
&lt;br /&gt;
Filename 75 characters or less&lt;br /&gt;
&lt;br /&gt;
You can not start the file name with AUTO or SUMMARY&lt;br /&gt;
&lt;br /&gt;
A write erase and reload destroys the snapshot&lt;br /&gt;
&lt;br /&gt;
To change which VDC you are in&lt;br /&gt;
&lt;br /&gt;
#switchto vdc&lt;br /&gt;
&lt;br /&gt;
To create a snapshot&lt;br /&gt;
&lt;br /&gt;
#checkpoint &amp;lt;snapshot-filename&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;To rollback to a checkpoint&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
#rollback running-config checkpoint &amp;lt;snapshot-filename&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you do not have dual supervisors in the N7k, you cant use the ISSU&lt;br /&gt;
&lt;br /&gt;
VDCs cant be shut down and restarted.&lt;br /&gt;
&lt;br /&gt;
Steps needed to create a VDC and assign resources to it:&lt;br /&gt;
&lt;br /&gt;
Note: VDC(s) are always created from the default admin VDC context (VDC 1)&lt;br /&gt;
&lt;br /&gt;
#vdc &amp;lt;name of VDC&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Allocate interfaces to a VDC&lt;br /&gt;
&lt;br /&gt;
#vdc &amp;lt;name&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#allocate interface ethernet1/17&lt;br /&gt;
&lt;br /&gt;
#show vdc membership &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Connectivity Management Processor-&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Supports remote management and troubleshooting of the complete system.&lt;br /&gt;
This provides complete out-of-band management that is completely&lt;br /&gt;
independent independent from the primary OS. It has its own processor,&lt;br /&gt;
memory and bootflash and even a separate ethernet management port.&lt;br /&gt;
&lt;br /&gt;
#attach cmp</content><link rel='replies' type='application/atom+xml' href='http://adrian-brayton.blogspot.com/feeds/8339428718626358987/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adrian-brayton.blogspot.com/2010/12/nexus-notes-continued.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/8339428718626358987'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/8339428718626358987'/><link rel='alternate' type='text/html' href='http://adrian-brayton.blogspot.com/2010/12/nexus-notes-continued.html' title='Nexus Notes ~ Continued'/><author><name>AMB</name><uri>http://www.blogger.com/profile/06504823466333018705</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-953358749295101840.post-6959814454898538352</id><published>2010-12-10T13:45:00.002-06:00</published><updated>2010-12-10T17:42:28.441-06:00</updated><title type='text'>FCoE (Fiber-Channel over Ethernet)</title><content type='html'>&lt;div class=&quot;Section1&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Fiber-Channel Layers &lt;br /&gt;
&lt;br /&gt;
5 Layers / 0 - 4 (FC0 - FC4) &lt;br /&gt;
&lt;br /&gt;
Layer 0 - Physical Interface &lt;br /&gt;
&lt;br /&gt;
Layer 1 - FC1 Encoding &lt;br /&gt;
&lt;br /&gt;
Layer 2 - FC2 Framing &amp;amp; Flow Control &lt;br /&gt;
&lt;br /&gt;
Layer 3 - FC3 Common Services &lt;br /&gt;
&lt;br /&gt;
Layer 4 - FC4 Protocol Mapping Layer &lt;br /&gt;
&lt;br /&gt;
FCoE (Fiber-Channel over Ethernet) &lt;br /&gt;
&lt;br /&gt;
System MTU 2240 (Default) &lt;br /&gt;
&lt;br /&gt;
Frame size (2112 Bytes) Baby Jumbo &lt;br /&gt;
&lt;br /&gt;
FCoE ether type value 16 bits (0x8906)&lt;br /&gt;
&lt;br /&gt;
____________________ &lt;br /&gt;
&lt;br /&gt;
Data Center Enhanced Ethernet&lt;br /&gt;
&lt;br /&gt;
i) Priority Flow Control&lt;br /&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adrian-brayton.blogspot.com/feeds/6959814454898538352/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adrian-brayton.blogspot.com/2010/12/fcoe-fiber-channel-over-ethernet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/6959814454898538352'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/6959814454898538352'/><link rel='alternate' type='text/html' href='http://adrian-brayton.blogspot.com/2010/12/fcoe-fiber-channel-over-ethernet.html' title='FCoE (Fiber-Channel over Ethernet)'/><author><name>AMB</name><uri>http://www.blogger.com/profile/06504823466333018705</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-953358749295101840.post-4979700384092684530</id><published>2010-12-10T13:01:00.003-06:00</published><updated>2010-12-11T18:35:39.982-06:00</updated><title type='text'>Nexus Notes</title><content type='html'>&lt;div class=&quot;Section1&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
The Nexus 7000 switch supports 4096 VLANs per Virtual Device Context (VDC) for a system total of ~16k VLANs. Some of these VLANs are used by system-level functions and are not user-configurable. &lt;br /&gt;
&lt;br /&gt;
Bridge Assurance is a new feature that can eliminate issues caused by a malfunctioning bridge. With Bridge Assurance, all ports send and receive BPDUs on all VLANs regardless of their state. &lt;br /&gt;
&lt;br /&gt;
This creates a bidirectional keepalive using BPDUs, and if a bridge stops receiving BPDUs, these ports are placed into an inconsistent state. This functionality can prevent loops that can be introduced as a result of a malfunctioning bridge. Bridge Assurance is enabled by default on any port that is configured with a spanningtree port type network but can be disabled globally with the following command: &lt;br /&gt;
&lt;br /&gt;
(config)# no spanning-tree bridge assurance &lt;br /&gt;
&lt;br /&gt;
To enable Bridge Assurance by setting the spanning-tree port type, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
(config)# int port-channel 1 &lt;br /&gt;
&lt;br /&gt;
(config-if)# spanning-tree port type network &lt;br /&gt;
&lt;br /&gt;
An interesting side effect of Bridge Assurance is an automatic pruning function. &lt;br /&gt;
&lt;br /&gt;
In the topology, if a VLAN is defined on&amp;nbsp; but not on , Bridge Assurance puts that VLAN into a blocking state because it is not receiving BPDUs for that VLAN. &lt;br /&gt;
&lt;br /&gt;
(config)# port-profile COMMUNITY1&lt;br /&gt;
&lt;br /&gt;
(config-ppm)# switchport &lt;br /&gt;
&lt;br /&gt;
(config-ppm)# switchport mode access &lt;br /&gt;
&lt;br /&gt;
(config-ppm)# switchport private-vlan host-association 100 102 &lt;br /&gt;
&lt;br /&gt;
(config-ppm)# spanning-tree port type edge &lt;br /&gt;
&lt;br /&gt;
(config-ppm)# spanning-tree bpdufilter enable &lt;br /&gt;
&lt;br /&gt;
(config-ppm)# spanning-tree bpduguard enable &lt;br /&gt;
&lt;br /&gt;
(config-ppm)# no shutdown &lt;br /&gt;
&lt;br /&gt;
(config-ppm)# state enabled &lt;br /&gt;
&lt;br /&gt;
(config)# interface ethernet 2/28 &lt;br /&gt;
&lt;br /&gt;
(config-if)# inherit port-profile COMMUNITY1 &lt;br /&gt;
&lt;br /&gt;
The vPC peer-keepalive link can be either 1 Gbps or 10 Gbps. &lt;br /&gt;
&lt;br /&gt;
vPC peer link:Used to exchange state information between the vPC peers and also provides additional mechanisms that can detect and prevent split-brain scenarios. &lt;br /&gt;
&lt;br /&gt;
Note:The mgmt0 interface can be used as the vPC peer-keepalive link but should be avoided if at all possible. &lt;br /&gt;
&lt;br /&gt;
On the Nexus 7000, the mgmt0 is actually a logical interface representing the physical management port of the active supervisor.&lt;br /&gt;
&lt;br /&gt;
During processes such as supervisor switchover during hardware failure or In-Service Software Upgrades (ISSU), the physical link&lt;br /&gt;
&lt;br /&gt;
supporting the mgmt0 interface might change, causing a disruption of the keepalive messages. By using normal switch interfaces, additionallevels of redundnancy in the port-channels can be used. &lt;br /&gt;
&lt;br /&gt;
If the mgmt0 interface is used as the peer-keepalive link, it is critical to ensure thatall physical management ports are connected to an external device, such as a management switch. &lt;br /&gt;
&lt;br /&gt;
Create VRF for the VPC keepalive link:&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
(config-if)# vrf context vpc-keepalive &lt;br /&gt;
&lt;br /&gt;
(config)# vrf context vpc-keepalive &lt;br /&gt;
&lt;br /&gt;
(config)# int ethernet 2/47 &lt;br /&gt;
&lt;br /&gt;
(config-if)# vrf member vpc-keepalive &lt;br /&gt;
&lt;br /&gt;
(config-if)# ip address 1.1.1.1 255.255.255.252&lt;br /&gt;
&lt;br /&gt;
(config)# interface ethernet 2/48&lt;br /&gt;
&lt;br /&gt;
(config-if)# no switchport&lt;br /&gt;
&lt;br /&gt;
(config-if)# vrf member vpc-keepalive&lt;br /&gt;
&lt;br /&gt;
(config-if)# ip address 1.1.1.2 255.255.255.252&lt;br /&gt;
&lt;br /&gt;
(config-if)# vrf context vpc-keepalive&lt;br /&gt;
&lt;br /&gt;
(config)# vrf context vpc-keepalive &lt;br /&gt;
&lt;br /&gt;
(config)# vpc domain 1&lt;br /&gt;
&lt;br /&gt;
(config-vpc-domain)# peer-keepalive destination 1.1.1.2 source 1.1.1.1 vrf vpckeepalive &lt;br /&gt;
&lt;br /&gt;
(config)# vpc domain 1 &lt;br /&gt;
&lt;br /&gt;
(config-vpc-domain)# peer-keepalive destination 1.1.1.1 source 1.1.1.2 vrf vpc-keepalive&lt;br /&gt;
&lt;br /&gt;
(config)# interface port-channel 100&lt;br /&gt;
&lt;br /&gt;
(config-if)# vpc peer-link&lt;br /&gt;
&lt;br /&gt;
Please note that spanning tree port type is changed to “network” port type on vPC peerlink. This will enable spanning tree Bridge Assurance on vPC peer-link provided the STP Bridge Assurance (which is enabled by default) is not disabled. &lt;br /&gt;
&lt;br /&gt;
(config-if)# switchport mode trunk &lt;br /&gt;
&lt;br /&gt;
(config)# interface port-channel 100 &lt;br /&gt;
&lt;br /&gt;
(config-if)# vpc peer-link &lt;br /&gt;
&lt;br /&gt;
(config)# interface ethernet 2/1 &lt;br /&gt;
&lt;br /&gt;
(config-if)# channel-group 1 mode active &lt;br /&gt;
&lt;br /&gt;
(config)# interface port-channel 1 &lt;br /&gt;
&lt;br /&gt;
(config-if)# switchport&lt;br /&gt;
&lt;br /&gt;
(config-if)# switchport mode trunk&lt;br /&gt;
&lt;br /&gt;
(config-if)# vpc 1 &lt;br /&gt;
&lt;br /&gt;
VPC Peer-Gateway&lt;br /&gt;
&lt;br /&gt;
This feature is designed to enable certain storage, application servers or load balancers to implement fast-path functionality.&lt;br /&gt;
&lt;br /&gt;
This causes nodes to send return traffic to a specific MAC address of the sender rather than HSRP address. &lt;br /&gt;
&lt;br /&gt;
By default, this traffic might be dropped as VPC loop avoidance does not allow traffic received on a VPC peer-link to be forwarded out a VPC interface (loop avoidance). &lt;br /&gt;
&lt;br /&gt;
A VPC Peer-Gateway enables the VPC peer device to forward packets destined for its peer router MAC locally. To enable the peer-gateway, enter the following command: &lt;br /&gt;
&lt;br /&gt;
(config-vpc-domain)# peer-gateway &lt;br /&gt;
&lt;br /&gt;
(config)# power redundancy-mode ?&lt;br /&gt;
&lt;br /&gt;
combined&amp;nbsp;&amp;nbsp; Configure power supply redundancy mode as combined&lt;br /&gt;
&lt;br /&gt;
insrc-redundant&amp;nbsp; Configure power supply redundancy mode as grid/AC input source redundant &lt;br /&gt;
&lt;br /&gt;
vPC Concepts&lt;br /&gt;
&lt;br /&gt;
The following list defines critical vPC concepts:&lt;br /&gt;
&lt;br /&gt;
vPC: vPC refers to the combined PortChannel between the vPC peer devices and the downstream device. &lt;br /&gt;
&lt;br /&gt;
vPC peer switch: The vPC peer switch is one of a pair of switches that are connected to the special PortChannel known as the vPC peer link. One device will be selected as the primary device, and the other will be the secondary device.&lt;br /&gt;
&lt;br /&gt;
vPC peer link: The vPC peer link is the link used to synchronize states between the vPC peer devices. The vPC peer link carries control traffic between two vPC switches and also multicast, broadcast data traffic. In some link failure scenarios, it also carries unicast traffic. You should have at least two 10 Gigabit Ethernet interfaces for peer links.&lt;br /&gt;
&lt;br /&gt;
vPC domain: This domain includes both vPC peer devices, the vPC peer keepalive link, and all the PortChannels in the vPC connected to the downstream devices. It is also associated with the configuration mode that you must use to assign vPC global parameters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
vPC peer keepalive link: The peer keepalive link monitors the vitality of a vPC peer switch. The peer keepalive link sends periodic keepalive messages between vPC peer devices. The vPC peer keepalive link can be a management interface or switched virtual interface (SVI). No data or synchronization traffic moves over the vPC peer keepalive link; the only traffic on this link is a message that indicates that the originating switch is operating and running vPC. &lt;br /&gt;
&lt;br /&gt;
vPC member port: vPC member ports are interfaces that belong to the vPCs.&lt;br /&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adrian-brayton.blogspot.com/feeds/4979700384092684530/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adrian-brayton.blogspot.com/2010/12/nexus-notes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/4979700384092684530'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/953358749295101840/posts/default/4979700384092684530'/><link rel='alternate' type='text/html' href='http://adrian-brayton.blogspot.com/2010/12/nexus-notes.html' title='Nexus Notes'/><author><name>AMB</name><uri>http://www.blogger.com/profile/06504823466333018705</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>