logging synchronous command

By default, IOS displays syslog messages to the console users at any time, even during the typing of a command. Consider the following example:

R1(config-if)#ip address 192.168.0.100 255.2
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to down
55.255.0

Notice how the command was interrupted and the syslog message was shown. To prevent this, the logging synchronous console line mode command is used:

R1(config)#ip address 192.168.0.100 255.2
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up

R1(config)#ip address 192.168.0.100 255.2

Now, the syslog message was shown, but the command was copied to the next line below the message.


Download our Free CCNA Study Guide PDF for complete notes on all the CCNA 200-301 exam topics in one book.

We recommend the Cisco CCNA Gold Bootcamp as your main CCNA training course. It’s the highest rated Cisco course online with an average rating of 4.8 from over 30,000 public reviews and is the gold standard in CCNA training: