<?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: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-9009988</id><updated>2011-04-21T16:15:32.065-04:00</updated><title type='text'>Cisco FAQ</title><subtitle type='html'>Note: Links to &lt;a href="http://cco.cisco.com/"&gt;CCO&lt;/a&gt; will be given herein. You may need to have a CCO login account to access some of them. (Even if you have no Cisco gear, you can get a guest login by signing up. It will get you to more of the docs, but not to the software download pages or tech support incident areas.)</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ciscofaq.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>37</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9009988.post-4914326909366592177</id><published>2008-02-26T08:41:00.004-05:00</published><updated>2008-08-07T17:41:34.987-04:00</updated><title type='text'>How to I implement AS_PATH prepending?</title><content type='html'>&lt;p&gt;
Here's the scenario: you have multiple BGP connections to the Internet. For one of the prefixes you advertise, 33.44.55.0/24, you don't want traffic to come via the link with neighbor 1.2.3.4 unless all of the other BGP links are down. So you want to use ASPATH preprding on the advertisements you send to 1.2.3.4. 
&lt;/p&gt;
&lt;p&gt;
Let's say your own AS number is 65111. We'll prepend it twice to the advertisements of prefix 33.44.55.0/24 sent to neighbor 1.2.3.4:
&lt;/p&gt;
&lt;pre&gt;
! first define an ACL to use later to select which adverts to affect; 
! I numbered it 5
access-list 5 permit 33.44.55.0 0.0.0.255 !
! then make a route-map to do the prepending; I named it PREPEND1 
route-map PREPEND1 permit 10  
 match ip address 5  
 set as-path prepend 65111 65111 
!
route-map PREPEND1 permit 20
!
! so far, no effect. Next change makes it take effect
!
! finally, add the following command to the 
! &lt;q&gt;router bgp 65111&lt;/q&gt; section:
!
router bgp 65111
 neighbor 1.2.3.4 route-map PREPEND1 out
&lt;/pre&gt;
&lt;p&gt;
After doing this I did &lt;code&gt;clear ip bgp 1.2.3.4&lt;/code&gt;. I  think I could have used &lt;code&gt;clear ip bgp 1.2.3.4 soft out&lt;/code&gt;
&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-4914326909366592177?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/4914326909366592177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/4914326909366592177'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2008/02/how-to-i-implement-aspath-prepending.html' title='How to I implement AS_PATH prepending?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-2543375837322504723</id><published>2008-02-26T08:38:00.002-05:00</published><updated>2008-02-26T08:41:40.281-05:00</updated><title type='text'>How do I know what BGP advertisements I am sending to a neighbor?</title><content type='html'>&lt;p&gt;
One way: &lt;code&gt;sho ip  bgp neigh 1.2.3.4 adv&lt;/code&gt;
&lt;/p&gt;
&lt;p&gt;
Also, this might work: &lt;code&gt;debug ip bgp 1.2.3.4 updates&lt;/code&gt;
&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-2543375837322504723?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/2543375837322504723'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/2543375837322504723'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2008/02/how-do-i-know-what-bgp-advertisements-i.html' title='How do I know what BGP advertisements I am sending to a neighbor?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-1888695848091837886</id><published>2007-12-10T09:44:00.000-05:00</published><updated>2007-12-10T09:47:55.660-05:00</updated><title type='text'>How do I control what prefixes I accept into my routing table from a BGP neighbor?</title><content type='html'>&lt;p&gt;
Assume my AS is 12345, and I only want to accept 1.2.3.0/23 from my neighbor at 1.4.5.6.
&lt;/p&gt;

&lt;pre&gt;
router bgp 12345
neighbor 1.4.5.6 prefix-list PL0002 in
...
ip prefix-list PL0002 seq 5 permit 1.2.3.0/23
&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-1888695848091837886?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/1888695848091837886'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/1888695848091837886'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2007/12/how-do-i-control-what-prefixes-i-accept.html' title='How do I control what prefixes I accept into my routing table from a BGP neighbor?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-5265737532257211930</id><published>2007-09-06T10:31:00.000-04:00</published><updated>2007-09-06T11:24:19.228-04:00</updated><title type='text'>How do I establish a portchannel using multiple FOC trunks between my 4500s?</title><content type='html'>&lt;p&gt;
Before getting started, let's recognize that Cisco uses the terms "portchannel" and "etherchannel" somewhat interchangably, although you do have to use the correct term for the command you are typing. Also, the "channel-group" interface-level command is used to join the interface to a portchannel. So "etherchannel 2", "portchannel 2", and "channel-group 2" all refer to the same channel.
&lt;/p&gt;
&lt;p&gt;
For performance, the multiple trunks emanating from a 4500 should be on the same linecard. Start out by finding a linecard with enough free interfaces, disabling the interfaces on both 4500s, and running the cables between them. Then do the following. 
&lt;/p&gt;&lt;p&gt;
We'll use interfaces g3/3 - g3/6 in our example, and set up portchannel 2. Before starting we'll clear the config of all of the interfaces, and get rid of the portchannel. We'll then configure all of the interfaces, ignoring the portchannel. The last command we issue on the interfaces, to join the portchannel, will result in the portchannel being created automatically. Then we will unshut the interfaces.
&lt;/p&gt;
&lt;p&gt;
When the portchannel comes up, syslog messages such as the below at severity 5 are produced. Before starting, it might be good to set yourself up so you see the log messages on the console or vty session.
&lt;/p&gt; 
&lt;pre&gt;
040589: Aug 19 15:18:38.648: %EC-5-BUNDLE: Interface GigabitEthernet3/5 joined port-channel Port-channel2
040590: Aug 19 15:18:38.812: %EC-5-BUNDLE: Interface GigabitEthernet3/6 joined port-channel Port-channel2
040591: Aug 19 15:18:38.872: %EC-5-BUNDLE: Interface GigabitEthernet3/4 joined port-channel Port-channel2
&lt;/pre&gt;
&lt;p&gt;
Here are the configuration steps:
&lt;/p&gt;
&lt;pre&gt;
conf t
! clearing the interface configs
(c) default int g3/3  (if this gives you an error, do it again.)
(c) default int g3/4
(c) default int g3/5
(c) default int g3/6
! getting rid of the existing portchannel
(c) no int po2
! configuring the interfaces
(c) int range g3/3 - 6
(c-i-r) desc To other 4500
(c-i-r) switchport trunk encapsulation dot1q
(c-i-r) switchport mode trunk
(c-i-r) switchport nonegotiate
(c-i-r) no snmp trap link-status
! next command magically creates the portchannel
(c-i-r) channel-group 2 mode desirable non-silent
^Z
conf t
(c)int po2
(c-i)desc To other 4500
^Z
&lt;/pre&gt;
&lt;p&gt;
At this point, the interfaces g3/3 - g3/6 and Po2 should all show as up. A &lt;code&gt;show cdp neigh&lt;/code&gt; should show the other 4500. A &lt;code&gt;show etherchannel 2 detail&lt;/code&gt; will show the details of the portchannel and its member interfaces. (&lt;code&gt;show etherchannel summ&lt;/code&gt; will show all of the etherchannels in a brief, easy to read format.)
&lt;/p&gt;
&lt;p&gt;
If this all works, each interface will have a config like this:
&lt;/p&gt;
&lt;pre&gt;
interface GigabitEthernet3/3
 description to other 4500
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport nonegotiate
 no snmp trap link-status
 channel-group 2 mode desirable non-silent
&lt;/pre&gt;
&lt;p&gt;
And the portchannel will have a config like this:
&lt;/p&gt;
&lt;pre&gt;
interface Port-channel2
 description to other 4500
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport nonegotiate
end
&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-5265737532257211930?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/5265737532257211930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/5265737532257211930'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2007/09/how-do-i-establish-portchannel-using.html' title='How do I establish a portchannel using multiple FOC trunks between my 4500s?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-7307988417604304939</id><published>2007-05-03T15:38:00.000-04:00</published><updated>2007-08-09T10:29:59.069-04:00</updated><title type='text'>On a 3750 switch stack, how do I execute a command on a particular stack member?</title><content type='html'>&lt;p&gt;
On a 3750 stack, all commands execute by default on whichever switch happens to be the master. You can see which is the master by using the &lt;code&gt;show switch&lt;/code&gt; command. 
&lt;/p&gt;
&lt;p&gt;
To issue commands on slave members, open up a session on them with the &lt;code&gt;session #&lt;/code&gt; command. This opens up a command line on slave number #. Then type your commands. Just type &lt;code&gt;exit&lt;/code&gt; or &lt;code&gt;q&lt;/code&gt; to get back to the master when you are done.
&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-7307988417604304939?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/7307988417604304939'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/7307988417604304939'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2007/05/on-3750-switch-stack-how-do-i-execute.html' title='On a 3750 switch stack, how do I execute a command on a particular stack member?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-8139291427593325882</id><published>2007-04-24T13:45:00.000-04:00</published><updated>2007-05-03T15:57:16.185-04:00</updated><title type='text'>How do I delete files and directories from flash of a router or switch with minimum fuss?</title><content type='html'>&lt;p&gt;
If you want to get rid of everything in flash, just use &lt;code&gt;erase flash:&lt;/code&gt;.
&lt;/p&gt;
&lt;p&gt;
Otherwise, you can use &lt;code&gt;delete /force /recursive flash:{target}&lt;/code&gt;. The /force qualifier will keep you from getting prompted before deleting each object, and /recursive will give you the ability to delete directories and subdirectories even when they are not empty.
&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-8139291427593325882?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/8139291427593325882'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/8139291427593325882'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2007/04/how-do-i-delete-files-and-directories.html' title='How do I delete files and directories from flash of a router or switch with minimum fuss?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-8013695357437644314</id><published>2007-04-18T07:53:00.000-04:00</published><updated>2007-04-18T08:27:03.871-04:00</updated><title type='text'>How do I boot a 3750 stack into a new IOS?</title><content type='html'>&lt;p&gt;
The entire stack will be powered off at some point during this operation. Allow about a half hour of downtime.
&lt;/p&gt;
&lt;p&gt;
We'll assume that you have already copied the new IOS onto all of the stack members.
&lt;/p&gt;
&lt;p&gt;
You define the image to boot from with the &lt;code&gt;boot system&lt;/code&gt; command. However, unlike a router, a 3750 switch will not show this setting as part of the running-config, nor save it that way. To see the setting you'll have to use the &lt;code&gt;show boot&lt;/code&gt; command.
&lt;/p&gt;
&lt;p&gt;
In later versions of switch IOS, such as 12.2(35), Cisco has made it easier to reboot individual switch members. But to get there from an older version you may have to use my method. I did it the hard way, putting a console cable on each of the switches in the stack in turn. (Remember that no matter where the console cable is connected, it still talks only to the master.)
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Use &lt;code&gt;show switch&lt;/code&gt; to find out which switch is the master.&lt;/li&gt;
&lt;li&gt;Do a &lt;code&gt;dir flash:&lt;/code&gt; on the master to show the available IOS images. Use a copy and paste operation to paste the IOS filename you want into the command &lt;code&gt;boot system flash:{IOS filename}&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Power down the switch (you need to unplug it) and connect the console cable to another switch if necessary.&lt;/li&gt;
&lt;li&gt;Find the new master, and repeat the above steps on it. Continue on each switch in turn until the entire stack is powered down.&lt;/li&gt;
&lt;li&gt;Now power up the switch you want to be the master. I suggest cabling your console cable to it and watching it come up. There will be a delay while it waits to make sure there is not already a master.&lt;/li&gt;
&lt;li&gt;Once the master is up, power up the other switches in the stack. You can do them one at a time or all at once. They come up quickly because there is already a master.&lt;/li&gt;
&lt;li&gt;Use &lt;code&gt;show switch&lt;/code&gt; to make sure all of the switches are participating in the stack. You can also try &lt;code&gt;show switch detail&lt;/code&gt; and &lt;code&gt;show platform stack-manager all&lt;/code&gt; to get lots more info for troubleshooting.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Update:&lt;/h3&gt;
&lt;p&gt;
If your IOS supports it, you can issue the &lt;code&gt;boot system switch all flash:{IOS filename}&lt;/code&gt; to set the boot image name on all switches at once, which will simplify the above procedure. Then all you need to do is reload the stack.
&lt;/p&gt;
&lt;p&gt;
You may then be able to reload the entire stack with a single &lt;code&gt;reload&lt;/code&gt; command. Not sure about this. You also may be able to use &lt;code&gt;reload slot #&lt;/code&gt; to reload each of the non-master stack members, just before issuing the final &lt;code&gt;reload&lt;/code&gt; to reload the current master. I'll let you know if this works after I have had a chance to try it.
&lt;/p&gt;
&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-8013695357437644314?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/8013695357437644314'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/8013695357437644314'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2007/04/how-do-i-boot-3750-stack-into-new-ios.html' title='How do I boot a 3750 stack into a new IOS?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-5917348131391515846</id><published>2007-03-12T11:28:00.000-04:00</published><updated>2007-03-12T11:39:50.929-04:00</updated><title type='text'>How do I stage a new IOS on a 3750 switch stack?</title><content type='html'>&lt;p&gt;
There are some new IOS commands to automate upgrading of a stack, but I use the familiar manual method.
&lt;/p&gt;&lt;p&gt;
All of your stack members really should be running the same version of IOS (even though there's a chance that if the versions are close enough the stack might still work).
&lt;/p&gt;&lt;p&gt;
Upgrading a switch is like upgrading a router, really. You put the new IOS on the TFTP server. Make sure there is room for it in the flash of the target device, and tftp it up. When you are ready to start using it, change the &lt;code&gt;boot system&lt;/code&gt; command on the device to point to it, and reload.
&lt;/p&gt;&lt;p&gt;
What makes switch stacks different is that you need to copy the IOS to all of the switches. Here's how.
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Log into your stack. (You'll be logged into the master). Do &lt;code&gt;show stack&lt;/code&gt; to find out how many switches are in the stack, and which one is the master. Let's say there are four switches and the master is 4.&lt;/li&gt;
&lt;li&gt;Use &lt;code&gt;copy tftp flash:&lt;/code&gt; and answer the prompts to get your IOS up there.&lt;/li&gt;
&lt;li&gt;You can do &lt;code&gt;dir flash:&lt;/code&gt; to see that the new IOS is there. When you refer to "flash:", you are always referring to the master. You can also refer to a particular stack member's flash like this: &lt;code&gt;dir flash2:&lt;/code&gt;. So on this stack, where 4 is the master, &lt;code&gt;dir flash:&lt;/code&gt; and &lt;code&gt;dir flash4:&lt;/code&gt; will look the same.&lt;/li&gt;
&lt;li&gt;Now get that IOS image onto the other switches in the stack. You can either tftp it to each in turn with &lt;code&gt;copy tftp flash1:&lt;/code&gt; and so on, or use &lt;code&gt;copy flash4: flash1:&lt;/code&gt;. The copy method is only a little quicker, but it works.&lt;/li&gt;
&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-5917348131391515846?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/5917348131391515846'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/5917348131391515846'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2007/03/how-do-i-stage-new-ios-on-3750-switch.html' title='How do I stage a new IOS on a 3750 switch stack?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-1199091102162469486</id><published>2007-03-09T08:13:00.000-05:00</published><updated>2007-03-09T08:19:23.760-05:00</updated><title type='text'>Do I have to worry about the U.S. DST change on my routers and switches?</title><content type='html'>No, not likely. Even if your device is an NTP server for the rest of your network, the timezone really does not matter.

The device's timezone settings does influence the timestamps on the router logs and the syslog messages it sends. It could also come into play if you are using time-based ACLs on your router (does anyone actually do this?).

However, if you really want the local time on the router to be correct, you do not have to upgrade the IOS to a version that incorporates the new United States DST start and end dates. Just by adding one line to the config on your router or switch, you can change the DST policy. I'll show both timezone lines for my devices; you will want to change the timezone name in both lines (which is used for display purposes only) as well as the offset from UTC unless, like me, you are in the Eastern time zone.
&lt;pre&gt;
clock timezone EST -5
clock summer-time EDT recurring 2 sun mar 02:00 1 sun nov 02:00
&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-1199091102162469486?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/1199091102162469486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/1199091102162469486'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2007/03/do-i-have-to-worry-about-us-dst-change.html' title='Do I have to worry about the U.S. DST change on my routers and switches?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-3248694285950164659</id><published>2007-03-07T09:44:00.000-05:00</published><updated>2007-03-07T10:14:51.404-05:00</updated><title type='text'>I found a router that had cef enabled, but "no ip route-cache cef" on each of its interfaces. Is there any reason not to enable cef on the interfaces?</title><content type='html'>Haven't found any  reasons  not to  enable cef on the 2600XM interfaces. If you know any, please post a comment...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-3248694285950164659?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/3248694285950164659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/3248694285950164659'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2007/03/i-found-router-that-had-cef-enabled-but.html' title='I found a router that had cef enabled, but &quot;no ip route-cache cef&quot; on each of its interfaces. Is there any reason not to enable cef on the interfaces?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-4574739129525766514</id><published>2007-03-06T14:18:00.000-05:00</published><updated>2007-03-06T14:21:02.883-05:00</updated><title type='text'>Why isn't my router clock syncing to NTP time?</title><content type='html'>If the difference between the NTP time received and the local clock time is more than 4000 seconds, the router or switch will not sync to the NTP time except:
&lt;ul&gt;
&lt;li&gt;on reload&lt;/li&gt;
&lt;li&gt;when the NTP peer is first added to the config&lt;/li&gt;
&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-4574739129525766514?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/4574739129525766514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/4574739129525766514'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2007/03/why-isnt-my-router-clock-syncing-to-ntp.html' title='Why isn&apos;t my router clock syncing to NTP time?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-116828743601053409</id><published>2007-01-08T15:09:00.000-05:00</published><updated>2007-01-08T15:56:00.076-05:00</updated><title type='text'>How do I configure port-security on my switches?</title><content type='html'>For each non-trunking, non-grouped switchport:
&lt;pre&gt;
(config-if)#sw port-sec               // enables port-security
(config-if)#sw port-sec max 1         // max number of macs on that port
(config-if)#sw port-sec viol restrict // drop excess macs, and log
(config-if)#sw port-sec mac-addr {mac} // config the mac to allow
&lt;/pre&gt;

With a lot of macs, you'd have one &lt;code&gt;sw port-sec mac-addr {mac}&lt;/code&gt; for each one, then also have to configure the max number of macs on that interface to exactly match the count.

To check your results:
&lt;pre&gt;
#show port-sec          // table of secure ports, with current macs and violations
#show port-sec int f0/4 // shows details on one interface
#show port-sec address  // shows table of all secure mac addresses
&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-116828743601053409?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/116828743601053409'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/116828743601053409'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2007/01/how-do-i-configure-port-security-on-my.html' title='How do I configure port-security on my switches?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-115653394449695217</id><published>2006-08-25T15:05:00.000-04:00</published><updated>2007-03-09T08:48:15.212-05:00</updated><title type='text'>How do I configure port security on my ASW (3550s or 3750s)?</title><content type='html'>First, make sure your IOS supports port security. You can use the Software Advisor tool on CCO to show you what versions of IOS support port security.

Port security is set at the interface level. First, you set the maximum number of MAC addresses for the switchport (default is 1, so if you set it to this you will see nothing in sho run). &lt;code&gt;sw(config-if)# switchport port-secu max 1&lt;/code&gt;

Then, choose between the three ways of learning MACs.
&lt;ul&gt;
&lt;li&gt;static - manually configured. command is &lt;code&gt;switchport port-sec mac-add 0011.2233.4455&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;dynamic - port will learn MAC addresses as usual, but stop learning more addresses when it has reached the max.&lt;/li&gt;
&lt;li&gt;sticky - converts dynamic address to static addresses in the running config only.  To use this, wait until your switchport has learned the MACs you want, then issue the interface command &lt;code&gt;switchport port-sec mac sticky&lt;/code&gt;. As soon as you do this, these MACs become static commands, but in the running config only. You then have to &lt;code&gt;copy run start&lt;/code&gt; to make these settings survive a reload.&lt;/li&gt;
&lt;/ul&gt;

Next, decide how to handle security violations. A violation occurs either when the max number of MACs is exceeded, or when an address on one secure port is seen on another secure port on the same VLAN. The effects are:
&lt;ul&gt;
&lt;li&gt;protect - silently drop the packets from the excess MAC addresses.&lt;/li&gt;
&lt;li&gt;restrict - drop the packets over the max, and log the event.&lt;/li&gt;
&lt;li&gt;shutdown - err-disable the port. This is the default.&lt;/li&gt;
&lt;/ul&gt;

After finishing the config, enable security on the port with interface command &lt;code&gt;port-security ena&lt;/code&gt;. Check the settings with &lt;code&gt;sho port sec int f1/0/11&lt;/code&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-115653394449695217?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/115653394449695217'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/115653394449695217'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2006/08/how-do-i-configure-port-security-on-my.html' title='How do I configure port security on my ASW (3550s or 3750s)?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-115625079292593817</id><published>2006-08-22T07:58:00.000-04:00</published><updated>2006-08-22T08:50:00.123-04:00</updated><title type='text'>How do I set up Netflow on my router?</title><content type='html'>First make sure Netflow is included in the IOS you are running. You might try one of the "show" commands given below, or use Cisco's Software Advisor tool (on the CCO website).

Turn on CEF, and set up the flow parameters. Here we are sending Netflow packets in version 5 format to 10.1.2.3 on port 2003/UDP. For active connections, we're sending flow info every 1 minute, and we are sending the flow info on connections that have gone inactive every 15 seconds:
&lt;pre&gt;
ip flow-cache timeout active 1
ip flow-cache timeout inactive 15
ip flow-export version 5
ip flow-export destination 10.1.2.3 2003
&lt;/pre&gt;

Note that even if you dn't have a place to send the flow information to, you can still do this setup, omitting the destination line, to make your router keep netflow stats for you to inspect using the show commands given below. Also, if you do send the flows to a host which is not listening on the given UDP port, you'll get an ICMP port unreachable message back for each datagram you send.

Now enable netflow on each interface. You can use either "ingress" or "egress"; I'm not sure which is better from a perfomance standpoint. If you miss some interfaces, you won't see both sides of some conversations:
&lt;pre&gt;
int f0/0
ip flow ingress
int f0/1
ip flow ingress
int s0/1
ip flow ingress
&lt;/pre&gt;

Use &lt;code&gt;show ip flow export&lt;/code&gt; to look at the netflow setup and flow counters on your router. &lt;code&gt;clear ip cache stats&lt;/code&gt; will clear these counters.

To see the whole table of netflow stats, use &lt;code&gt;show ip cache flow&lt;/code&gt;. &lt;code&gt;clear ip cache flow&lt;/code&gt; will clear these counters.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-115625079292593817?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/115625079292593817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/115625079292593817'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2006/08/how-do-i-set-up-netflow-on-my-router.html' title='How do I set up Netflow on my router?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-115616439494489320</id><published>2006-08-21T08:37:00.000-04:00</published><updated>2006-08-21T11:13:50.390-04:00</updated><title type='text'>How do I enable SSH logins on my routers?</title><content type='html'>First, make sure you're using a version of IOS that supports SSH. I'm using 12.4.

Turn on new-model logins (make the password better than my example):
&lt;pre&gt;
aaa new-model
username cisco password cisco
&lt;/pre&gt;

Give it a FQDN, which is needed for key generation, and then generate a key.
The key name will be devicename.domain-name:
&lt;pre&gt;
ip domain-name example.com
cry key gen rsa
&lt;/pre&gt;

Check the key with &lt;code&gt;show cry key mypub rsa&lt;/code&gt;.

Now make the vty logins use ssh:
&lt;pre&gt;
line vty 0 15
 transport input ssh
&lt;/pre&gt;

And define some ssh settings:
&lt;pre&gt;
ip ssh ver 2
ip ssh source-int f0/0
&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-115616439494489320?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/115616439494489320'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/115616439494489320'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2006/08/how-do-i-enable-ssh-logins-on-my.html' title='How do I enable SSH logins on my routers?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-115557728392932321</id><published>2006-08-14T13:34:00.000-04:00</published><updated>2007-12-28T08:17:58.174-05:00</updated><title type='text'>What are your favorite command aliases on Cisco routers and switches?</title><content type='html'>&lt;h2&gt;Alias force&lt;/h2&gt;

Switches:
&lt;pre&gt;
alias exec cpu sho proc cpu | include CPU
alias exec mac sho mac- dyn | include
alias exec ip sho arp | include
alias exec sis show interface status
alias exec po show interface status | include Po
alias exec fa show interface status | include Fa
alias exec gi show interface status | include Gi
alias exec vlans show vlan brief | include active
&lt;/pre&gt;

Routers:
&lt;pre&gt;
alias exec cpu show proc cpu | include CPU
alias exec stat show run | include ip route
alias exec fa show interface status | include Fa
alias exec showtech show tech | redirect tftp://mytftpsrvr/thisrtr_showtech.txt
alias exec mac show mac- dyn | incl
alias exec ip show arp | include
alias exec sis show interface status
&lt;/pre&gt;

I type &lt;code&gt;sis&lt;/code&gt; as soon as I log into a switch to see the interface table. I use &lt;code&gt;fa&lt;/code&gt; instead on the big switches, when I'm not interested in seeing the Gigabit ports in the table (since they change infrequently).

I can type &lt;code&gt;mac 034b&lt;/code&gt; to find the switch CAM table entry for the mac containing those four digits.

To track down the whereabouts of an IP on the switch fabric, I type &lt;code&gt;ip 10.3.4.5&lt;/code&gt; at the router to find its MAC address, then if the MAC is 1234.5678.abcd, I type &lt;code&gt;mac abcd&lt;/code&gt; at the switches to see what switchport it's on.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-115557728392932321?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/115557728392932321'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/115557728392932321'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2006/08/what-are-your-favorite-command-aliases.html' title='What are your favorite command aliases on Cisco routers and switches?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-113500818252965511</id><published>2005-12-19T11:01:00.000-05:00</published><updated>2005-12-19T11:03:02.543-05:00</updated><title type='text'>How do I get a Cisco switch to log MAC addresses that it learns?</title><content type='html'>The objective is to log MAC addresses as they are learned by the switch, to help detect when new equipment is added. Ideally, the log should only include MAC addresses learned on local interfaces, and not those learned across trunks from other switches.

Working on it...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-113500818252965511?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/113500818252965511'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/113500818252965511'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2005/12/how-do-i-get-cisco-switch-to-log-mac.html' title='How do I get a Cisco switch to log MAC addresses that it learns?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-112368447298715449</id><published>2005-08-10T10:31:00.000-04:00</published><updated>2005-08-10T10:34:32.993-04:00</updated><title type='text'>How do I keep the Cisco router or switch  from garbling configs when I dump them to it from a console login using TERATERM?</title><content type='html'>Set your router's console port up like this:

&lt;pre&gt;
line con 0
 flowcontrol software
&lt;/pre&gt;

Also, in TERATERM, open your serial port, then menu: setup/serial port, flow control = Xon/Xoff; save the config.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-112368447298715449?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/112368447298715449'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/112368447298715449'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2005/08/how-do-i-keep-cisco-router-or-switch.html' title='How do I keep the Cisco router or switch  from garbling configs when I dump them to it from a console login using TERATERM?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-112127167424974132</id><published>2005-07-13T12:18:00.000-04:00</published><updated>2005-07-13T12:21:14.253-04:00</updated><title type='text'>How do I set a port's VLAN membership using SNMP?</title><content type='html'>Using net-snmp, do

c:\net-snmp\usr\bin\snmpset -v 2c -c community switchname 1.3.6.1.4.1.9.9.68.1.2.2.1.2.9 i 86

where 86 is the portname and 9 is the correct SNMP index to the switchport.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-112127167424974132?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/112127167424974132'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/112127167424974132'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2005/07/how-do-i-set-ports-vlan-membership.html' title='How do I set a port&apos;s VLAN membership using SNMP?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-112076032164551179</id><published>2005-07-07T14:13:00.000-04:00</published><updated>2007-03-09T08:52:28.214-05:00</updated><title type='text'>How do I display the list of ports and their VLANs using SNMP?</title><content type='html'>I use the SNMPWALK program, part of the NET-SNMP distribution.
&lt;dl&gt;
&lt;dt&gt;To display list of ports and their VLANs:&lt;/dt&gt;
&lt;dd&gt;&lt;code&gt;snmpwalk -c readcommunity -v 1 switchname .1.3.6.1.4.1.9.9.68.1.2.2.1.2&lt;/code&gt;&lt;/dd&gt;

&lt;dt&gt;To display the Cisco port description:&lt;/dt&gt;
&lt;dd&gt;&lt;code&gt;snmpwalk -c readcommunity -v 1 switchname .1.3.6.1.2.1.2.2.1.2&lt;/code&gt;&lt;/dd&gt;

&lt;dt&gt;To display the port descriptions you configured:&lt;/dt&gt;
&lt;dd&gt;&lt;code&gt;snmpwalk -c readcommunity -v 1 switchname .1.3.6.1.4.1.9.2.2.1.1.28&lt;/code&gt;&lt;/dd&gt;
&lt;/dl&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-112076032164551179?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/112076032164551179'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/112076032164551179'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2005/07/how-do-i-display-list-of-ports-and.html' title='How do I display the list of ports and their VLANs using SNMP?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-111695927809936365</id><published>2005-05-24T14:27:00.000-04:00</published><updated>2005-05-25T14:29:52.720-04:00</updated><title type='text'>I bought 34 switches with Smartnet. How do I get the Smartnet tied to my CCO ID?</title><content type='html'>Here's the way it worked on my recent Cisco switch purchase.

I bought 8x5xNBD Smartnet on all 34 of the switches in the order. There were three different types of switches.

It was then up to the vendor to notify Cisco. I had to remind them to do this for me. At the same time, and separately, I opened a case with Cisco customer support informing them of the situation, giving them the vendor name and order number, and asking them to help me get the contract info tied to my CCO account. This enabled Cisco to contact me once they had received the info from the vendor and created my entitlement.

I then had to reply by email to the Cisco person working the case and give them my CCO ID and the IDs of all others at my company so that we could all access CCO based on the contract entitlement. Cisco promised to add the contract to all our IDs once I did that.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-111695927809936365?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/111695927809936365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/111695927809936365'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2005/05/i-bought-34-switches-with-smartnet-how.html' title='I bought 34 switches with Smartnet. How do I get the Smartnet tied to my CCO ID?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-111695844823397896</id><published>2005-05-24T14:13:00.001-04:00</published><updated>2008-03-12T09:25:39.220-04:00</updated><title type='text'>How do I restrict a switchport or VLAN to a list of valid MAC addresses?</title><content type='html'>It looks like there are multiple methods and a lot of limitations.

There's "port-security". This looks easiest to config. However, the switchport cannot be a trunk port, or a member of an etherchannel, so it can't be used at the core or distribution switch; it has to be applied on all of the access switches.

There's another way: you create an extended mac access-list containing src-dest MAC address pairs you want to allow. Then there are two options: you could apply that access-list to all of the switch interfaces, or apply it to a VLAN.

The mac access-list itself would look something like this:

&lt;pre&gt;
(c)#mac access-list extended myfriends
(c-e-m)#permit host 1234.5678.90AB any
(c-e-m)#permit host AB12.3456.7890 any
(c-e-m)#deny any any                
(c-e-m)#end
&lt;/pre&gt;

Note the &lt;code&gt;deny any any&lt;/code&gt;. On testing I found that this type of access-list does not include an implicit deny.

To apply it to an interface (you would have to do all interfaces on the switch to be fully protected) to the following:

&lt;pre&gt;
(c)#int ran f1/0/1 - 48 , f2/0/1 - 48
(c-i)#mac access-group myfriends in
&lt;/pre&gt;

Or, you create a vlan access-map with &lt;code&gt;action forward&lt;/code&gt; for matches to that access list. Then you use the &lt;code&gt;vlan filter&lt;/code&gt; command to apply that access-map to a VLAN or list of VLANs.

&lt;pre&gt;
(c)#vlan access-map wksta 10
(c-a-m)#match mac address myfriends
(c-a-m)#end

(c)#vlan filter wksta vlan-list 20-23,51
&lt;/pre&gt;


Here's another possibility: VMPS. One guy says: &lt;q&gt;There is a tool I use called VMPS that is in with the IOS of every Cisco Switch. VMPS means VLAN Membership Policy Server. This is a text file that lives on my Linux box that one of my Primary VMPS Switches queries at the time I configured on it. Then, all my other switches ask the Primary switch for the same info (a lot faster since they have a gig link to my Primary and the VMPS file lives in RAM). Now, in that file, I can group what switches belong to a group or what MAC address belong to a group (i.e., accounting) and say that port 1-18 are only accessible for accounting.&lt;/q&gt;

After some research, I have concluded that VMPS is a CATOS-only featrue, so doesn't apply to my situation.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-111695844823397896?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/111695844823397896'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/111695844823397896'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2005/05/how-to-i-restrict-switchport-or-vlan.html' title='How do I restrict a switchport or VLAN to a list of valid MAC addresses?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-111695840090721368</id><published>2005-05-24T14:12:00.000-04:00</published><updated>2005-05-24T14:13:20.910-04:00</updated><title type='text'>How do I set the lifetime for CAM table entries on switches?</title><content type='html'>Working on it...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-111695840090721368?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/111695840090721368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/111695840090721368'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2005/05/how-do-i-set-lifetime-for-cam-table.html' title='How do I set the lifetime for CAM table entries on switches?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-111566118504255332</id><published>2005-05-09T13:49:00.003-04:00</published><updated>2008-03-12T10:00:11.332-04:00</updated><title type='text'>How do I reverse telnet out my aux port?</title><content type='html'>If you connect one router's aux port to another device's console port, you can telnet to the router, then use &lt;q&gt;reverse telnet&lt;/q&gt; to connect to the other device's console via your aux port.

Here's how to set it up.

&lt;ol&gt;
&lt;li&gt;Connect your router's aux port to another device's console port using a Cisco flat crossover cable.&lt;/li&gt;
&lt;li&gt;TELNET to your router, enable, and set the aux port up as follows:
&lt;pre&gt;
# conf t
# line aux 0
(config-line)# modem InOut
(config-line)# transport preferred all
(config-line)# transport input all
(config-line)# transport output all
^z
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Make sure you have an address on your lo0 interface, and the interface is up.&lt;/li&gt;
&lt;li&gt;Back in enable mode, find out the line number of your AUX port with &lt;code&gt;#show line&lt;/code&gt;. It will look something like this:
&lt;pre&gt;
   Tty Typ     Tx/Rx    A Modem
     0 CTY              -    - 
*   97 AUX   9600/9600  - inout
*   98 VTY              -    - 
    99 VTY              -    - 
   100 VTY              -    - 
   101 VTY              -    - 
   102 VTY              -    - 
&lt;/pre&gt;
On this router it is line 97. It's different from router to router but I've never seen it change.
&lt;/li&gt;
&lt;li&gt;Now all you need to do is add 2000 to the line number, and telnet to your lo0 address, port 2097.&lt;/li&gt;
&lt;li&gt;I like to set up two aliases to save time:
&lt;pre&gt;
(c)# alias exec auxup telnet 127.0.0.11 2097
(c)# alias exec auxdown clear line 97
&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
With the setup above, you just connect the router's aux port to the target device. Then from the command line on the router, type &lt;code&gt;auxup&lt;/code&gt;. This gives you a console connection to the target device. To end the connection, hit [&amp;lt;shift&amp;gt;&amp;lt;ctrl&amp;gt;6] x, then type &lt;code&gt;auxdown&lt;/code&gt;.
&lt;/p&gt;
&lt;p&gt;
Update: it looks like the &lt;code&gt;disconnect&lt;/code&gt; command (entered after the [&amp;lt;shift&amp;gt;&amp;lt;ctrl&amp;gt;6] x) might be the proper way to end the telnet session.
&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-111566118504255332?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/111566118504255332'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/111566118504255332'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2005/05/how-to-i-reverse-telnet-out-my-aux.html' title='How do I reverse telnet out my aux port?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-110962117209362722</id><published>2005-02-28T14:48:00.000-05:00</published><updated>2005-02-28T15:28:38.256-05:00</updated><title type='text'>How to I configure DHCP broadcast forwarding?</title><content type='html'>A host can either be configured with its own IP address information, or it can be set to use DHCP. With DHCP, it will send out an IP broadcast message on the local network asking for a IP address. Of course, broadcasts do not traverse routers, so if the DHCP server is not on the local network with the DHCP client it will never hear the broadcast, and the DHCP client will never get an IP address.

Cisco's solution to this is the &lt;code&gt;ip helper&lt;/code&gt; command, which is applied to an interface. If an interface has, say, &lt;code&gt;ip helper 192.168.2.4&lt;/code&gt; in its config, then any DHCP broadcast the router hears on that interface will be changed to a unicast and sent directly to 192.168.2.4, wherever that might be. If the host at that address is a DHCP server, and it is configured to hand out addresses for 192.168.2.0, it will do so; it knows from the source address that the router put on the packet that the address it gives out needs to be for that network. The DHCP server then sends the DHCP response back to the 192.168.2.0 network as a directed broadcast; the routers put it on that network and the client gets its address.

The problem is that there are many different types IP broadcasts other than DHCP, and once &lt;code&gt;ip helper&lt;/code&gt; is configured, Cisco passes about 7 of them by default. (The various brodcast types can be distinguished by their destination ports.) This includes not only DHCP but also a couple of types of Microsoft netbios broadcasts; passing the netbios broadcasts will screw up the Microsoft "browser" and cause lots of error messages in the Windows server event logs, complaining about duplicate names found on the network or msbrowse errors.

Cisco recommends the following commands be entered in global config mode on all routers which have "ip helper" configured on one or more interfaces. They prevent the forwarding of certain broadcasts. Only the DHCP broadcasts need be forwarded.
 
Here are the commands. The &lt;q&gt;bootp&lt;/q&gt; directive is the one which allows DHCP broadcasts to be forwarded.
&lt;pre&gt;
no ip forward-protocol udp tftp
no ip forward-protocol udp dns
no ip forward-protocol udp time
no ip forward-protocol udp netbios-ns
no ip forward-protocol udp netbios-dgm
no ip forward-protocol udp tacacs
ip forward-protocol udp bootpc
&lt;/pre&gt;
 
I don't know why Cisco Inc. makes forwarding of all the above protocols the default, only to say that most or the protocols need to be disabled for the network to work properly, but that's what they do. 
 
Implementation of the filters which mention "netbios" is the significant change here. It should prevent most of the msbrowse errors and duplicate name errors we are seeing on our server event logs.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-110962117209362722?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/110962117209362722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/110962117209362722'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2005/02/how-to-i-configure-dhcp-broadcast.html' title='How to I configure DHCP broadcast forwarding?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-110718203781564791</id><published>2005-01-31T09:31:00.000-05:00</published><updated>2007-03-12T11:55:38.753-04:00</updated><title type='text'>What is the correct syntax for the boot system command on routers and swtiches?</title><content type='html'>&lt;p&gt;
If your router decompresses the IOS twice, as if booting twice, on every reload, you probably have the wrong syntax on the &lt;code&gt;boot system&lt;/code&gt; command. It's picking a default version to use the second time around.
&lt;/p&gt;
&lt;p&gt;
The correct syntax is:
&lt;/p&gt;
&lt;pre&gt;
boot system flash:c2600-i-mz.123-10b.bin
&lt;/pre&gt; 
&lt;p&gt;
Cisco's own documentation on cco frequently gets this wrong.
&lt;/p&gt;
&lt;p&gt;
On a router, you'll see the &lt;code&gt;boot system&lt;/code&gt; command in the config. On a switch, it may not show in the config, but can see it using the &lt;code&gt;show boot&lt;/code&gt; command. The syntax for setting it is the same in either case.
&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-110718203781564791?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/110718203781564791'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/110718203781564791'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2005/01/what-is-correct-syntax-for-boot-system.html' title='What is the correct syntax for the &lt;code&gt;boot system&lt;/code&gt; command on routers and swtiches?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-110556136904229833</id><published>2005-01-12T15:22:00.000-05:00</published><updated>2005-01-12T15:23:44.303-05:00</updated><title type='text'>What are all of these Cisco extensions to Spanning Tree protocol (STP)?</title><content type='html'>&lt;DL&gt;&lt;DT&gt;Backbone Fast Convergence&lt;/DT&gt;
&lt;DD&gt;Provides fast convergence after a spanning-tree topology change caused by indirect link failures.&lt;/DD&gt;
&lt;DT&gt;Loop Guard&lt;/DT&gt;
&lt;DD&gt;The loop guard feature checks that a root port or an alternate root port is receiving BPDUs. If a port is not receiving BPDUs, the loop guard feature puts the port into an inconsistent state, isolating the failure and letting spanning tree converge to a stable topology until the port starts receiving BPDUs again.&lt;/DD&gt;
&lt;DT&gt;Portfast&lt;/DT&gt;
&lt;DD&gt;STP PortFast causes a Layer 2 LAN interface configured as an access port to enter the forwarding state immediately, bypassing the listening and learning states.&lt;/DD&gt;
&lt;DT&gt;Portfast BPDU Guard&lt;/DT&gt;
&lt;DD&gt;Provides a means to shut the port down when any received BPDUs are detected.&lt;/DD&gt;
&lt;DT&gt;Root Guard&lt;/DT&gt;
&lt;DD&gt;The STP root guard feature prevents a port from becoming root port or blocked port. If a port configured for root guard receives a superior BPDU, the port immediately goes to the root-inconsistent (blocked) state.&lt;/DD&gt;
&lt;DT&gt;Uplink Fast Convergence&lt;/DT&gt;
&lt;DD&gt;Uplink Fast Convergence provides rapid switchover to a redundant uplink for wiring closet switches when the spanning-tree root port fails or when the spanning-tree topology is recalculated.&lt;/DD&gt;
&lt;DT&gt;Uplink Load Balancing&lt;/DT&gt;
&lt;DD&gt;Uplink Load Balancing by VLAN enables traffic load balancing across uplinks by providing direct control over the spanning-tree port cost for VLANs on a trunking port.&lt;/DD&gt;&lt;/DL&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-110556136904229833?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/110556136904229833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/110556136904229833'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2005/01/what-are-all-of-these-cisco-extensions.html' title='What are all of these Cisco extensions to Spanning Tree protocol (STP)?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-110260440594899160</id><published>2004-12-09T09:55:00.000-05:00</published><updated>2004-12-09T10:00:05.946-05:00</updated><title type='text'>How do I filter PINGs or ICMP using an access-list?</title><content type='html'>To filter PINGs, you can create an extended access list, and then apply it to an interface. I usually apply these lists to each interface in the inbound direction.

To filter only PINGs, use the following:
&lt;pre&gt;
deny icmp any any echo
deny icmp any any echo-reply
permit ip any any
&lt;/pre&gt;

Most people like to filter out all ICMP traffic. However, there are three ICMP messages that should not be filtered: destination unreachable, source quench, and time exceed. The extended IP access list to filter everything but these looks like this:
&lt;pre&gt;
permit icmp any any source-quench
permit icmp any any host-unreachable
permit icmp any any time-exceeded
deny icmp any any
permit ip any any
&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-110260440594899160?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/110260440594899160'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/110260440594899160'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2004/12/how-do-i-filter-pings-or-icmp-using.html' title='How do I filter PINGs or ICMP using an access-list?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-110251180612469171</id><published>2004-12-08T08:15:00.000-05:00</published><updated>2004-12-09T10:00:58.710-05:00</updated><title type='text'>How do I use debug to see "ICMP can't fragment" errors generated by or passing through a router?</title><content type='html'>The command &lt;code&gt;#debug ip icmp&lt;/code&gt; will result in the following debug messages, if there are such errors:
&lt;pre&gt;
ICMP: dst (10.10.10.10) frag. needed and DF set 
unreachable sent to 10.1.1.1
&lt;/pre&gt;
These &amp;quot;unreachable&amp;quot; messages must be allowed. If you are filtering ICMP, don't just use &lt;code&gt;deny icmp any any&lt;/code&gt;. Make sure your interface access lists allow unreachable messages, as follows:
&lt;pre&gt;
access-list 101 permit icmp any any unreachable
access-list 101 permit icmp any any time-exceeded
access-list 101 permit icmp any any source-quench
access-list 101 deny icmp any any
&lt;/pre&gt;

&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-110251180612469171?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/110251180612469171'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/110251180612469171'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2004/12/how-do-i-use-debug-to-see-icmp-cant.html' title='How do I use debug to see &quot;ICMP can&apos;t fragment&quot; errors generated by or passing through a router?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-110026591373882307</id><published>2004-11-12T08:25:00.000-05:00</published><updated>2004-11-12T08:25:13.736-05:00</updated><title type='text'>What is the naming convention for Cisco IOS releases?</title><content type='html'>Cisco has a &lt;a href="http://www.cisco.com/en/US/customer/products/sw/iosswrel/ps1828/products_white_paper09186a008018305e.shtml"&gt;white paper&lt;/a&gt; which explains how the release names work.
&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-110026591373882307?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/110026591373882307'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/110026591373882307'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2004/11/what-is-naming-convention-for-cisco.html' title='What is the naming convention for Cisco IOS releases?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-110002962085615010</id><published>2004-11-09T14:46:00.000-05:00</published><updated>2004-11-09T14:47:00.856-05:00</updated><title type='text'>How do I upgrade IOS on a 2600 series router?</title><content type='html'>Inteructions are &lt;a href="http://www.cisco.com/en/US/customer/products/hw/routers/ps259/products_tech_note09186a00801fc986.shtml"&gt;here&lt;/a&gt; at cco.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-110002962085615010?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/110002962085615010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/110002962085615010'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2004/11/how-do-i-upgrade-ios-on-2600-series.html' title='How do I upgrade IOS on a 2600 series router?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-109960103482016368</id><published>2004-11-04T15:43:00.001-05:00</published><updated>2004-11-12T08:26:31.846-05:00</updated><title type='text'>How do I configure Layer 2 security on a 3550?</title><content type='html'>This article &lt;a href="http://www.cisco.com/en/US/customer/products/hw/switches/ps646/products_configuration_guide_chapter09186a00800c9fe1.html"&gt;here&lt;/a&gt; explains it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-109960103482016368?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/109960103482016368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/109960103482016368'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2004/11/how-do-i-configure-layer-2-security-on.html' title='How do I configure Layer 2 security on a 3550?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-109960039384316514</id><published>2004-11-04T15:15:00.000-05:00</published><updated>2004-11-04T15:42:34.880-05:00</updated><title type='text'>How do I view and clear err-disabled switchports on a 3550?</title><content type='html'>On the 3550, the command &lt;code&gt;#sho int status&lt;/code&gt; will print a table of interfaces, with status. The status may be "err-disabled". To investigate such ports, use &lt;code&gt;#sho int status err&lt;/code&gt;.

To clear the port status, issue a &lt;code&gt;(c-i)#shut&lt;/code&gt; and then a &lt;code&gt;(c-i)#no shut&lt;/code&gt; on the interface.

Or, you can enable autorecovery after a time period. Use these commands to check your current autorecovery config:
&lt;pre&gt;
#sho errdis detect
#sho errdis flap-val
#sho errdis recovery
&lt;/pre&gt;

To enable autorecovery for a particular cause, use
&lt;pre&gt;
(c)#errdis recov cause {cause}
&lt;/pre&gt;
&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-109960039384316514?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/109960039384316514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/109960039384316514'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2004/11/how-do-i-view-and-clear-err-disabled.html' title='How do I view and clear err-disabled switchports on a 3550?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-109959342810649856</id><published>2004-11-04T13:32:00.000-05:00</published><updated>2004-11-12T08:27:12.820-05:00</updated><title type='text'>Why are only my eBGP-learned routes getting redistributed into OSPF, while the iBGP-learned routes are not?</title><content type='html'>Cisco has added a "safety feature" to BGP in order to, they say, prevent possible accidental routing loops. I think this is unnecessary, as anyone configuring BGP should already be knowledgeable enough to set up route redistribution correctly.

Anyway, your router won't redistribute any iBGP routes into OSPF unless you add the following directive to the ROUTER BGP section:
&lt;code&gt;bgp redistribute-internal&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-109959342810649856?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/109959342810649856'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/109959342810649856'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2004/11/why-are-only-my-ebgp-learned-routes.html' title='Why are only my eBGP-learned routes getting redistributed into OSPF, while the iBGP-learned routes are not?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-109959311543673066</id><published>2004-11-04T13:31:00.001-05:00</published><updated>2004-11-12T08:30:40.856-05:00</updated><title type='text'>Where do I go to download IOS versions?</title><content type='html'>Cisco has a tool called the &lt;a href="http://www.cisco.com/cgi-bin/Software/Iosplanner/Planner-tool/iosplanner.cgi"&gt;IOS Upgrade Planner&lt;/a&gt; which allows you to drill down to IOS releases by version number, platform, and title. This is useful if you already know what you are looking for.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-109959311543673066?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/109959311543673066'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/109959311543673066'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2004/11/where-do-i-go-to-download-ios-versions.html' title='Where do I go to download IOS versions?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-109959308819698292</id><published>2004-11-04T13:31:00.000-05:00</published><updated>2004-11-12T08:32:34.566-05:00</updated><title type='text'>How do I determine what version of IOS is needed to support a particular command?</title><content type='html'>The &lt;a href="http://tools.cisco.com/ITDIT/CFN/jsp/index.jsp"&gt;Cisco Feature Navigator&lt;/a&gt; page has links to tools which allow you to browse IOS versions. You might find what you need using one of these tools.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-109959308819698292?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/109959308819698292'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/109959308819698292'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2004/11/how-do-i-determine-what-version-of-ios.html' title='How do I determine what version of IOS is needed to support a particular command?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9009988.post-109959288354780267</id><published>2004-11-04T13:26:00.000-05:00</published><updated>2004-11-04T13:28:03.546-05:00</updated><title type='text'>How do these posts look?</title><content type='html'>These posts look almost exactly like this.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9009988-109959288354780267?l=ciscofaq.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/109959288354780267'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9009988/posts/default/109959288354780267'/><link rel='alternate' type='text/html' href='http://ciscofaq.blogspot.com/2004/11/how-do-these-posts-look.html' title='How do these posts look?'/><author><name>Fred Farkle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>
