Husky HME-421E, HME-423E user manual SystemLog, Smtp and Event Commands Set

Page 74

 

 

 

 

 

Command Set Lists

 

C-14

SystemLog, SMTP and Event Commands Set

 

Commands

Level

Description

Example

 

 

systemlog ip

G

Set System log server IP

switch(config)# systemlog ip

 

 

[IP address]

 

address.

192.168.1.100

 

 

 

 

 

 

 

 

systemlog mode

G

Specify the log mode.

switch(config)# systemlog mode both

 

 

[clientserverboth]

 

 

 

 

 

 

 

 

 

 

 

show systemlog

E

Display system log.

Switch>show systemlog

 

 

show systemlog

P

Show system log client &

switch#show systemlog

 

 

 

 

 

server information.

 

 

 

no systemlog

G

Disable systemlog

switch(config)#no systemlog

 

 

 

 

 

function.

 

 

 

smtp enable

G

Enable SMTP function.

switch(config)#smtp enable

 

 

smtp serverip

G

Configure SMTP server

switch(config)#smtp serverip

 

 

[IP address]

 

IP.

192.168.1.5

 

 

smtp authentication

G

Enable SMTP

switch(config)#smtp authentication

 

 

 

 

 

authentication.

 

 

 

smtp account

G

Configure authentication

switch(config)#smtp account John

 

 

[account]

 

 

account.

 

 

 

smtp password

G

Configure authentication

switch(config)#smtp password 1234

 

 

[password]

 

password.

 

 

 

smtp rcptemail

G

Configure Rcpt e-mail

switch(config)#smtp rcptemail 1

 

 

[Index] [Email address]

 

Address.

Alert@test.com

 

 

show smtp

P

Show the information of

switch#show smtp

 

 

 

 

 

SMTP.

 

 

 

no smtp

 

G

Disable SMTP function.

switch(config)#no smtp

 

 

event device-cold-start

G

Set cold start event type.

switch(config)#event device-cold-start

 

 

[SystemlogSMTPBoth]

 

 

both

 

 

event authentication-failure

G

Set Authentication failure

switch(config)#event

 

 

[SystemlogSMTPBoth]

 

event type.

authentication-failure both

 

 

event ring-topology-change

G

Set X-ring topology

switch(config)#event

 

 

[SystemlogSMTPBoth]

 

changed event type.

ring-topology-change both

 

 

event systemlog

I

Set port event for system

switch(config)#interface fastethernet 3

 

 

[Link-UPLink-DownBoth]

 

log.

switch(config-if)#event systemlog both

 

 

event smtp

I

Set port event for SMTP.

switch(config)#interface fastethernet 3

 

 

[Link-UPLink-DownBoth]

 

 

switch(config-if)#event smtp both

 

 

show event

P

Show event selection.

switch#show event

 

 

no event device-cold-start

G

Disable cold start event

switch(config)#no event

 

 

 

 

 

type.

device-cold-start

 

 

no event

 

G

Disable Authentication

Switch(config)#no event

 

 

authentication-failure

 

failure event type.

authentication-failure

 

 

no event

 

G

Disable X-ring topology

switch(config)#no event

 

 

ring-topology-change

 

changed event type.

ring-topology-change

 

 

no event systemlog

I

Disable port event for

switch(config)#interface fastethernet 3

 

 

 

 

 

system log.

switch(config-if)#no event systemlog

 

 

no event smpt

I

Disable port event for

switch(config)#interface fastethernet 3

 

 

 

 

 

SMTP.

switch(config-if)#no event smtp

 

 

show systemlog

P

Show system log client &

switch#show systemlog

 

 

 

 

 

server information.

 

 

C-12

Image 74
Contents HME-421E/423E Copyright Notice Table of Contents Ring Application Couple Ring Dual Homing Dual Ring Page Overview Product FeaturesIntroduction Package Checklist Front Panel Side Panel Hardware InstallationDimensions and Panel Layout Back Panel Bottom PanelLED Name LED Color LED Function LED IndicatorsRJ-45 Ports 1 RJ-45 Pin AssignmentsFiber Ports PinDIN-Rail Mounting Installing Your Ethernet Direct SwitchMounting The Switch Wiring The Power Inputs Wall MountingWiring The Fault Alarm Contact CablingPage Login The Console Interface Configuration Using Console InterfaceConnecting Console Port CLI ManagementConfigure Command LevelsModes Access Method Prompt Exit Method About This Mode DatabaseAbout Web-based Management Interface Configuration Using a Web BrowserSystem Login Preparing for Web-based ManagementBasic Settings Management Main ScreenPort Statistics User AuthenticationConfirm password PortIP Configuration Fault Relay AlarmPower Failure Port Link Down/BrokenUpdating Firmware by Tftp Restoring Configurations by TftpBacking up Configurations by Tftp Advanced Management Settings Security SpeedDuplex Rate LimitingSource Port Port MirroringDestination Port Dhcp ServerLease Time sec Low IP AddressHigh IP Address Port and IP Bindings by Dhcp ServerSystem Log Server IP System Event Log Syslog ConfigurationSyslog Client Mode AddressEmail Alert Smtp ConfigurationAuthentication Smtp Server IPPort event selection Event ConfigurationSystem event selection Daylight Saving Time Sntp ConfigurationSntp Client UTC TimezoneEnable Http Server Mins Switch TimerIP Security Mode Enable Telnet ServerSystem Priority Aggregator SettingsPort Trunking Group IDGroup Key Lacp DisabledAggregator Information Port MemberLacp Enabled State Activity Vlan Configuration Port-based VlanPage Ieee 802.1Q Tag-based Vlan 11.2.1 802.1Q Configuration Vlan Operation ModeEnable Gvrp Management Vlan IDTagged VID Link TypeUntagged VID Group Configuration QoS Policy QoS ConfigurationUse an 8, 4, 2, 1 weighted fair queuing scheme Use the strict priority schemeIgmp Configuration Leave Group Snmp ConfigurationAgent Mode Community StringsCommunity Trap ConfigurationSnmp v3 Configuration Trap VersionContext Table Context Name Group Table Security Name User IDContext Match Rule Access Table Context PrefixSecurity Level Read View NameLldp Interval Lldp ConfigurationLldp Protocol Rstp Mode Rapid Spanning Tree Protocol Configuration RstpSystem Configuration Forward Delay TimeAdmin Non Stp Admin P2PAdmin Edge Ring ConfigurationEnable Dual Homing Enable RingEnable Couple Ring Enable Dual RingRadius Server IP 18 802.1X/Radius ConfigurationIeee 802.1x Protocol Server PortReject DisableMisc Configuration AcceptStatic MAC Address Settings Supplicant TimeoutServer Timeout Max RequestsMAC Filtering All MAC AddressesMulticast Filtering Member PortsCouple Ring Network ApplicationsRing Application Dual Homing Example of Couple Ring ConnectionNetwork Applications Example of Dual Ring Connection Diagram Dual RingRegulatory Approvals SpecificationsTechnology Management Specifications Dhcp Troubleshooting Appendix BSystem Commands Set Command Set ListsCommands Set List Port Commands Set Broadcast-only Broadcast-multicast-flooded-unicastBroadcast-multicast Trunk Commands Set Vlan Commands SetSwitchvlan#vlanmode 802.1q Switch#vlan databaseSwitchvlan#vlanmode portbase Ported based Vlan configurationSpanning Tree Commands Set QoS Commands Set Igmp Commands SetMac / Filter Table Commands Set Snmp Commands SetGroup G1 password AuthPW PrivPW Switchconfig#snmpv3 context-nameSwitchconfig#snmpv3 user test01 Switchconfig#snmpv3 mibview viewPort Mirroring Commands Set 12 802.1x Commands SetTftp Commands Set SystemLog, Smtp and Event Commands Set Sntp Commands Set Ring Commands SetSwitchconfig# no ring couplering Switchconfig#ring homingportSwitch#show ring Switchconfig# no ring dualhoming