Accton Technology VS4512DC manual Saving Configuration Settings, Trap Receivers

Models: VS4512DC VS4512

1 334
Download 334 pages 13.79 Kb
Page 29
Image 29

Basic Configuration

To configure a community string, complete the following steps:

1.From the Privileged Exec level global configuration mode prompt, type “snmp-server community string mode,” where “string” is the community access string and “mode” is rw (read/write) or ro (read only). Press <Enter>. (Note that the default mode is read only.)

2.To remove an existing string, simply type “no snmp-server community string,” where “string” is the community access string to remove. Press <Enter>.

Console(config)#snmp-server community admin rw

Console(config)#snmp-server community private

Console(config)#

Trap Receivers

You can also specify SNMP stations that are to receive traps from the switch.

To configure a trap receiver, complete the following steps:

1.From the Privileged Exec level global configuration mode prompt, type “snmp-server host host-addresscommunity-string,” where “host-address” is the IP address for the trap receiver and “community-string” is the string associated with that host. Press <Enter>.

2.In order to configure the switch to send SNMP notifications, you must enter at least one snmp-server enable traps command. Type “snmp-server enable traps type,” where “type” is either authentication or link-up-down. Press <Enter>.

Console(config)#snmp-server enable traps link-up-down

Console(config)#

Saving Configuration Settings

Configuration commands only modify the running configuration file and are not saved when the switch is rebooted. To save all your configuration changes in nonvolatile storage, you must copy the running configuration file to the start-up configuration file using the “copy” command.

To save the current configuration settings, enter the following command:

1.From the Privileged Exec mode prompt, type “copy running-config startup-config” and press <Enter>.

2.Enter the name of the start-up file. Press <Enter>.

Console#copy running-config startup-config Startup configuration file name []: startup \Write to FLASH Programming.

\Write to FLASH finish. Success.

Console#

2-7

Page 29
Image 29
Accton Technology VS4512DC manual Saving Configuration Settings, Trap Receivers