Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell EMC Configuration Guide for the S4048T–ON System 9.14.2.4

PDF

Enabling and Disabling a Port using SNMP

To enable and disable a port using SNMP, use the following commands.

  1. Create an SNMP community on the Dell system.
    CONFIGURATION mode
    snmp-server community
  2. From the Dell EMC Networking system, identify the interface index of the port for which you want to change the admin status.
    EXEC Privilege mode
    show interface
    Or, from the management system, use the snmpwwalk command to identify the interface index.
  3. Enter the snmpset command to change the admin status using either the object descriptor or the OID.
    snmpset with descriptor: snmpset -v version -c community agent-ip ifAdminStatus.ifindex i {1 | 2}
    snmpset with OID: snmpset -v version -c community agent-ip .1.3.6.1.2.1.2.2.1.7.ifindex i {1 | 2}
    Choose integer 1 to change the admin status to Up, or 2 to change the admin status to Down.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\