cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
908
Views
0
Helpful
2
Replies

how to enable or disable each port of Catalyst 2960x using Cisco Prime infrastructure 2.0?

kuroyuki92
Level 1
Level 1

this configuration that I did for snmp;

snmp-server community public RO
snmp-server community private RW
snmp-server enable traps snmp authentication linkdown linkup coldstart warmst
snmp-server enable traps transceiver all
snmp-server enable traps call-home message-send-fail server-fail
snmp-server enable traps tty
snmp-server enable traps license
snmp-server enable traps auth-framework sec-violation
snmp-server enable traps cluster
snmp-server enable traps config-copy
snmp-server enable traps config
snmp-server enable traps config-ctid
snmp-server enable traps dot1x auth-fail-vlan guest-vlan no-auth-fail-vlan noest-vlan
snmp-server enable traps energywise
snmp-server enable traps fru-ctrl
snmp-server enable traps entity
snmp-server enable traps event-manager
snmp-server enable traps power-ethernet police
snmp-server enable traps cpu threshold
snmp-server enable traps rep
snmp-server enable traps vstack
snmp-server enable traps bridge newroot topologychange
snmp-server enable traps stpx inconsistency root-inconsistency loop-inconsisty
snmp-server enable traps syslog
snmp-server enable traps vtp
snmp-server enable traps vlancreate
snmp-server enable traps vlandelete
snmp-server enable traps flash insertion removal
snmp-server enable traps port-security
snmp-server enable traps envmon fan shutdown supply temperature status
snmp-server enable traps stackwise
snmp-server enable traps errdisable
snmp-server enable traps mac-notification change move threshold
snmp-server enable traps vlan-membership
snmp-server host *.*.*.* informs version 2c private
snmp-server host *.*.*.* version 2c private snmp
snmp-server manager

 

by sh snmp;

Chassis: FOC1910S380
19737 SNMP packets input
    0 Bad SNMP version errors
    0 Unknown community name
    3 Illegal operation for community name supplied
    0 Encoding errors
    48898 Number of requested variables
    0 Number of altered variables
    5416 Get-request PDUs
    1 Get-next PDUs
    3 Set-request PDUs
    0 Input queue packet drops (Maximum queue size 1000)
20606 SNMP packets output
    0 Too big errors (Maximum packet size 1500)
    0 No such name errors
    0 Bad values errors
    0 General errors
    19737 Response PDUs
    176 Trap PDUs
SNMP global trap: enabled

SNMP logging: enabled
    Logging to *.*.*.* .162, 0/10, 154 sent, 22 dropped.

SNMP Manager-role output packets
    0 Get-request PDUs
    0 Get-next PDUs
    0 Get-bulk PDUs
    0 Set-request PDUs
    693 Inform-request PDUs
    689 Timeouts
    5 Drops
SNMP Manager-role input packets
    0 Inform request PDUs
    0 Trap PDUs
    0 Response PDUs
    0 Responses with errors

SNMP informs: enabled
    Informs in flight 2/25 (current/max)
    Logging to *.*.*.* .162
        176 sent, 2 in-flight, 516 retries, 167 failed, 7 dropped

 

What did I need to do now?

 

2 Replies 2

Marvin Rhoads
Hall of Fame
Hall of Fame

Just create a cli template with the necessary commands and deploy it to your switches. Something simple like:

int range gi1/0/1-48

shut

do wr mem

Be careful to exclude the link into the switch with your command template

What about using CLI template?

 

interface $interfaceName
shutdown

type DB

Default value intefName

 

I still get last run status "failure". Is there any thing that I need to configure or setup?

 

Review Cisco Networking for a $25 gift card