cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
937
Views
0
Helpful
4
Replies

Source Ip Address of Logging Sendmail

fcotichelli
Level 1
Level 1

Hi,

I'm looking for a way to configure a specific Circuit Vlan #'s Ip Address as source ip address of log messages sent as result of the "logging sendmail" command. (at the moment Sw Version: 7.30).

Does anyone know a way get it ?

Thanx in advance !

Francesco

1 Accepted Solution

Accepted Solutions

pknoops
Level 3
Level 3

Francesco,

This info will come from the mgt ip address assigned on the CSS. You would need to change the mgt ip address on your box which will sendmail will then use:

Like this:

CS503# config

CS503(config)# b

boot Enter BOOT configuration mode

bridge Bridge parameters

bypass Configure Bypassed Service Action

CS503(config)# boot

CS503(config-boot)# ip address ?

Of the form a.b.c.d

CS503(config-boot)# ip address

Keep in mind that you do not want to use a circuit ip address range already being used on your CSS.

Regards

Pete..

View solution in original post

4 Replies 4

pknoops
Level 3
Level 3

Francesco,

This info will come from the mgt ip address assigned on the CSS. You would need to change the mgt ip address on your box which will sendmail will then use:

Like this:

CS503# config

CS503(config)# b

boot Enter BOOT configuration mode

bridge Bridge parameters

bypass Configure Bypassed Service Action

CS503(config)# boot

CS503(config-boot)# ip address ?

Of the form a.b.c.d

CS503(config-boot)# ip address

Keep in mind that you do not want to use a circuit ip address range already being used on your CSS.

Regards

Pete..

Hi Pete

thanx so much for your reply !

I'm going to test it asap, but in the meanwhile I have another question (regardind the "logging sendmail" command as well): when I receive an e-mail message sent by the CSS, the Subject Field is "0.0.0.0" and consequently i cannot see which CSS sent the mail (unless searching int the SMTP Header of the mail, but it's not scalable ...). Is there any command/trick i can use to have the CSS write its IP Address (or an Hostname) in the Subject field of the e-mail sent?

Thanx again in advance

Regards

Francesco

PS

Sw Ver: 7.30

Francesco,

The same applies here. Your MGT port must have no ip address assigned to it, so you would change this to whatever IP address you want and the CSS will use it for the subject field.

CSS11501# config

CSS11501(config)# boot

CSS11501(config-boot)# ip address

CSS11501(config-boot)# exit

CSS11501(config)# exit

CSS11501# save_config

Working..(|\) archive startup-config

CSS11501#

Regards

Pete..

Hi Pete,

I've tested and implemented your suggestions with the expected results !

Thanx so much for your patience and great support!

hope to hear from you again.

regards

Francesco

Review Cisco Networking for a $25 gift card