• Imagine you just racked a new device and put it on the network. It is reachable.
    The first thing you lock down is who can reach its command line, and what they can do once they are in.

    This is where device access control becomes interesting.

    The Three Line Types

    A Cisco device groups its CLI entry points into three line types.

    Cisco console, VTY, and auxiliary access lines into a router

    Figure 1 – Console, VTY, and aux lines all reach R1

    You can see all three in the running configuration:

    R1# show running-config | section line
    line con 0
    line aux 0
    line vty 0 4
    • The console line (con 0) is the physical port you reach with a rollover cable.
      It is your local, out-of-band entry, the one you use when the network is down.

    • The auxiliary line (aux 0) is a legacy modem port.
      On modern networks it is rarely used, so you usually disable it.

    • The VTY lines (vty 0 4) are virtual terminals for remote access over the network.
      Through SSH or Telnet. Five lines (0 to 4) exist by default, and many platforms support up to 16 (0 to 15).

    Answer the question below

    Which line is the physical, out-of-band port?

    Why Lines Matter

    Each line is an independent entry point with its own configuration.

    A line left unsecured is an open door: anyone who reaches it can gain CLI access!
    So you secure each line on its own, deciding who may connect and how they authenticate.

    Answer the question below

    Which line type is used for SSH and Telnet remote access?