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 10.10.1.1 255.255.255.0
  backup interface async 4
  backup delay 10 1
!
! The AUX line translates to the async 4 interface.
interface async 4
  ip address 10.10.1.2 255.255.255.0
  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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.