Ip address configuration, Manual ip configuration, Using dhcp/bootp – Planet Technology SGSD-1022 User Manual
Page 671: Sending simple mail transfer protocol alerts
User’s Manual of SGSD-1022 / SGSD-1022P
SGSW-2840 / SGSW-2840P
671
IP Address Configuration
Manual IP Configuration
Console#config
Console(config)# interface vlan 1
Console(config-if)# ip address 192.168.1.1 255.255.255.0
Console(config-if)# exit
Console(config)# ip default-gateway 192.168.1.253
Console(config)#
Using DHCP/BOOTP
If your network provides DHCP/BOOTP services, you can configure the switch to be dynamically configured by these services.
Console#config
Console(config)# interface vlan 1
Console(config-if)# ip address dhcp
Console(config-if)# end
Console(config)# ip dhcp restart
Console(config)# show ip interface
IP address and netmask: 192.168.1.1 255.255.255.0 on VLAN 1,
and address mode: DHCP
Console#
Sending Simple Mail Transfer Protocol Alerts
Console(config)# logging sendmail host 192.168.1.4
Console(config)# logging sendmail level 3
Console(config)# logging sendmail source-email [email protected]
Console(config)# logging sendmail destination-email [email protected]
Console(config)# logging sendmail
Console(config)# exit
Console# show logging sendmail