<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>onvox.net &#187; Cisco</title>
	<atom:link href="http://onvox.net/tag/cisco/feed" rel="self" type="application/rss+xml" />
	<link>http://onvox.net</link>
	<description></description>
	<lastBuildDate>Wed, 06 Apr 2011 15:46:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Suppress %SNMP-3-AUTHFAIL Logging</title>
		<link>http://onvox.net/networking/suppress-snmp-3-authfail-logging</link>
		<comments>http://onvox.net/networking/suppress-snmp-3-authfail-logging#comments</comments>
		<pubDate>Wed, 23 Mar 2011 16:37:21 +0000</pubDate>
		<dc:creator>Jonathan Voss</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Catalyst]]></category>
		<category><![CDATA[IOS]]></category>

		<guid isPermaLink="false">http://onvox.net/?p=247</guid>
		<description><![CDATA[For a while now, security scanning software and users have been triggering an onslaught of %SNMP-3-AUTHFAIL messages in our device logs. This rather annoying message often obscures other events that may be more important. Old mentality would tell you to simply create a logging discriminator and be done with it. However, I recently learned of [...]]]></description>
			<content:encoded><![CDATA[<p>For a while now, security scanning software and users have been triggering an onslaught of %SNMP-3-AUTHFAIL messages in our device logs. This rather annoying message often obscures other events that may be more important. Old mentality would tell you to simply create a logging discriminator and be done with it. However, I recently learned of a little undocumented gem in IOS that saves the day:</p>
<pre>
hostname(config)#no logging snmp-authfail
</pre>
<p>Do not trust the almighty &#8216;<code>?</code>&#8216; command. It will not show up as a valid option. However, when actually executing the command, it has worked in every IOS case I have tried.</p>
]]></content:encoded>
			<wfw:commentRss>http://onvox.net/networking/suppress-snmp-3-authfail-logging/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a lossless Ethernet network with Cisco NX-OS</title>
		<link>http://onvox.net/networking/creating-a-lossless-ethernet-network-with-cisco-nx-os</link>
		<comments>http://onvox.net/networking/creating-a-lossless-ethernet-network-with-cisco-nx-os#comments</comments>
		<pubDate>Fri, 14 Jan 2011 01:35:55 +0000</pubDate>
		<dc:creator>Jonathan Voss</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Nexus]]></category>
		<category><![CDATA[NX-OS]]></category>

		<guid isPermaLink="false">http://onvox.net/?p=222</guid>
		<description><![CDATA[For the purpose of this article, this configuration and discussion pertains to a Cisco Nexus 5020 switch running NX-OS version 4.1(3)N1(1a). Given what seems to be a variety of changes to the CLI configuration process for the Nexus, this may or may not work for you. I felt it was important to write myself a [...]]]></description>
			<content:encoded><![CDATA[<p>For the purpose of this article, this configuration and discussion pertains to a Cisco Nexus 5020 switch running NX-OS version 4.1(3)N1(1a). Given what seems to be a variety of changes to the CLI configuration process for the Nexus, this may or may not work for you. </p>
<p>I felt it was important to write myself a reminder of how to create a lossless Ethernet network using Cisco Nexus devices as QoS on this platform seems to be similar, yet, take a divergent path from the methodology of configuring QoS on the Catalyst series. In this example we will assume we are working users that are requesting that any traffic marked with CoS 5 be placed in the no-drop queue. The flagship example of this is the Fiber Channel over Ethernet (FCoE) configuration present in the system configuration, although they use CoS 3, by default.</p>
<p>The first step is to create a <code>qos</code> class-map:</p>
<pre>
class-map type qos MATCH-COS-FIVE
  match cos 5
</pre>
<p>Next create a <code>qos</code> policy-map to set the <code>qos-group</code> to 2:</p>
<pre>
policy-map type qos SET-QOS-GROUP-TWO
  class MATCH-COS-FIVE
    set qos-group 2
</pre>
<p><code>qos-group 1</code> is a system default for the FCoE configuration. Setting this to our own group allows us to have different parameters for FCoE should you need to manipulate it differently in the future.</p>
<p>Next create a <code>network-qos</code> class-map to match <code>qos-group 2</code>:</p>
<pre>
class-map type network-qos MATCH-QOS-GROUP-TWO
  match qos-group 2
</pre>
<p>Now, create a policy-map you wish to use to manage QoS on a system wide level and ensure traffic matching <code>qos-group 2</code> is in the no-drop queue.</p>
<pre>
policy-map type network-qos SYSTEM-QOS-POLICY
  class type network-qos MATCH-QOS-GROUP-TWO
    pause no-drop
  class type network-qos class-default
    mtu 9216
</pre>
<p>In this case the class-default matches other traffic and permits the MTU to be jumbo framed at 9216 bytes.</p>
<p>Apply the system policy we created to <code>system qos</code>:</p>
<pre>
system qos
  service-policy type network-qos SYSTEM-QOS-POLICY
</pre>
<p>We are now at the point where matching CoS values can be done on a system-wide level or per interface. To apply the policy system-wide:</p>
<pre>
system qos
  service-policy type qos SET-QOS-GROUP-TWO
</pre>
<p>Be aware that if you are running within a VPC domain that this may very well cause a system compatibility failure and disable links within your VPC domain. Apply this configuration domain-wide if you are interested in have this feature across multiple switches.</p>
<p>Otherwise you can apply the CoS matching on a per interface level:</p>
<pre>
interface Ethernet1/1
  service-policy type qos input SET-QOS-GROUP-TWO
</pre>
<p>To verify packets are matching your newly defined <code>qos-group</code>:</p>
<pre>
switch# show queuing interface Ethernet 1/10
</pre>
<p>If traffic is being sent that is tagged with CoS 5 you should be seeing traffic on your <code>qos-group</code>:</p>
<pre>
qos-group  2:
    q-size: 81920, MTU: 9216
    drop-type: no-drop, xon: 128, xoff: 230
    Statistics:
        Pkts received over the port             : 2767031
        Ucast pkts sent to the cross-bar        : 2767030
        Mcast pkts sent to the cross-bar        : 1
        Ucast pkts received from the cross-bar  : 270664
        Pkts sent to the port                   : 270664
        Pkts discarded on ingress               : 0
        Per-priority-pause status               : Rx (Inactive), Tx (Inactive)
</pre>
<p>All should be well and drop-type should be reading no-drop. If you are interested in applying bandwidth shaping, then this can be accomplished in a similar manner using the <code>queuing</code> type class and policy maps to map and take action with traffic in <code>qos-group 2</code>. That service policy can also be applied system-wide or on an interface level as shown above.</p>
]]></content:encoded>
			<wfw:commentRss>http://onvox.net/networking/creating-a-lossless-ethernet-network-with-cisco-nx-os/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enabling IPv6 on Cisco Catalyst 3750 Devices</title>
		<link>http://onvox.net/networking/enabling-ipv6-on-cisco-catalyst-3750-devices</link>
		<comments>http://onvox.net/networking/enabling-ipv6-on-cisco-catalyst-3750-devices#comments</comments>
		<pubDate>Tue, 09 Feb 2010 18:00:32 +0000</pubDate>
		<dc:creator>Jonathan Voss</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[IPv6]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[3750]]></category>
		<category><![CDATA[Catalyst]]></category>
		<category><![CDATA[IOS]]></category>

		<guid isPermaLink="false">http://onvox.net/?p=169</guid>
		<description><![CDATA[I was recently baffled to see that when I entered configuration mode within a VLAN interface on a Catalyst access layer switch that I could not set any IPv6 options! It turns out that by default, SDM prefers what it calls the “desktop default” template. This means it is optimized for IPv4 and does not [...]]]></description>
			<content:encoded><![CDATA[<p>I was recently baffled to see that when I entered configuration mode within a VLAN interface on a Catalyst access layer switch that I could not set any IPv6 options! It turns out that by default, SDM prefers what it calls the “desktop default” template. This means it is optimized for IPv4 and does not include IPv6 support. Fortunately a quick but painful fix to this is to change the prefered SDM template from “desktop default” to “dual-ipv4-and-ipv6″:</p>
<pre>
Switch>enable
Switch#config t
Switch(config)#sdm prefer dual-ipv4-and-ipv6
Switch(config)#end
Switch#reload
</pre>
<p>Unfortunately, you will need to reload (reboot) the device in order for the changes to take place, which will obviously incur annoying downtime for your users. Once the device has reloaded you can verify by issuing a <code>show sdm prefer</code> command which should look something like this:</p>
<pre>
Switch#show sdm  prefer
 The current template is "desktop IPv4 and IPv6 default" template.
 The selected template optimizes the resources in
 the switch to support this level of features for
 8 routed interfaces and 1024 VLANs.

  number of unicast mac addresses:                  2K
  number of IPv4 IGMP groups + multicast routes:    1K
  number of IPv4 unicast routes:                    3K
    number of directly-connected IPv4 hosts:        2K
    number of indirect IPv4 routes:                 1K
  number of IPv6 multicast groups:                  1.125k
  number of directly-connected IPv6 addresses:      2K
  number of indirect IPv6 unicast routes:           1K
  number of IPv4 policy based routing aces:         0
  number of IPv4/MAC qos aces:                      0.5K
  number of IPv4/MAC security aces:                 1K
  number of IPv6 policy based routing aces:         0
  number of IPv6 qos aces:                          0.5K
  number of IPv6 security aces:                     0.5K
</pre>
<p>Now you should be able to configure IPv6 interfaces and ACLs.</p>
]]></content:encoded>
			<wfw:commentRss>http://onvox.net/networking/enabling-ipv6-on-cisco-catalyst-3750-devices/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dual NAT Load-Balancing with Cisco</title>
		<link>http://onvox.net/networking/dual-nat-load-balancing-with-cisco</link>
		<comments>http://onvox.net/networking/dual-nat-load-balancing-with-cisco#comments</comments>
		<pubDate>Sat, 09 Jan 2010 04:46:17 +0000</pubDate>
		<dc:creator>Jonathan Voss</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[IOS]]></category>
		<category><![CDATA[NAT]]></category>

		<guid isPermaLink="false">http://onvox.net/?p=153</guid>
		<description><![CDATA[Load balancing through two NAT connections is now partially possible with the use of some tricky configurations within Cisco IOS running on integrated services routers. I recently was tasked with configuring this scenario and found that Cisco has documented a way of doing this. Although their guide describes this process in enough detail to fit [...]]]></description>
			<content:encoded><![CDATA[<p>Load balancing through two NAT connections is now partially possible with the use of some tricky configurations within Cisco IOS running on integrated services routers. I recently was tasked with configuring this scenario and found that Cisco has <a href="http://www.cisco.com/en/US/tech/tk648/tk361/technologies_configuration_example09186a00808d2b72.shtml">documented</a> a way of doing this.</p>
<p>Although their guide describes this process in enough detail to fit a lot of different situations, I felt it would be useful to revisit the configuration process in hopes of helping other people facing similar requirements and for my own documentation purposes.</p>
<p>Everything in this article was used specifically with a Cisco 1811 router running 12.4(24)T2 Advanced IP Services software, however the majority of this guide should work with any recent integrated service router with advanced IP services.</p>
<p><strong>Scenario</strong></p>
<p>This example describes a router that has one DHCP-configured interface to one ISP and one static address to another ISP, each on different WAN interfaces of this router. You should configure policy-based routing will be configured for specific or secure traffic (such as HTTPS, SSH, etc) to ensure that it always uses one ISP connection. Fail-over redundancy will also be configured in the event one of these connections become unavailable. This configuration also assumes the interfaces and NAT has already been configured for each connection.</p>
<p><strong>Configuration</strong></p>
<p>Specify the desired object tracking timer for interfaces in seconds. I used 5 as did the Cisco documentation:</p>
<pre>track timer interface 5</pre>
<p>Next create new tracked SLA objects &#8211; one for each of the ISP connections, and add desired delay change notifications in seconds:</p>
<pre>track 100 ip sla 1 reachability
 delay down 15 up 10
track 200 ip sla 2 reachability
 delay down 15 up 10
</pre>
<p>For an interface running DHCP, route tracking can be enabled with the following interface configuration command:</p>
<pre>ip dhcp client route track 100</pre>
<p>*Where 100 is the desired tracking object number created above</p>
<p>Modify the static IP default route entry for the static IP connection to be tracked:</p>
<pre>ip route 0.0.0.0 0.0.0.0 interface FastEthernet1 [next hop] <span style="color: #ff9900;">254</span> track <span style="color: #ff0000;">200</span></pre>
<p>The digits in orange signify the metric for this static route. Since the DHCP learned route has a metric of 254, I set this static default route with the same metric so that equal-cost load balancing could be achieved. The red digits should match the desired object track number we created earlier.</p>
<p>Next configure an OER tracking entry to monitor each ISP connection. The <code>icmp-echo</code> line can be a difficult choice. It is important to identify an address to ping that is reachable only through that connection. With the addition of the <code>source-interface</code> line referencing an outside interface with a global address, I do not believe this to be an issue in the majority of topologies as the echo reply would never make it back the device, however I have not had sufficient time to experiment with this case to see how this works in reality.</p>
<pre>ip sla 1
 icmp-echo 172.31.100.1 source-interface FastEthernet0
 timeout 1000
 threshold 40
 frequency 3
ip sla 2
 icmp-echo 172.31.200.1 source-interface FastEthernet1
 timeout 1000
 threshold 40
 frequency 3</pre>
<p>Schedule the new SLAs for start time and duration:</p>
<pre>ip sla schedule 1 life forever start-time now
ip sla schedule 2 life forever start-time now</pre>
<p><strong>Fail-over redundancy</strong></p>
<p>Tacked on to the route-maps configured to allow NAT, I added an additional permit sequence that set the next hop based on availability:</p>
<pre>route-map NET1 permit 10
  match ip address NETWORK1
  set ip next-hop verify-availability [primary route] 10 track 100
  set ip next-hop verify-availability [secondary route] 20 track 200
route-map NET2 permit 10
  match ip address NETWORK2
  set ip next-hop verify-availability [primary route] 10 track 200
  set ip next-hop verify-availability [secondary route] 20 track 100</pre>
<p>This will set specify which router should be primary for each network. In this case I set each network&#8217;s primary route to a different connection in an effort to spread the load but still ensure both networks work in the event either ISP connection were to fail.</p>
<p><strong>Conclusion</strong></p>
<p>So now that load-balancing has somewhat been configured on the device, it is time to talk about the feasibility. The one point to take away from this is that it is not true load-balancing even if there are two equal default routes to choose. This is because the nature of NAT will force the session on to one of the two connections.  My suggestion is to use this but limit the subnets to use one primarily and the other for backup, alternating the networks between the two WAN connections. In the end, this is what I did and has been a wonderful solution overall.</p>
]]></content:encoded>
			<wfw:commentRss>http://onvox.net/networking/dual-nat-load-balancing-with-cisco/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

