API Guide

Table Of Contents
Marking Egress Packets with a DEI Value................................................................................................................ 851
Dynamic Mode CoS for VLAN Stacking.........................................................................................................................852
Mapping C-Tag to S-Tag dot1p Values.................................................................................................................... 853
Layer 2 Protocol Tunneling.............................................................................................................................................. 853
Enabling Layer 2 Protocol Tunneling........................................................................................................................ 855
Specifying a Destination MAC Address for BPDUs................................................................................................856
Setting Rate-Limit BPDUs......................................................................................................................................... 856
Debugging Layer 2 Protocol Tunneling.................................................................................................................... 856
Provider Backbone Bridging............................................................................................................................................ 856
52 sFlow.....................................................................................................................................858
Overview............................................................................................................................................................................ 858
Implementation Information.............................................................................................................................................858
Enabling and Disabling sFlow...........................................................................................................................................859
Enabling and Disabling sFlow on an Interface............................................................................................................... 859
sFlow Show Commands...................................................................................................................................................859
Displaying Show sFlow Global................................................................................................................................... 859
Displaying Show sFlow on an Interface....................................................................................................................860
Displaying Show sFlow on a Line Card..................................................................................................................... 860
Configuring Specify Collectors........................................................................................................................................860
Changing the Polling Intervals..........................................................................................................................................861
Back-Off Mechanism........................................................................................................................................................ 861
sFlow on LAG ports........................................................................................................................................................... 861
Enabling Extended sFlow..................................................................................................................................................861
Important Points to Remember.................................................................................................................................862
53 Simple Network Management Protocol (SNMP)........................................................................863
Protocol Overview............................................................................................................................................................ 863
Implementation Information.............................................................................................................................................864
Configuration Task List for SNMP..................................................................................................................................864
Important Points to Remember.......................................................................................................................................864
Set up SNMP.....................................................................................................................................................................864
Creating a Community................................................................................................................................................865
Setting Up User-Based Security (SNMPv3)...........................................................................................................865
Enable SNMPv3 traps................................................................................................................................................ 866
Reading Managed Object Values.................................................................................................................................... 866
Writing Managed Object Values......................................................................................................................................867
Configuring Contact and Location Information using SNMP...................................................................................... 867
Configuring the CPU Utilization for SNMP Traps........................................................................................................ 868
Configuring Threshold Memory Utilization for SNMP Traps.......................................................................................869
Subscribing to Managed Object Value Updates using SNMP.....................................................................................870
Enabling a Subset of SNMP Traps..................................................................................................................................870
Enabling an SNMP Agent to Notify Syslog Server Failure...........................................................................................873
Copy Configuration Files Using SNMP...........................................................................................................................874
Copying a Configuration File...................................................................................................................................... 875
Copying Configuration Files via SNMP.....................................................................................................................876
Copying the Startup-Config Files to the Running-Config......................................................................................876
Copying the Startup-Config Files to the Server via FTP....................................................................................... 876
Copying the Startup-Config Files to the Server via TFTP..................................................................................... 877
26
Contents