Cisco

Setting Up Netflow On Cisco Routers

Check that the IOS supports Netflow by adding “ip route-cache flow” to an interface.  If the command is successful  the IOS supports Netflow.

If the command errors on “flow” then upgrade IOS to a version that supports Netflow. Use Cisco feature navigator to find the correct IOS. Search by Feature, Add Netflow to the selected features.

www.cisco.com/go/fn

Set Netflow for each interface

Interface Serial0/0
Ip route-cache flow
Bandwidth 1536
Exit

In global config

ip flow-export source FastEthernet0
ip flow-export version 5
ip flow-export destination 192.168.10.50 9996
ip flow-cache timeout active
ip flow-cache timeout inactive 15
snmp-server ifindex persist
Show  IP flow export
Show IP cache flow

To collect NBAR stats

Ip cef
Interface S0/0
Ip nbar protocol-discovery
Show ip nbar protocol-discovery


Restore startup-config Without Causing Downtime

The configure replace command is the answer to this dilemma. This command takes the running-config and compares it to the replacement configuration. It finds the distinctions between the two configurations and applies only the differences. This command doesn’t affect unchanged configurations, and it doesn’t cause any downtime.

Typically, you replace the running-config with the startup-config located in the router’s NVRAM. To do so, you would use the following command:

configure replace nvram:startup-config

However, the last parameter could be any valid config file in the accepted Cisco IOS URL format. For example, the config you’re using could actually be on a TFTP, FTP, HTTP, RCP, or SCP server. In that case, the command would look something like the following:

configure replace tftp://192.168.1.107/config-bu

Cisco Link – http://www.cisco.com/en/US/docs/ios/12_3t/12_3t7/feature/guide/gtrollbk.html


  • Archives

  • Copyright © 1996-2010 My-Technet. All rights reserved.
    iDream theme by Templates Next | Powered by WordPress
    WordPress Appliance - Powered by TurnKey Linux