cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
414
Views
0
Helpful
1
Replies

Logging

trotunno
Level 1
Level 1

Hello,

I have a PIX 501 firewall and am wondering what the comands are to enable logging on teh firewall.

Can anyone advise?

Tommy

1 Reply 1

Patrick Iseli
Level 7
Level 7

Commands are:

[no] logging on

[no] logging buffered level

[no] logging console level

logging device-id {hostname | ipaddress if_name | string text}

no logging device-id

[no] logging facility facility

[no] logging history level

[no] logging host [in_if_name] ip_address [protocol /port] [format emblem]

[no] logging message syslog_id [level level]

[no] logging monitor level

[no] logging queue queue_size

[no] logging standby

[no] logging timestamp

[no] logging trap level

clear logging [disable]

show logging [message {syslog_id | all} | level | disabled]

show logging queue

Replace syslogid with the numeric identifier assigned to the syslog message. Replace levelid with one of the following numeric or text identifiers for the syslog level:

•0—emergencies—System unusable messages

•1—alerts—Take immediate action

•2—critical—Critical condition

•3—errors—Error message

•4—warnings—Warning message

•5—notifications—Normal but significant condition

•6—informational—Information message

•7—debugging—Debug messages and log FTP commands and WWW URLs

See command referenece:

http://www.cisco.com/en/US/products/sw/secursw/ps2120/products_command_reference_chapter09186a00801727a9.html#wp1028090

Example for syslog:

http://www.cisco.com/en/US/products/sw/secursw/ps2120/products_configuration_guide_chapter09186a0080172797.html#wp1119533

Minimal setup:

eanble

conf t

logging on

logging buffer warn

logg mon warn

sincerely

Patrick