TCL for Class-based QoS MIB indexes

TCL for Class-based QoS MIB indexes Class-based QoS MIB is a very complex data structure with numerous cross-indexes, making it very hard to find the exact SNMP variable that should be monitored with an EEM applet (for example, the bit rate of one class on a specific interface). This script traverses the Class-based QoS MIB and displays service policies and classes attached to individual interfaces. The policy index and class index values are printed next…

Read More

Cisco switch IOS upgrade from Cli using tar

Cisco switch IOS  upgrade from Cli using tar   3750#archive download-sw ?   /destination-system  specify destination system to receive software   /force-reload        Unconditionally reload system after successful sw                        upgrade   /imageonly           Load only the IOS image(s)   /leave-old-sw        Leave old sw installed after successful sw upgrade   /no-set-boot         Don’t set BOOT — leave existing boot config alone   /no-version-check    skip version check that prevents incompatible image                        install   /only-system-type    specify individual system type to…

Read More

EEM(Embedded Event manager ) Part 1 -Intro

Introduction:   The Cisco Embedded Event Manager (EEM) scripting Technical Support Forum gives you access to participate in tech discussions and go through documents on Capacity Planning Diagnostics, EEM for IOS-XR, EEM for NX-OS, Embedded Automation Systems (EASy), EEM script examples and other EEM scripting related issues. You can browse through latest technical content and get an overview on Cisco EEMscripting; current tech topics that are hot among the community including OSPF LSA vulnerability monitoring, Memory leak related…

Read More

Kron Policy Examples For Clearing ARP Issues in IOS

Kron Policy Examples  For Clearing ARP Issues in IOS     Router(config)# kron policy-list kpl-reload Router(config-kron-policy)# cli reload Router(config-kron-policy)# exit Router(config)# kron occurrence ko-reload in 1 oneshot Router(config-kron-occurrence)# policy-list kpl-reload Router(config-kron-occurrence)# exit Router# show kron schedule At time and recurring Router(config)# kron policy-list kpl-clear_arp Router(config-kron-policy)# cli send log Clear ARP cache Router(config-kron-policy)# cli clear arp-cache interface fa0/1 Router(config-kron-policy)# exit Router(config)# kron occurrence ko-clear_arp-07:00h at 07:00 recurring Router(config-kron-occurrence)# policy-list kpl-clear_arp Router(config-kron-occurrence)# exit Router(config)# kron occurrence ko-clear_arp-15:00h…

Read More
Posted in IOS

TCL scripting for ARP table display

ARP table display Original Url  # http://wiki.nil.com/ARP_table_display In a layer-3 switching environment, the ARP table displayed with the show arp command lists the logical (L3) interfaces, for example the VLAN or BVI interface. This Tcl script displays the logical as well as physical interface associated with each IP/MAC address. The show mac-address-table and show bridge commands are used to establish the mapping between MAC addresses and physical interfaces. The script has been tested on Catalyst 3500 switches running Cisco IOS release…

Read More

EEM Script – Clear DHCP Bindings and Arp Cache

EEM Script example to clear stuff in Cisco IOS I had to recently clear the DHCP Conflict log from a Cisco Router as it was filling up and not allowing devices to get back on the network in a specific situation. Well instead of doing it manually I just decided to give Cisco EEM Script a try. And it worked out pretty good :). Another scenario I used was clearing DHCP bindings and arp. EEM Script – Clear DHCP Conflict Log event manager applet CLEAR_DHCP_CONFLICT (This is applets…

Read More

Quick Reference: CLI Commands for CUCM, CUC and IM & Presence

Often times, it’s necessary to access a CUCM server via the CLI instead of the web server. If you’ve not done much of this yet, the command structure may seem a little awkward. It’s nothing like IOS and can give many voice and network engineers pause when they first encounter it. This large post contains a list of all Cisco UC 9.1(1) CLI commands and their syntax in brief format.  This included CUCM CLI commands,…

Read More

BACKING UP UCS

BACKING UP UCS Backing up UCS can be a little confusing especially since it presents you a few options.  What you may be expecting is something simple like a one button easy “Back it up” button.  But in fact, that is not the case.  And the nice thing about it is there are lots of different things you can do with backup files. From the Admin Tab under All in UCS Manager, under the general…

Read More

UCS 2.1 Backup

Backup and Export Configuration When you perform a backup through Cisco UCS Manager, you take a snapshot of all or part of the system configuration and export the file to a location on your network. You cannot use Cisco UCS Manager to back up data on the servers. You can perform a backup while the system is up and running. The backup operation only saves information from the management plane. It does not have any impact on the…

Read More
1 3,747 3,748 3,749 3,750 3,751 3,759