• No se han encontrado resultados

OIL CHECK apa- apa-rece

In document Manual de instrucciones C 650 GT (página 29-44)

- filter <filter-id> - no filter <filter-id> <filter-id> : [1..1001]

[no] default-action - Specify the default action for the event filter [no] description - Description string for the event filter [no] entry + Configure an event filter entry A:PE1>config# log filter 14

A:PE1>config>log>filter$ description “critical filter" A:PE1>config>log>filter$ default-action forward A:PE1>config>log>filter$ entry 1

A:PE1>config>log>filter>entry$ action forward

A:PE1>config>log>filter>entry# match severity eq critical A:PE1>config>log>filter>entry# exit all

A:PE1>config# log filter - filter <filter-id> - no filter <filter-id>

<filter-id> : [1..1001]

[no] default-action - Specify the default action for the event filter [no] description - Description string for the event filter [no] entry + Configure an event filter entry

A:PE1>config# log filter 14

A:PE1>config>log>filter$ description “critical filter" A:PE1>config>log>filter$ default-action forward A:PE1>config>log>filter$ entry 1

A:PE1>config>log>filter>entry$ action forward

A:PE1>config>log>filter>entry# match severity eq critical A:PE1>config>log>filter>entry# exit all

Steps to configure a log

1. Configure a log ID with a number from 1 to 98. 2. Identify the source.

3. Specify an optional filter to filter events if required. 4. Identify the destination.

Alcatel-Lucent Scalable IP Networks v2.01 Module 2 | 52 All rights reserved © 2008 Alcatel-Lucent

CLI for Configuring Logs (continued)

A:PE1>config>log# log-id 14 A:PE1>config>log>log-id# from main A:PE1>config>log>log-id# to session A:PE1>config>log>log-id# filter 14

A:PE1>config>log>log-id# info detail --- no description filter 14 time-format utc from main to session no shutdown --- A:PE1>config>log>log-id# A:PE1>config>log# log-id 14 A:PE1>config>log>log-id# from main A:PE1>config>log>log-id# to session A:PE1>config>log>log-id# filter 14

A:PE1>config>log>log-id# info detail --- no description filter 14 time-format utc from main to session no shutdown --- A:PE1>config>log>log-id#

General log commands: show log applications show log event-control show log file-id

show log filter-id show log log-collector show log log-id

show log snmp-trap-group show log syslog

Alcatel-Lucent Scalable IP Networks v2.01 Module 2 | 53 All rights reserved © 2008 Alcatel-Lucent

Default Alarm Logs

There are two default and one special use log.

ƒ Log 99 – All severity levels of alarms

ƒ Log 100 – Only critical errors

ƒ Log 98 (special use) – Created by SAM managed nodes To view the logs, use the following commands:

ƒ show log log-id 99

ƒ show log log-id 100

More granular information in the two log files can be displayed by using:

ƒ show log log-id 99 subject 1/1/1 – port specific

ƒ show log log-id 99 application chassis – chassis-related alarms

ƒ Additional commands exist for displaying alarm information

Only store about 500 of the latest entries. If more entries are required, specific alarm logs need to be created

Showing Layer 1 and Layer 2 alarms

The 7750 SR and the 7450 ESS have two default memory logs (log-id 99 and log-id 100) that contain all of the events from the main application. All severity levels of alarms are recorded in log-id 99; log-id 100 only contains serious errors.

There are several ways to view the alarms of a specific subject, such as alarms related to a particular port. One method is to create a log that only monitors the specific subject.

Although Log 98 is not reserved or in use by default, it should be noted that the 5620 SAM network

management software will try to use this log-id by default. Generally it is recommended not to use log-id 98.

Alcatel-Lucent Scalable IP Networks v2.01 Module 2 | 54 All rights reserved © 2008 Alcatel-Lucent

Default Logs – Alarm Monitoring Example The show log command

A:PE1>config>log>log-id# show log log-id 99

=================================================================== Event Log 99

=================================================================== Description : Default System Log

Memory Log contents [size=500 next event=25 (not wrapped)]

24 2006/08/17 15:30:55.29 UTC WARNING: SYSTEM #2006 - CHASSIS "tmnxMDATable: Slot 1, MDA 2 configuration modified"

23 2006/08/17 15:30:55.29 UTC WARNING: SYSTEM #2007 - PORT "Pool on Port 1/2/b.net-sap Modified managed object created“ ……….

5 2006/08/17 15:30:55.29 UTC MINOR: CHASSIS #2004 - Mda 1/2 "Class MDA Module : wrong type inserted"

A:PE1>config>log>log-id# show log log-id 99

=================================================================== Event Log 99

=================================================================== Description : Default System Log

Memory Log contents [size=500 next event=25 (not wrapped)]

24 2006/08/17 15:30:55.29 UTC WARNING: SYSTEM #2006 - CHASSIS "tmnxMDATable: Slot 1, MDA 2 configuration modified"

23 2006/08/17 15:30:55.29 UTC WARNING: SYSTEM #2007 - PORT "Pool on Port 1/2/b.net-sap Modified managed object created“ ……….

5 2006/08/17 15:30:55.29 UTC MINOR: CHASSIS #2004 - Mda 1/2 "Class MDA Module : wrong type inserted"

The show log log-id 99 application chassis command displays all alarms that are logged in the router. In the slide, the detailed information only displays minor alarms from the individual modules that are inserted in the chassis. From the time that appears in the slide, it appears that these entries are from when the router first booted.

Alcatel-Lucent Scalable IP Networks v2.01 Module 2 | 55 All rights reserved © 2008 Alcatel-Lucent

Displaying Configuration Information

The info command provides an informational display

In document Manual de instrucciones C 650 GT (página 29-44)

Documento similar