Adtran AOS - Stop Console Messages

Good Morning,

I have Oxidized running on a Centos 7 VM. It is starting an SSH session to an Adtran NV1531P switch. After the login the switch spams the console with messages that aren’t important to the config backup.

example
2019.02.21 14:17:59 LLDP LLDP: Speed Duplex mis-match on giga-swx 0/9. Speed/Duplex: “1G/full-duplex” Neighbor Speed/Duplex: "100M/full-duplex

This causes oxidized to fail the enable step.

When I interactively login to the switch I always enter “no events”

Can I configure oxidized to enter the “no events” command between login and enable?

Here is the error in /var/log/messages
Feb 21 09:03:43 clelvoxid1 oxidized[10054]: /twpi-voice-mdf-nv1531p.twpi.io status no_connection, retry attempt 3
Feb 21 09:04:04 clelvoxid1 oxidized[10054]: 172.16.1.1 raised Oxidized::PromptUndetect with msg "#033[2J#033[H#017twpi-voice-mdf-nv1531p##015#0122019.02.21 14:03:51 LLDP LLDP: Speed Duplex mis-match on giga-swx 0/9. Speed/Duplex: “1G/full-duplex”

Thank You,
Justin
GitHub
Gitter

Turns out my first problem is that AOS is used for Alcatel Lucent and not for Adtran AOS. Sorry for the confusion.