Configuration Guide
Page 1
Catalyst 3750 Switch Software Configuration Guide Cisco IOS Release 12.2(35)SE December 2006 Corporate Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 526-4100 Text Part Number: OL-8550-02
Catalyst 3750 Switch Software Configuration Guide Cisco IOS Release 12.2(35)SE December 2006 Corporate Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 526-4100 Text Part Number: OL-8550-02
Configuration Guide
Page 2
... FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS. The Cisco implementation of TCP header compression is unintentional and coincidental. and Access Registrar, Aironet, BPX, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Enterprise/Solver, EtherChannel, EtherFast, EtherSwitch, Fast Step...
... FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS. The Cisco implementation of TCP header compression is unintentional and coincidental. and Access Registrar, Aironet, BPX, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Enterprise/Solver, EtherChannel, EtherFast, EtherSwitch, Fast Step...
Configuration Guide
Page 5
... and Write the System Configuration 3-12 Booting Manually 3-13 Booting a Specific Software Image 3-14 Controlling Environment Variables 3-15 Scheduling a Reload of the Software Image 3-16 Configuring a Scheduled Reload 3-17 Displaying Scheduled Reload Information 3-18 Configuring Cisco IOS CNS Agents 4-1 Understanding Cisco Configuration Engine Software 4-1 Configuration Service 4-2 Event Service 4-3 NameSpace Mapper 4-3 What You Should Know...
... and Write the System Configuration 3-12 Booting Manually 3-13 Booting a Specific Software Image 3-14 Controlling Environment Variables 3-15 Scheduling a Reload of the Software Image 3-16 Configuring a Scheduled Reload 3-17 Displaying Scheduled Reload Information 3-18 Configuring Cisco IOS CNS Agents 4-1 Understanding Cisco Configuration Engine Software 4-1 Configuration Service 4-2 Event Service 4-3 NameSpace Mapper 4-3 What You Should Know...
Configuration Guide
Page 6
... 4-6 Enabling Automated CNS Configuration 4-6 Enabling the CNS Event Agent 4-8 Enabling the Cisco IOS CNS Agent 4-9 Enabling an Initial Configuration 4-9 Enabling a Partial Configuration 4-11 Displaying CNS Configuration 4-12 Managing Switch Stacks 5-1 Understanding Switch Stacks 5-1 Switch Stack Membership 5-3 Stack Master ... Through an SSH Session 5-16 Connectivity to the Switch Stack Through Console Ports 5-16 Connectivity to Specific Stack Members 5-17 Switch Stack Configuration Scenarios 5-17 Catalyst 3750 Switch Software Configuration Guide vi OL-8550-02
... 4-6 Enabling Automated CNS Configuration 4-6 Enabling the CNS Event Agent 4-8 Enabling the Cisco IOS CNS Agent 4-9 Enabling an Initial Configuration 4-9 Enabling a Partial Configuration 4-11 Displaying CNS Configuration 4-12 Managing Switch Stacks 5-1 Understanding Switch Stacks 5-1 Switch Stack Membership 5-3 Stack Master ... Through an SSH Session 5-16 Connectivity to the Switch Stack Through Console Ports 5-16 Connectivity to Specific Stack Members 5-17 Switch Stack Configuration Scenarios 5-17 Catalyst 3750 Switch Software Configuration Guide vi OL-8550-02
Configuration Guide
Page 20
... Features and IP Source Guard 22-1 Understanding DHCP Features 22-1 DHCP Server 22-2 DHCP Relay Agent 22-2 DHCP Snooping 22-2 Option-82 Data Insertion 22-3 Cisco IOS DHCP Server Database 22-6 DHCP Snooping Binding Database 22-7 DHCP Snooping and Switch Stacks 22-8 Configuring DHCP Features 22-8 Default DHCP Configuration 22-8 DHCP Snooping... Stacks 22-10 Configuring the DHCP Relay Agent 22-11 Specifying the Packet Forwarding Address 22-11 Enabling DHCP Snooping and Option 82 22-12 Catalyst 3750 Switch Software Configuration Guide xx OL-8550-02
... Features and IP Source Guard 22-1 Understanding DHCP Features 22-1 DHCP Server 22-2 DHCP Relay Agent 22-2 DHCP Snooping 22-2 Option-82 Data Insertion 22-3 Cisco IOS DHCP Server Database 22-6 DHCP Snooping Binding Database 22-7 DHCP Snooping and Switch Stacks 22-8 Configuring DHCP Features 22-8 Default DHCP Configuration 22-8 DHCP Snooping... Stacks 22-10 Configuring the DHCP Relay Agent 22-11 Specifying the Packet Forwarding Address 22-11 Enabling DHCP Snooping and Option 82 22-12 Catalyst 3750 Switch Software Configuration Guide xx OL-8550-02
Configuration Guide
Page 21
Contents 23 C H A P T E R 24 C H A P T E R OL-8550-02 Enabling DHCP Snooping on Private VLANs 22-14 Enabling the Cisco IOS DHCP Server Database 22-14 Enabling the DHCP Snooping Binding Database Agent 22-15 Displaying DHCP Snooping Information 22-16 Understanding IP Source Guard 22-... a Multicast Group 24-3 Leaving a Multicast Group 24-5 Immediate Leave 24-6 IGMP Configurable-Leave Timer 24-6 IGMP Report Suppression 24-6 IGMP Snooping and Switch Stacks 24-7 Catalyst 3750 Switch Software Configuration Guide xxi
Contents 23 C H A P T E R 24 C H A P T E R OL-8550-02 Enabling DHCP Snooping on Private VLANs 22-14 Enabling the Cisco IOS DHCP Server Database 22-14 Enabling the DHCP Snooping Binding Database Agent 22-15 Displaying DHCP Snooping Information 22-16 Understanding IP Source Guard 22-... a Multicast Group 24-3 Leaving a Multicast Group 24-5 Immediate Leave 24-6 IGMP Configurable-Leave Timer 24-6 IGMP Report Suppression 24-6 IGMP Snooping and Switch Stacks 24-7 Catalyst 3750 Switch Software Configuration Guide xxi
Configuration Guide
Page 39
Contents C A P P E N D I X Working with the Cisco IOS File System, Configuration Files, and Software Images C-1 Working with the Flash File System C-1 Displaying Available File Systems C-2 Setting the Default File System C-3 Displaying Information about ... C-19 Deleting a Stored Configuration File C-19 Working with Software Images C-19 Image Location on the Switch C-20 tar File Format of Images on a Server or Cisco.com C-20 OL-8550-02 Catalyst 3750 Switch Software Configuration Guide xxxix
Contents C A P P E N D I X Working with the Cisco IOS File System, Configuration Files, and Software Images C-1 Working with the Flash File System C-1 Displaying Available File Systems C-2 Setting the Default File System C-3 Displaying Information about ... C-19 Deleting a Stored Configuration File C-19 Working with Software Images C-19 Image Location on the Switch C-20 tar File Format of Images on a Server or Cisco.com C-20 OL-8550-02 Catalyst 3750 Switch Software Configuration Guide xxxix
Configuration Guide
Page 40
...C-32 Copying an Image File from One Stack Member to Another C-33 D A P P E N D I X Unsupported Commands in Cisco IOS Release 12.2(35)SE D-1 Access Control Lists D-1 Unsupported Privileged EXEC Commands D-1 Unsupported Global Configuration Commands D-1 Unsupported Route-Map Configuration Commands D-1 Archive Commands D-2 Unsupported Privileged EXEC Commands... Commands D-4 Interface Commands D-5 Unsupported Privileged EXEC Commands D-5 Unsupported Global Configuration Commands D-5 Unsupported Interface Configuration Commands D-5 Catalyst 3750 Switch Software Configuration Guide xl OL-8550-02
...C-32 Copying an Image File from One Stack Member to Another C-33 D A P P E N D I X Unsupported Commands in Cisco IOS Release 12.2(35)SE D-1 Access Control Lists D-1 Unsupported Privileged EXEC Commands D-1 Unsupported Global Configuration Commands D-1 Unsupported Route-Map Configuration Commands D-1 Archive Commands D-2 Unsupported Privileged EXEC Commands... Commands D-4 Interface Commands D-5 Unsupported Privileged EXEC Commands D-5 Unsupported Global Configuration Commands D-5 Unsupported Interface Configuration Commands D-5 Catalyst 3750 Switch Software Configuration Guide xl OL-8550-02
Configuration Guide
Page 43
... xliii The IP base image provides Layer 2+ features including access control lists (ACLs), quality of Ethernet and local area networking. It does not provide detailed information about the device manager, see the Catalyst 3750 Switch System Message Guide for use to install your switch...encounter or how to manage the switch. Purpose The Catalyst 3750 switch is for Cisco Network Assistant (hereafter referred to as Network Assistant) that have experience working with the Cisco IOS software and be familiar with the Catalyst 3750 switch. This guide provides procedures for using this...
... xliii The IP base image provides Layer 2+ features including access control lists (ACLs), quality of Ethernet and local area networking. It does not provide detailed information about the device manager, see the Catalyst 3750 Switch System Message Guide for use to install your switch...encounter or how to manage the switch. Purpose The Catalyst 3750 switch is for Cisco Network Assistant (hereafter referred to as Network Assistant) that have experience working with the Cisco IOS software and be familiar with the Catalyst 3750 switch. This guide provides procedures for using this...
Configuration Guide
Page 55
...multiple switches from a single graphical interface without disrupting the operation of new stack members with the offline configuration feature. Automatic Cisco IOS version-check of the stack. - The switch stack retains this information across the switch stack, where all stack members ... Adding, removing, and replacing switches in advance the interface configuration for a specific stack member number and for - OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 1-3 Using a single IP address and configuration file to configure complex features such as VLANs, ACLs, ...
...multiple switches from a single graphical interface without disrupting the operation of new stack members with the offline configuration feature. Automatic Cisco IOS version-check of the stack. - The switch stack retains this information across the switch stack, where all stack members ... Adding, removing, and replacing switches in advance the interface configuration for a specific stack member number and for - OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 1-3 Using a single IP address and configuration file to configure complex features such as VLANs, ACLs, ...
Configuration Guide
Page 57
...between the switch and other Cisco devices on Cisco.com. • CLI-The Cisco IOS software supports desktop- For more information about Network Assistant, see Chapter 4, "Configuring Cisco IOS CNS Agents." Chapter 1 ... Unicast MAC address filtering to drop packets with Cisco Network Assistant, available on the network OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 1-5 You use ...GUI that is integrated in the software image. You can manage from an SNMP-compatible management station that is running platforms such as CiscoWorks2000 LAN Management Suite (LMS...
...between the switch and other Cisco devices on Cisco.com. • CLI-The Cisco IOS software supports desktop- For more information about Network Assistant, see Chapter 4, "Configuring Cisco IOS CNS Agents." Chapter 1 ... Unicast MAC address filtering to drop packets with Cisco Network Assistant, available on the network OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 1-5 You use ...GUI that is integrated in the software image. You can manage from an SNMP-compatible management station that is running platforms such as CiscoWorks2000 LAN Management Suite (LMS...
Configuration Guide
Page 58
... Overview • Network Time Protocol (NTP) for providing a consistent time stamp to all switches from an external source • Cisco IOS File System (IFS) for providing a single interface to all file systems that the switch uses • Configuration logging to log ... rapid convergence of the software IP base and IP services images) • On the Catalyst 3750G Integrated Wireless LAN Controller Switch only, an integrated Catalyst 3750 switch and Cisco 4400 series wireless LAN controller that supports up to 25 or 50 lightweight access points Availability and Redundancy Features These are...
... Overview • Network Time Protocol (NTP) for providing a consistent time stamp to all switches from an external source • Cisco IOS File System (IFS) for providing a single interface to all file systems that the switch uses • Configuration logging to log ... rapid convergence of the software IP base and IP services images) • On the Catalyst 3750G Integrated Wireless LAN Controller Switch only, an integrated Catalyst 3750 switch and Cisco 4400 series wireless LAN controller that supports up to 25 or 50 lightweight access points Availability and Redundancy Features These are...
Configuration Guide
Page 62
...based on flow-based packet classification (classification based on the switch port for protecting the performance of mission-critical applications - In Cisco IOS Release 12.2(25)SED and later, if you configure multiple class maps for packets that exceed bandwidth utilization limits • Ingress...policing for detecting the presence of -Profile - Four egress queues per -port basis for managing how much of the bandwidth. 1-10 Catalyst 3750 Switch Software Configuration Guide OL-8550-02 Shared egress queues are guaranteed but can have a different policer. - Traffic-policing policies ...
...based on flow-based packet classification (classification based on the switch port for protecting the performance of mission-critical applications - In Cisco IOS Release 12.2(25)SED and later, if you configure multiple class maps for packets that exceed bandwidth utilization limits • Ingress...policing for detecting the presence of -Profile - Four egress queues per -port basis for managing how much of the bandwidth. 1-10 Catalyst 3750 Switch Software Configuration Guide OL-8550-02 Shared egress queues are guaranteed but can have a different policer. - Traffic-policing policies ...
Configuration Guide
Page 65
...see Chapter 7, "Administering the Switch." • System name and prompt is enabled. Operating mode is disabled. Note In releases earlier than Cisco IOS Release 12.2(18)SE, the default setting for auto-MDIX is Layer 2 (switchport). For more information about switch clusters, see Chapter ...Started with these default settings: • Default switch IP address, subnet mask, and default gateway is not configured. OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 1-13 For more information, see Chapter 5, "Managing Switch Stacks." • Switch cluster is autonegotiate. ...
...see Chapter 7, "Administering the Switch." • System name and prompt is enabled. Operating mode is disabled. Note In releases earlier than Cisco IOS Release 12.2(18)SE, the default setting for auto-MDIX is Layer 2 (switchport). For more information about switch clusters, see Chapter ...Started with these default settings: • Default switch IP address, subnet mask, and default gateway is not configured. OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 1-13 For more information, see Chapter 5, "Managing Switch Stacks." • Switch cluster is autonegotiate. ...
Configuration Guide
Page 81
...mode. Normally, you begin in . It contains these commands are currently in user mode, often called user EXEC mode. OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 2-1 For example, most of show the current configuration status, and clear commands, which mode you can enter any... user EXEC commands are not saved when the switch reboots. CH A P T E R 2 Using the Command-Line Interface This chapter describes the Cisco IOS command-line interface (CLI) and how to use it to the running configuration. The user EXEC commands are one-time commands, such as show commands...
...mode. Normally, you begin in . It contains these commands are currently in user mode, often called user EXEC mode. OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 2-1 For example, most of show the current configuration status, and clear commands, which mode you can enter any... user EXEC commands are not saved when the switch reboots. CH A P T E R 2 Using the Command-Line Interface This chapter describes the Cisco IOS command-line interface (CLI) and how to use it to the running configuration. The user EXEC commands are one-time commands, such as show commands...
Configuration Guide
Page 85
...and the question mark. You did not enter enough characters Re-enter the command followed by this command mode. OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 2-5 mark. This feature includes a mechanism for the command. Enter a question mark (?) to registered ...applications whenever the configuration changes. Using Configuration Logging Beginning with Cisco IOS Release 12.2(25)SEC, you can choose to have the notifications sent to recognize the with the command appear. Chapter 2 Using the...
...and the question mark. You did not enter enough characters Re-enter the command followed by this command mode. OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 2-5 mark. This feature includes a mechanism for the command. Enter a question mark (?) to registered ...applications whenever the configuration changes. Using Configuration Logging Beginning with Cisco IOS Release 12.2(25)SEC, you can choose to have the notifications sent to recognize the with the command appear. Chapter 2 Using the...
Configuration Guide
Page 93
OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 3-1 Note For complete syntax and usage information for the commands used in this chapter, see Chapter 36, "Configuring IPv6 Unicast ... to a switch stack. If you need to follow the procedures in the Getting Started Guide or the hardware installation guide for this release and the Cisco IOS IP Command Reference, Volume 1 of the Software Image, page 3-16 Note Information in this chapter about configuring IP addresses and DHCP is specific to IP...
OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 3-1 Note For complete syntax and usage information for the commands used in this chapter, see Chapter 36, "Configuring IPv6 Unicast ... to a switch stack. If you need to follow the procedures in the Getting Started Guide or the hardware installation guide for this release and the Cisco IOS IP Command Reference, Volume 1 of the Software Image, page 3-16 Note Information in this chapter about configuring IP addresses and DHCP is specific to IP...
Configuration Guide
Page 97
..., you must configure the DHCP server with reserved leases that the IP address is a Cisco device, see the "Configuring DHCP" section of the "IP Addressing and Services" section of the Cisco IOS IP Configuration Guide, Release 12.2 for additional information about configuring DHCP. A DHCP client ...server, the switch can accept any of the offers; however, the client usually accepts the first offer it receives. OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 3-5 If you want the switch to receive the configuration file from a BOOTP server and configures itself, ...
..., you must configure the DHCP server with reserved leases that the IP address is a Cisco device, see the "Configuring DHCP" section of the "IP Addressing and Services" section of the Cisco IOS IP Configuration Guide, Release 12.2 for additional information about configuring DHCP. A DHCP client ...server, the switch can accept any of the offers; however, the client usually accepts the first offer it receives. OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 3-5 If you want the switch to receive the configuration file from a BOOTP server and configures itself, ...
Configuration Guide
Page 103
... no service password-encryption ! ip default-gateway 172.20.137.1 ! ! For more startup-config privileged EXEC command. OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 3-11 enable secret 5 $1$ej9.$DMUvAUnZOAmvmgqBEzIxE0 ! . . interface gigabitethernet6/0/2 mvr type source ...! If you fail...end To store the configuration or changes you have made to copy the configuration file, see Appendix C, "Working with the Cisco IOS File System, Configuration Files, and Software Images." snmp-server community private RW snmp-server community public RO snmp-server community private...
... no service password-encryption ! ip default-gateway 172.20.137.1 ! ! For more startup-config privileged EXEC command. OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 3-11 enable secret 5 $1$ej9.$DMUvAUnZOAmvmgqBEzIxE0 ! . . interface gigabitethernet6/0/2 mvr type source ...! If you fail...end To store the configuration or changes you have made to copy the configuration file, see Appendix C, "Working with the Cisco IOS File System, Configuration Files, and Software Images." snmp-server community private RW snmp-server community public RO snmp-server community private...
Configuration Guide
Page 104
... 3-13 • Booting a Specific Software Image, page 3-14 • Controlling Environment Variables, page 3-15 See also "Switch Stack Configuration Files" section on page 5-14 and Appendix C, "Working with the Cisco IOS File System, Configuration Files, and Software Images," for information about switch stack ...Downloading a Configuration File You can specify a different filename, which will be loaded during the next boot cycle. 3-12 Catalyst 3750 Switch Software Configuration Guide OL-8550-02 Modifying the Startup Configuration Chapter 3 Assigning the Switch IP Address and Default...
... 3-13 • Booting a Specific Software Image, page 3-14 • Controlling Environment Variables, page 3-15 See also "Switch Stack Configuration Files" section on page 5-14 and Appendix C, "Working with the Cisco IOS File System, Configuration Files, and Software Images," for information about switch stack ...Downloading a Configuration File You can specify a different filename, which will be loaded during the next boot cycle. 3-12 Catalyst 3750 Switch Software Configuration Guide OL-8550-02 Modifying the Startup Configuration Chapter 3 Assigning the Switch IP Address and Default...