cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1485
Views
0
Helpful
11
Replies

Terminal Monitor issue with WS-C4503-E

Ayub
Level 1
Level 1

I am facing issue with WS-C4503-E switch. When i am trying to log in by telnet to switch then i am not getting links up and down messages although i enabled terminal monioter and logging synchronous etc but still out of result.

11 Replies 11

Julio E. Moisa
VIP Alumni
VIP Alumni

Hi

My undestanding is you want to see logs, is that correct? Try to configure

logging on

logging buffered 5
logging trap 5

 

terminal monitor should display the logs on the screen. 

 




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Thanks Julio for reply but no luck.

Hi

Try configuring under the interfaces:

interface range <interfaces range>

logging events link-status

 

If im not wrong, it is different config compared with other switches.

Hope it is useful

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Yeah Julio it start working but when i am going for #show logging. Is there any way to get link status message without going for #show logging ?

Hi

Try configuring:

logging monitor 6 

and 

line vty 0 15

logging synchronous all 




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Julio no luck again.. but below is #show logging

)#do show logging
Syslog logging: enabled (0 messages dropped, 1 messages rate-limited, 21 flushes, 0 overruns, xml disabled, filtering disabled)

No Active Message Discriminator.



No Inactive Message Discriminator.


Console logging: level informational, 90 messages logged, xml disabled,
filtering disabled
Monitor logging: level informational, 0 messages logged, xml disabled,
filtering disabled
Buffer logging: level notifications, 73 messages logged, xml disabled,
filtering disabled
Exception Logging: size (8192 bytes)
Count and timestamp logging messages: disabled
Persistent logging: disabled

No active filter modules.

Trap logging: level notifications, 76 message lines logged

Log Buffer (4096 bytes):

48w5d: %SYS-5-CONFIG_I: Configured from console by supadmin on vty0

48w5d: %LINK-3-UPDOWN: Interface GigabitEthernet2/6, changed state to down

Hi

Can you please share the output for this command:

show terminal | include Capa

 

you should see something like:

 

sho termi | i Capa
Capabilities: Receives Logging Output

 

Thank you in advance. 




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Please check below output:

(1) #show terminal | include Capa
Capabilities: none
(2) #show terminal
RG-F01-IDF02-SW#show terminal
Line 1, Location: "", Type: "XTERM"
Length: 44 lines, Width: 168 columns
Baud rate (TX/RX) is 9600/9600
Status: PSI Enabled, Ready, Active, No Exit Banner, Ctrl-c Enabled
Automore On
Capabilities: none
Modem state: Ready
Special Chars: Escape Hold Stop Start Disconnect Activation
^^x none - - none
Timeouts: Idle EXEC Idle Session Modem Answer Session Dispatch
00:10:00 never none not set
Idle Session Disconnect Warning
never
Login-sequence User Response
00:00:30
Autoselect Initial Wait
not set
Modem type is unknown.
Session limit is not set.
Time since activation: 00:01:36
Editing is enabled.
History is enabled, history size is 20.
DNS resolution in show commands is enabled
Full user help is disabled
Allowed input transports are telnet.
Allowed output transports are telnet.
Preferred transport is telnet.
No output characters are padded
No special data dispatching characters
(3)

Hi,

Apparently show terminal has not been enabled 

#show terminal | include Capa
Capabilities: none

Please try again enabling it and verify again the output.

switch# terminal monitor

 




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Thanks Julio for all the help. It start working now but can you please identify which of the below command did the spark for me because #terminal monitor i have use it before but at that time it didn't work for me. so i am confused because i have more then 40 switches with the same issue. what should be my approach (command).


SW#terminal monitor
SW#show terminal | include Capa
Capabilities: Receives Logging Output

49w0d: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet2/6, changed state to down
49w0d: %LINK-3-UPDOWN: Interface GigabitEthernet2/6, changed state to down
49w0d: %LINK-3-UPDOWN: Interface GigabitEthernet2/6, changed state to up
49w0d: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet2/6, changed state to up

(1) - logging on
logging buffered 5
logging trap 5
(2) - interface range <interfaces range>
logging events link-status
(3) - Try configuring:
logging monitor 6
and
line vty 0 15
logging synchronous all
(4) - switch# terminal monitor

One more thing, when i am log out and then log in by line vty and any link goes down it not showing me link up and down status until i enable terminal monitor.