beautypg.com

GarrettCom Magnum MNS-6K User Manual

Page 257

background image

M A G N U M 6 K S W I T C H E S , M N S - 6 K U S E R G U I D E

256

body – [mandatory] email body


Syntax server ip= [port=<1-65535>] [retry=<0-3>] – configure the global SMTP server

settings

ip – [mandatory] SMTP server IP address

port – [mandatory] TCP port to be used for SMTP communications – default is 25

retry – [optional] specifies how many times to retry if an error occurs when sending email.

Range from 0 to 3. Default is 0.


Syntax smtp - enables or disables SMTP to send SNMP alerts by email

Syntax
exportlog mode= [] [file=]

[doctype=] – facilitates the export of the event log information as a text
file or as an HTML file


Syntax !! – repeat the last command

Syntax
! - repeat the “n”th command (as indicated by a show history)

Syntax show history – show the last 25 commands executed – if less than 25 commands are executed, only

those commands executed are shown


Syntax - every time the key is pressed, the last command is printed on the screen but not executed.

This allows for editing errors made in typing


Syntax - opposite of Up-arrow key

Syntax show version – displays the version of MNS-6K being used

Syntax
set ftp mode= - set the ftp mode of operation

Syntax show ftp- display the current ftp operation mode

Syntax

ping [count=<1-999>] [timeout=<1-256>] – use the ping command to test

connectivity


Syntax set prompt - set the prompt for switch. The prompt has predefined

variables. These are $n : System Name; $c : System Contact; $l : System Location; $i :
System IP; $m : System MAC; $v : Version; $$ : $ Character; $r : New Line; $b :
Space