Comware Based
cancel
Showing results for 
Search instead for 
Did you mean: 

Logging on VTY line

 
Leadec
Occasional Contributor

Logging on VTY line

Hi

When i plug into a console port on a switch i can see the looigng of the switch in real time. How do i enable this so i can see this information when i hasve used ssh from a vty line.

I know how its enabled in Cisco, just not HPE

Thanks

1 REPLY 1
Emil_Gogushev
Respected Contributor

Re: Logging on VTY line

Hello, 

For Comware based switches you can use the command terminal monitor in user-view

........

terminal monitor
Use terminal monitor to enable the display of logs on the current terminal.
Use undo terminal monitor to disable the display of logs on the current terminal.
Syntax
terminal monitor
undo terminal monitor
Default
Monitoring of logs is enabled on the console and disabled on the monitor terminal.

Views
User view

......

Another related command is terminal logging level

...

terminal logging level
Use terminal logging level to set the lowest level of the logs that can be output to the current terminal.
Use undo terminal logging level to restore the default.
Syntax
terminal logging level severity

Default
The lowest level of the logs that can be output to the current terminal is 6 (informational)

 

Emil Gogushev /HPE