Securing Your Switch

The last half of this chapter discusses how to secure your switch as well as the additional security features that the switch supports to secure your network. This section is by no means an all-inclusive discussion of all the Catalyst switches' security features, but it does describe some of the major ones.

What to Secure

With a basic security setup, you'll want to secure access to the EXEC modes on the Catalyst switch. Listing 10.4 shows the basic commands to do so.

Listing 10.4. Basic Security Setup
Switch(config)# line console 0
Switch(config-line)# password
Switch(config-line)# exit
Switch(config)# line vty 0 4
Switch(config-line)# login
Switch(config-line)# password
Switch(config-line)# access-class ...

Get BCMSN Exam Cram™ 2 (Exam Cram 642-811) now with O’Reilly online learning.

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