06-12-2019 06:04 AM
Hi everyone,
I'm a bit helpless, but how do I remove the "no logging event link-status" from an interface config?! If I add a "logging event link-status" to the interface, the line is explicitly added to the interface. I thought the globally enabled "logging event link-status" would have catched this, and the line would be not explicitlly added, because it is enabled globally.
switchport access vlan 402
switchport mode access
switchport nonegotiate
no logging event link-status
no snmp trap link-status
auto qos trust
spanning-tree portfast
spanning-tree bpduguard enable
spanning-tree guard root
service-policy input AutoQos-4.0-Trust-Cos-Input-Policy
service-policy output AutoQos-4.0-Output-Policy
Thanks in advance. :)
Solved! Go to Solution.
06-12-2019 06:24 AM
06-12-2019 06:24 AM
06-12-2019 06:26 AM
Hi Mark,
mew, okay. I tried this and I know that this is working. But it's an outage for each interface. An outage, just to save 22 or 44 lines in the config file. :) But thank you for confirmation!
Best regards,
Patrick
06-12-2019 06:54 AM
06-12-2019 10:41 AM
you can try:
int g1/0/1
default logging event link-status
it will revert the command on the interface, but I don't know if it will show up in the config or not. this way you don't have to reconfig each interface, you're only resetting the command on that interface.
09-28-2020 03:00 AM
Hello @cmarva,
The command default logging event link-status works. It removes no logging event link-status from a port configuration of a running-config.
Thank you!
Best regards,
Danila
06-12-2019 06:25 AM
- Could you try setting the interface to default values (default int x/y) ; then re-configure with the (only) parameters you need.
M.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide