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
						password
Switch(config-line)# exit
Switch(config)# line vty 0 4
Switch(config-line)# login
Switch(config-line)# password
						password
Switch(config-line)# access-class ...

Get BCMSN Exam Cram™ 2 (Exam Cram 642-811) 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.