The Auxiliary (AUX) Port

The router’s auxiliary (AUX) port functions as a backup async port. It is most commonly used as a backup console port, but it can also be used as a dial-up port for remote router management and many other functions. It doesn’t have the performance of an asynchronous line; its speed is often limited (particularly on older routers), and it does only per-character I/O, which creates a high CPU load if used continuously.

Figure 4-4 shows how you might use the AUX port as a backup for a T1 line. If the T1 connection goes down, Router 1 automatically dials Router 2 using the modem connected to the AUX port. Obviously, the speed of the backup link is not comparable to the T1 connection, but it does provide some level of backup support.

Using an AUX port as a backup connection

Figure 4-4. Using an AUX port as a backup connection

The following configuration examples show how to use the AUX port as backup connection. This example uses many commands that are well beyond the scope of this chapter; they are included here to make the configuration complete. The comments describe some of the more advanced commands; for more information about PPP and dial-on-demand routing, see Chapter 11.

!  Configure the primary (T1) interface, with async 4 as a backup. 
!  See Chapter 5 for info on interface configuration.
!  See Chapter 11 for the dialing commands
interface serial0
  ip address
  backup interface async 4
  backup delay 10 1
! The AUX line translates to the async 4 interface.
interface async 4
  ip address
  dialer in-band
  dialer string 410-555-5555
  dialer-group 1
  async dynamic routing
! Build our dialer lists.
dialer-list 1 protocol ip permit
chat-script script1 " " "atdt 410-555-5555" timeout 60 "connected"
! Finally, configure the AUX port using the line commands.
line aux 0
  modem chat-script script1
  modem inout

Get CISCO IOS in a Nutshell now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.