22 snmp-server view, 5 commands for switch upgrade, 1 copy(ftp – PLANET WGSW-52040 User Manual

Page 105: 22 snmp-server view -104, Ommands for, Witch, Pgrade, 1 copy(ftp) -104, 5 commands for switch upgrade 1.5.1 copy ( ftp

Advertising
background image

1-104

1.4.22 snmp-server view

Command:

snmp-server view <view-string> <oid-string> {include | exclude}

no snmp-server view <view-string> [ <oid-string> ]

Function:

This command is used to create or renew the view information; the “no" form of this command deletes the view

information.

Command Mode:

Global Mode.

Parameter:

<view-string> view name, containing 1-32 characters.

<oid-string> is OID number or corresponding node name, containing 1-255 characters.

include | exclude, include/exclude this OID.

Usage Guide:

The command supports not only the input using the character string of the variable OID as parameter. But also

supports the input using the node name of the parameter.

Example:

Create a view, the name is readview, including iso node but not including the iso.3 node

Switch(config)#snmp-server view readview iso include

Switch(config)#snmp-server view readview iso.3 exclude

Delete the view

Switch(config)#no snmp-server view readview

1.5 Commands for Switch Upgrade

1.5.1 copyFTP

Command:

copy <source-url> <destination-url> [ascii | binary]

Function:

Advertising