to Router2. This

is a port connected to IF-MIB::ifAlias.134792448 = STRING:

!------

command

run on Dell Networkingswitch: --------------

!

Dell#snmp ifmib ifalias long

 

!------

command

run on server connected to switch:

 

--------------

!

 

>snmpwalk -c public 10.10.10.130 .1.3.6.1.2.1.31 grep -i alias more

IF-MIB::ifAlias.134530304 = STRING: This is a port connected to Router2. This

is a port connected to Router2. This is a port connected to Router2. This is a

port connected to Router2. This is a port connected to Router2. IF-MIB::ifAlias.134792448 = STRING:

Dell#config

snmp-server community

Configure a new community string access for SNMPv1 v2 and v3.

Syntaxsnmp-server community community-name{ro rw} [ipv6 ipv6- access-list-name[ipv6 ipv6-access-list-name access-list-name

security-name name] security-name name [ipv6 ipv6-access-list-name access-list-name security-name name] access- list-name[ipv6 ipv6-access-list-name access-list-name security-name name]]]

To remove access to a community, use the no snmp-server community

community-string {ro rw} [security-namename [access-list- name ipv6 access-list-name access-list-name ipv6 access-

list-name]]command.

Parameters

community-

Enter a text string (up to 20 characters long) to act as a

 

 

name

password for SNMP.

 

ro

Enter the keyword ro to specify read-only permission.

 

rw

Enter the keyword rw to specify read-write permission.

 

ipv6 access-

(Optional) Enter the keyword ipv6 then an IPv6 ACL name (a

 

list-name

string up to 16 characters long).

 

security-name

(Optional) Enter the keywords security-namethen the

 

name

security name as defined by the community MIB.

 

access-list-

(Optional) Enter a standard IPv4 access list name (a string up

 

name

to 16 characters long).

Defaults

none

 

Command

CONFIGURATION

 

Modes

 

 

1480

Simple Network Management Protocol (SNMP) and Syslog

Page 1480
Image 1480
Dell 9.7(0.0) manual Snmp-server community, Ipv6 access, Security-name