printPrint Page

feedbackDocument Feedback

supportSupport & Services

businessPluribus Networks

LinkedIn

facebookFacebook

Twitter

log-event-show

This command displays information about the log event configuration.

Syntax   log-event-show

Specify between 0 and 2 of the following options:

start-time date/time: yyyy-mm-ddThh:mm:ss

Displays the start time for the log file.

end-time date/time: yyyy-mm-ddThh:mm:ss

Displays the end time for the log file.

duration duration: #d#h#m#s

Displays the duration of the log file.

Specify any of the following options:

program program-string

Specifies the program type.

pid pid-number

Specifies the program indentifiier.

name name-string

Specifies the program name.

code code-number

Specifies the code number.

event-type system|port|tcp|
stp|igmp|lldp|lacp|vdp|ecp|evb|ptp|openflow|storage|tacacs|
openstack|mld|mroute|vport|lacp-port|lacp-port-event

Specifies the type of event.

vnet vnet-name

Specifies the associated VNET.

remote_switch node name

Specifies the name of the remote switch.

user user-name

Specifies the username.

client-pid client-pid-number

Specifies the client program identifier.

client-addr ip-address

Specifies the client IP address.

port port-number

Specifies the port number.

vlan vlan-id

Specifies the VLAN identifier.

vxlan vxlan-name

Specifies the VXLAN identifier.

count number

Displays the count in a range from 1 to 50000.

starting-point starting-point-number

Specifies the starting point of the log audit.

length length-number

Specifies the length of the log audit.

reverse|no-reverse

Specifies if the log is reverse or not reverse.

Defaults   None

Access   CLI

History   

Version 1.2

Command introduced.

Version 2.1

The event type, TACACS, added.

Version 2.2

The parameters, starting-point, length and reverse added.

Version 2.3.2.1

The options, mld|mroute|vport, added to event type.

Version 3.0.0

The options, lacp-port and lacp-port-event, added.

Usage   Use this command to display information about the event log.

Examples  To display information about log events, use the following command:

CLI network-admin@switch > log-event-show

category:      event

time:          2014-06-24,15:01:08.094640-07:00

switch:        pleiades24

program:       nvOSd

pid:           1384

name:          mac_ip_add

code:          11022

event-type:    port

port:          10

vlan:          11

message:       mac/ip address added mac=50:73:9f:e0:7f:fd ip=172.16.23.3

category:      event

time:          2014-06-24,15:03:24.063484-07:00

switch:        pleiades24

program:       nvOSd

pid:           1384

name:          mac_ip_add

code:          11022

event-type:    port

port:          65

vlan:          11

message:       mac/ip address added mac=50:73:9f:e0:7f:fd ip=172.16.23.2

category:      event

time:          2014-06-24,15:26:04.863472-07:00

switch:        pleaides

program:       nvOSd

pid:           1384

name:          mac_ip_add

code:          11022

log-event-settings-modify

This command allows you to modify the log event settings.

Syntax   log-event-settings-modify


Specify one or more of the following options:

system|no-system

Specifies system events.

port|no-port

Specifies the port event.

tcp|no-tcp

Specifies TCP events

stp|no-stp

Specifies the STP events.

igmp|no-igmp

Specifies IGMP events.

lldp|no-lldp

Specifies LLDP events.

lacp|no-lacp

Specifies LACP events.

vdp|no-vdp

Specifies VDP events.

ecp|no-ecp

Specifies ECP events.

evb|no-evb

Specifies EVB events.

ptp|no-ptp

Specifies PTP events.

openflow|no-openflow

Specifies Openflow events.

storage|no-storage

Specifies storage events.

tacacs|no-tacacs

Specifies TACACS events.

mld|no-mld

Specifies MLD events.

openstack|no-openstack

Specifies OpenStack events.

mroute|no-mroute

Specifies multicast routing events.

vport|no-vport

Specifies vPort events.

lacp-port-event|no-lacp-port-event

Specifies to log LACP port events.

Defaults   None

Access   CLI

History   

Version 1.2

Command introduced.

Version 2.1

The parameter, TACACS, added.

Version 2.2

The parameter, openstack, added.

Version 2.2.5

The parameter, LACP, added.

Version 2.3

The parameters, mld and mroute, added.

Version 2.3.1

The parameter, vport, added.

Version 2.6.2

The parameter, lacp-port-event, added.

Usage   Use this command to modify log event settings including the type of event.

Examples  To modify the log event settings to exclude vdp events, use the following command:

CLI network-admin@switch > log-event-settings-modify no-vdp

log-event-settings-show

This command allows you to display the log event settings.

Syntax   log-event-settings-show

Defaults   None

Access   CLI

History   Command introduced in nvOS Version 1.2.1.

Usage   Use this command to display log event settings including the type of event.

Examples  To display the log event settings, use the following command:

CLI network-admin@switch > log-event-settings-show

switch:    Pleiades24

system:    on

port:      on

tcp:       off

stp:       off

igmp:      off

lldp:      off

lacp:      off

vdp:       off

ecp:       off

evb:       off

ptp:       off

openflow:  off

storage:   on

tacacs:    on

openstack: on

switch:    Pleiades25

system:    on

port:      on

tcp:       off

stp:       off

igmp:      off

lldp:      off

lacp:      off

vdp:       off

ecp:       off

evb:       off

ptp:       off

openflow:  off

storage:   on

tacacs:    on

openstack: on


log-system-show

This command displays information about the log system configuration.

Syntax   log-system-show

Specify between 0 and 2 of the following options:

start-time date/time: yyyy-mm-ddThh:mm:ss

Specify the start time for the log file.

end-time date/time: yyyy-mm-ddThh:mm:ss

Specify the end time for the log file.

duration duration: #d#h#m#s

Specify the duration of the log file.

Specify any of the following options:

program program-string

Specifies the program type.

pid pid-number

Specifies the program identifiier.

name name-string

Specifies the program name.

code code-number

Specifies the code number.

level critical|error|warn|

note

Specifies the type of event.

vnet vnet-name

Specifies the VNET name.

remote_switch node name

Specifies the name of the remote switch.

user user-name

Spcifies the username.

client-pid client-pid-number

Specifies the client program identifier.

client-addr ip-address

Specifies the client IP address.

port port-number

Specifies the port number.

vlan vlan-id

Specifies the VLAN identifier.

vxlan vxlan-name

Specifies the VXLAN identifier.

count number

Displays the count from 1 to 50000.

starting-point starting-point-number

Specifies the starting point of the log audit.

length length-number

Specifies the length of the log audit.

reverse|
no-reverse

Specifies if the log is reverse or not reverse.

Defaults   None

Access   CLI

History   Command introduced in Version 1.2.

Usage   Use this command to display information about the audit log.

Examples  To display information about system logging, use the following command:

CLI network-admin@switch > log-system-show

CLI (network-admin@pleiades25) > log-system-show format all layout vertical

category:      system

time:          2014-06-16,10:33:54.425701-07:00

switch:        pleiades25

program:       nvOSd

pid:           1431

name:          fan_initial_status

code:          11303

level:         warn

message:       Fan 4 initial status ok

category:      system

time:          2014-06-16,10:33:54.425839-07:00

switch:        pleiades25

program:       nvOSd

pid:           1431

name:          ps_initial_status

code:          11302

level:         warn

message:       Power supply 1 initial status ok

category:      system

time:          2014-06-16,10:34:51.479611-07:00

switch:        pleiades25

program:       sh

pid:           3873

name:          smf_nvOSd_stop

code:          30108

level:         note

message:       SMF Service stopping nvOSd

category:      system

time:          2014-06-16,10:36:57.144770-07:00

switch:        pleiades25

program:       sh

pid:           871

name:          smf_nvOSd_start

code:          30107

level:         note

message:       SMF Service starting nvOSd

category:      system

time:          2014-06-16,10:36:58.543972-07:00

switch:        pleiades25

program:       nvOSd

pid:           1014

name:          nvOSd_start

code:          11008

level:         note

message:       ===== nvOSd start: version=2.1.201005777,pn-ONVL-2.0.2-2000212193 changeset=ceb01f7ff168 branch=default

category:      system

time:          2014-06-16,10:37:07.796715-07:00

switch:        pleiades25

program:       perl

pid:           1506

name:          fanmon_fan_status

code:          30100

level:         note

message:       Controller 1 fan 1 speed 7050 RPM

log-system-counters-reset

This command resets the log counters on the switch.

Syntax   log-system-counters-reset reset-time reset-time-string

reset-time reset-time-string

Specify the reset time.

Defaults   None

Access   CLI

History   Command introduced in Version 1.2.

Usage   Use this command to reset log counters.

Examples  To reset log counters, use the following commands:

CLI network-admin@switch > log-system-counters-reset

log-system-counters-show

This command displays the log counters on the switch.

Syntax   log-system-counters-show

Defaults   None

Access   CLI

History   Command introduced in Version 1.2.

Usage   Use this command to display log counters.

Examples  To display log counters, use the following command:

CLI network-admin@switch > log-system-counters-show

switch           critical error warn note

---------------- -------- ----- ---- ----

pleiades24       0        0     390  494

pleiades25       26       0     546  843