Enable NetFlow On Cisco 4500 Sup IV with Netflow Services Card

This change template configures NetFlow on Cisco IOS devices.  The template was verified on an Cisco 4500 Multilayer Switches with Supervisor IV and WS-F4531 Netflow Services Card.  Tested (F)irmware and (S)oftware revisions:  F: 12.2(20r)EW1, S: 12.2(53)SG; F: 12.2(20r)EW1, S: 12.2(54)SG1; F: 12.2(31r)SGA1, S: 12.2(53)SG; F: 12.2(31r)SGA1, S: 12.2(53)SG1; F: 12.2(31r)SGA1, S: 12.2(54)SG1

Parents
  • The below sections within the script will need to be edited to accommodate your environment.

    //Declare variable and assign netflow server IP Address based on the nodes polling EngineID association.

    string @NetFlowCollectorIP

    if ( @node.EngineID == 1){

    @NetFlowCollectorIP = '<insert polling IP>'}

    // if ( @node.EngineID == <engine id>){

    // @NetFlowCollectorIP = '<insert polling IP>'}

    // if ( @node.EngineID == <engine id>){

    // @NetFlowCollectorIP = '<insert polling IP>'}

    // if ( @node.EngineID == <engine id>){

    // @NetFlowCollectorIP = '<insert polling IP>'}

Comment
  • The below sections within the script will need to be edited to accommodate your environment.

    //Declare variable and assign netflow server IP Address based on the nodes polling EngineID association.

    string @NetFlowCollectorIP

    if ( @node.EngineID == 1){

    @NetFlowCollectorIP = '<insert polling IP>'}

    // if ( @node.EngineID == <engine id>){

    // @NetFlowCollectorIP = '<insert polling IP>'}

    // if ( @node.EngineID == <engine id>){

    // @NetFlowCollectorIP = '<insert polling IP>'}

    // if ( @node.EngineID == <engine id>){

    // @NetFlowCollectorIP = '<insert polling IP>'}

Children
No Data