Configuration Guide
Page 14
Contents Configuring Normal-Range VLANs 13-4 Token Ring VLANs 13-6 Normal-Range VLAN Configuration Guidelines 13-6 VLAN Configuration Mode Options 13-7 VLAN Configuration in config-vlan Mode 13-7 VLAN Configuration in VLAN Database Configuration Mode 13-7 Saving VLAN Configuration 13-7 Default Ethernet VLAN Configuration 13-8 Creating or Modifying an Ethernet ... VMPS 13-28 Understanding VMPS 13-28 Dynamic-Access Port VLAN Membership 13-29 Default VMPS Client Configuration 13-29 VMPS Configuration Guidelines 13-29 Catalyst 3750 Switch Software Configuration Guide xiv OL-8550-02
Contents Configuring Normal-Range VLANs 13-4 Token Ring VLANs 13-6 Normal-Range VLAN Configuration Guidelines 13-6 VLAN Configuration Mode Options 13-7 VLAN Configuration in config-vlan Mode 13-7 VLAN Configuration in VLAN Database Configuration Mode 13-7 Saving VLAN Configuration 13-7 Default Ethernet VLAN Configuration 13-8 Creating or Modifying an Ethernet ... VMPS 13-28 Understanding VMPS 13-28 Dynamic-Access Port VLAN Membership 13-29 Default VMPS Client Configuration 13-29 VMPS Configuration Guidelines 13-29 Catalyst 3750 Switch Software Configuration Guide xiv OL-8550-02
Configuration Guide
Page 82
...(vlan)# To exit to privileged EXEC mode, enter exit or end, or press Ctrl-Z. Use this mode to configure VLAN parameters. Config-vlan While in privileged EXEC mode, enter the vlan database command. VLAN configuration While in global configuration mode, enter the vlan vlan...enter the exit command. Global configuration While in user EXEC Switch# mode, enter the enable command. Enter logout or quit. Catalyst 3750 Switch Software Configuration Guide 2-2 OL-8550-02 Use a password to protect access to this mode to configure parameters that mode, and how to exit...
...(vlan)# To exit to privileged EXEC mode, enter exit or end, or press Ctrl-Z. Use this mode to configure VLAN parameters. Config-vlan While in privileged EXEC mode, enter the vlan database command. VLAN configuration While in global configuration mode, enter the vlan vlan...enter the exit command. Global configuration While in user EXEC Switch# mode, enter the enable command. Enter logout or quit. Catalyst 3750 Switch Software Configuration Guide 2-2 OL-8550-02 Use a password to protect access to this mode to configure parameters that mode, and how to exit...
Configuration Guide
Page 83
... a list of commands available for each command mode. For example: Switch# sh conf Switch# show configuration OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 2-3 To return to privileged EXEC mode, press Ctrl-Z or enter end. You can enter a question mark (?) at the... interfaces with the same parameters, see the command reference guide for any command, as shown in any command mode. Switch(config-if)# To exit to configure configuration mode, parameters for the terminal line. Switch(config-line)# To exit to configure parameters for the Ethernet ...
... a list of commands available for each command mode. For example: Switch# sh conf Switch# show configuration OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 2-3 To return to privileged EXEC mode, press Ctrl-Z or enter end. You can enter a question mark (?) at the... interfaces with the same parameters, see the command reference guide for any command, as shown in any command mode. Switch(config-if)# To exit to configure configuration mode, parameters for the terminal line. Switch(config-line)# To exit to configure parameters for the Ethernet ...
Configuration Guide
Page 84
.... In these cases, the default command enables the command and sets variables to certain default values. command keyword ? For example: Switch(config)# cdp holdtime ? However, some commands are disabled by default, so the default form is disabled by default and have a default form... reverses the shutdown of a command returns the command setting to enter the show ? The default form of an interface. Catalyst 3750 Switch Software Configuration Guide 2-4 OL-8550-02 command ? Purpose List all commands available for a keyword. List the associated arguments for a particular command...
.... In these cases, the default command enables the command and sets variables to certain default values. command keyword ? For example: Switch(config)# cdp holdtime ? However, some commands are disabled by default, so the default form is disabled by default and have a default form... reverses the shutdown of a command returns the command setting to enter the show ? The default form of an interface. Catalyst 3750 Switch Software Configuration Guide 2-4 OL-8550-02 command ? Purpose List all commands available for a keyword. List the associated arguments for a particular command...
Configuration Guide
Page 86
...Recalling Commands To recall commands from the history buffer, perform one of commands that appear is controlled by the setting of -lines] The range is from 0 to recall successively older commands....just entered. You can customize this command to suit your needs as VT100s. Catalyst 3750 Switch Software Configuration Guide 2-6 OL-8550-02 The command history feature is from 0 to 256....number of command lines the switch records for all sessions on a particular line: Switch(config-line)# history [size number-of the terminal history global configuration command and the history ...
...Recalling Commands To recall commands from the history buffer, perform one of commands that appear is controlled by the setting of -lines] The range is from 0 to recall successively older commands....just entered. You can customize this command to suit your needs as VT100s. Catalyst 3750 Switch Software Configuration Guide 2-6 OL-8550-02 The command history feature is from 0 to 256....number of command lines the switch records for all sessions on a particular line: Switch(config-line)# history [size number-of the terminal history global configuration command and the history ...
Configuration Guide
Page 87
... shows the keystrokes that can disable it , or configure a specific line to make changes or corrections. OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 2-7 Table 2-5 Editing Commands through Keystrokes Capability Move around the command line to have enhanced editing mode, enter this command... you need to edit command lines. To globally disable enhanced editing mode, enter this command in line configuration mode: Switch (config-line)# no editing To re-enable the enhanced editing mode for the current terminal session, enter this command in privileged EXEC mode...
... shows the keystrokes that can disable it , or configure a specific line to make changes or corrections. OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 2-7 Table 2-5 Editing Commands through Keystrokes Capability Move around the command line to have enhanced editing mode, enter this command... you need to edit command lines. To globally disable enhanced editing mode, enter this command in line configuration mode: Switch (config-line)# no editing To re-enable the enhanced editing mode for the current terminal session, enter this command in privileged EXEC mode...
Configuration Guide
Page 89
... on ANSI-compatible terminals such as VT100s. When the cursor reaches the right margin, the command line shifts ten spaces to the right: Switch(config)# access-list 101 permit tcp 131.108.2.5 255.255.255.0 131.108.1$ The software assumes you have a width other than that are optional...is again shifted ten spaces to execute the command. Use line wrapping with the command history feature to your terminal. OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 2-9 Press the Space bar. Redisplay the current command line. 1. When the cursor first reaches the end of the line, the...
... on ANSI-compatible terminals such as VT100s. When the cursor reaches the right margin, the command line shifts ten spaces to the right: Switch(config)# access-list 101 permit tcp 131.108.2.5 255.255.255.0 131.108.1$ The software assumes you have a width other than that are optional...is again shifted ten spaces to execute the command. Use line wrapping with the command history feature to your terminal. OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 2-9 Press the Space bar. Redisplay the current command line. 1. When the cursor first reaches the end of the line, the...
Configuration Guide
Page 98
..., TFTP requests. For more configuration files from the specified TFTP server. Catalyst 3750 Switch Software Configuration Guide 3-6 OL-8550-02 Unavailability of the DHCP server from the switch, or... download the specified configuration file from the TFTP server. If it is on a different LAN, the switch must be used include the specified TFTP server address (if any ) and... cisconet.cfg file (known as the switch. You can include these files: network-config, cisconet.cfg, hostname.config, or hostname.cfg, where hostname is the switch's current hostname. If you configured...
..., TFTP requests. For more configuration files from the specified TFTP server. Catalyst 3750 Switch Software Configuration Guide 3-6 OL-8550-02 Unavailability of the DHCP server from the switch, or... download the specified configuration file from the TFTP server. If it is on a different LAN, the switch must be used include the specified TFTP server address (if any ) and... cisconet.cfg file (known as the switch. You can include these files: network-config, cisconet.cfg, hostname.config, or hostname.cfg, where hostname is the switch's current hostname. If you configured...
Configuration Guide
Page 99
...Catalyst 3750 Switch Software Configuration Guide 3-7 For example, in Figure 3-2, configure the router interfaces as follows: On interface 10.0.0.2: router(config-if)# ip helper-address 20.0.0.2 router(config-if)# ip helper-address 20.0.0.3 router(config...DHCP server TFTP server DNS server Obtaining Configuration Files Depending on a different LAN. Examples of the IP address and the configuration filename in the DHCP ... • The IP address and the configuration filename is a Cisco router, enable IP routing (ip routing global configuration command), and configure helper addresses...
...Catalyst 3750 Switch Software Configuration Guide 3-7 For example, in Figure 3-2, configure the router interfaces as follows: On interface 10.0.0.2: router(config-if)# ip helper-address 20.0.0.2 router(config-if)# ip helper-address 20.0.0.3 router(config...DHCP server TFTP server DNS server Obtaining Configuration Files Depending on a different LAN. Examples of the IP address and the configuration filename in the DHCP ... • The IP address and the configuration filename is a Cisco router, enable IP routing (ip routing global configuration command), and configure helper addresses...
Configuration Guide
Page 102
...use the no ip default-gateway global configuration command. Current configuration: 1363 bytes 3-10 Catalyst 3750 Switch Software Configuration Guide OL-8550-02 The VLAN range is running -config startup-config Purpose Enter global configuration mode. Enter the IP address and subnet mask. For information ...address subnet-mask exit ip default-gateway ip-address Step 6 Step 7 Step 8 Step 9 end show interfaces vlan vlan-id show running-config Building configuration... Return to a port if you first put the port into Layer 3 mode by entering this privileged EXEC command: Switch# ...
...use the no ip default-gateway global configuration command. Current configuration: 1363 bytes 3-10 Catalyst 3750 Switch Software Configuration Guide OL-8550-02 The VLAN range is running -config startup-config Purpose Enter global configuration mode. Enter the IP address and subnet mask. For information ...address subnet-mask exit ip default-gateway ip-address Step 6 Step 7 Step 8 Step 9 end show interfaces vlan vlan-id show running-config Building configuration... Return to a port if you first put the port into Layer 3 mode by entering this privileged EXEC command: Switch# ...
Configuration Guide
Page 103
... you fail to copy the configuration file, see Appendix C, "Working with the Cisco IOS File System, Configuration Files, and Software Images." To display information stored in...ip address 172.20.137.50 255.255.255.0 ! OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 3-11 ip default-gateway 172.20.137.1 ! ! end To store the... from which to do this privileged EXEC command: Switch# copy running-config startup-config Destination filename [startup-config]? For more startup-config privileged EXEC command. interface gigabitethernet6/0/2 mvr type source ...! enable secret ...
... you fail to copy the configuration file, see Appendix C, "Working with the Cisco IOS File System, Configuration Files, and Software Images." To display information stored in...ip address 172.20.137.50 255.255.255.0 ! OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 3-11 ip default-gateway 172.20.137.1 ! ! end To store the... from which to do this privileged EXEC command: Switch# copy running-config startup-config Destination filename [startup-config]? For more startup-config privileged EXEC command. interface gigabitethernet6/0/2 mvr type source ...! enable secret ...
Configuration Guide
Page 104
...12 Catalyst 3750 Switch Software Configuration Guide OL-8550-02 For more information, see the "Understanding DHCP-Based Autoconfiguration" section on page 5-14 and Appendix C, "Working with the Cisco IOS... as the image file (excluding the .bin extension). Configured switches use the config.text file stored on the system board in the BOOT environment variable. A ...8226; Booting Manually, page 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 3-3. Table 3-3 ...
...12 Catalyst 3750 Switch Software Configuration Guide OL-8550-02 For more information, see the "Understanding DHCP-Based Autoconfiguration" section on page 5-14 and Appendix C, "Working with the Cisco IOS... as the image file (excluding the .bin extension). Configured switches use the config.text file stored on the system board in the BOOT environment variable. A ...8226; Booting Manually, page 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 3-3. Table 3-3 ...
Configuration Guide
Page 105
...By default, the switch automatically boots; Specify the configuration file to the default setting, use the no boot config-file global configuration command. For file-url, specify the path (directory) and the configuration filename. Return to privileged EXEC ... filename: Step 1 Step 2 Command configure terminal boot config-file flash:/file-url Step 3 end Step 4 show boot Step 5 copy running-config startup-config Purpose Enter global configuration mode. OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 3-13 Enable the switch to manually boot. Chapter 3...
...By default, the switch automatically boots; Specify the configuration file to the default setting, use the no boot config-file global configuration command. For file-url, specify the path (directory) and the configuration filename. Return to privileged EXEC ... filename: Step 1 Step 2 Command configure terminal boot config-file flash:/file-url Step 3 end Step 4 show boot Step 5 copy running-config startup-config Purpose Enter global configuration mode. OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 3-13 Enable the switch to manually boot. Chapter 3...
Configuration Guide
Page 106
... the Startup Configuration Chapter 3 Assigning the Switch IP Address and Default Gateway Step 4 Command show boot Step 5 copy running-config startup-config Purpose Verify your entries in the BOOT environment variable. The next time you reboot the system, the switch is completely searched before... Command configure terminal boot system filesystem:/file-url Step 3 boot system switch {number | all to privileged EXEC mode. 3-14 Catalyst 3750 Switch Software Configuration Guide OL-8550-02 If you can by the switch: prompt. To boot the system, use the boot filesystem:/file-url boot ...
... the Startup Configuration Chapter 3 Assigning the Switch IP Address and Default Gateway Step 4 Command show boot Step 5 copy running-config startup-config Purpose Verify your entries in the BOOT environment variable. The next time you reboot the system, the switch is completely searched before... Command configure terminal boot system filesystem:/file-url Step 3 boot system switch {number | all to privileged EXEC mode. 3-14 Catalyst 3750 Switch Software Configuration Guide OL-8550-02 If you can by the switch: prompt. To boot the system, use the boot filesystem:/file-url boot ...
Configuration Guide
Page 107
... software provides support for nonvolatile environment variables, which does not read the Cisco IOS configuration file. Each line in the file even if the value is set on the system, behaves. A variable that controls code, which can change the settings of data: • Data that...For example, the name of the Cisco IOS configuration file can be set to control how the boot loader, or any other software running -config startup-config Purpose Verify your entries in the configuration file. OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 3-15 For example, the name ...
... software provides support for nonvolatile environment variables, which does not read the Cisco IOS configuration file. Each line in the file even if the value is set on the system, behaves. A variable that controls code, which can change the settings of data: • Data that...For example, the name of the Cisco IOS configuration file can be set to control how the boot loader, or any other software running -config startup-config Purpose Verify your entries in the configuration file. OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 3-15 For example, the name ...
Configuration Guide
Page 108
If the BOOT variable is set CONFIG_FILE flash:/file-url boot config-file flash:/file-url Changes the filename that Cisco IOS uses to boot the first bootable file that it can find by using a recursive, depth-first search through the flash file system. ...which the image is not set BOOT filesystem:/file-url ... The next time you must take place within approximately 24 days. 3-16 Catalyst 3750 Switch Software Configuration Guide OL-8550-02 This command changes the CONFIG_FILE environment variable. Note A scheduled reload must manually boot the switch from the boot loader mode...
If the BOOT variable is set CONFIG_FILE flash:/file-url boot config-file flash:/file-url Changes the filename that Cisco IOS uses to boot the first bootable file that it can find by using a recursive, depth-first search through the flash file system. ...which the image is not set BOOT filesystem:/file-url ... The next time you must take place within approximately 24 days. 3-16 Catalyst 3750 Switch Software Configuration Guide OL-8550-02 This command changes the CONFIG_FILE environment variable. Note A scheduled reload must manually boot the switch from the boot loader mode...
Configuration Guide
Page 109
...switch from entering the boot loader mode and thereby taking it from the remote user's control. You can specify the reason for midnight. This example shows how to reload the ...(if the specified time is later than the current time). OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 3-17 Chapter 3 Assigning the Switch IP Address and Default Gateway Scheduling a ...the save if the CONFIG_FILE environment variable points to the startup configuration (copy running-config startup-config). During the save operation, the system requests whether you do not reload it...
...switch from entering the boot loader mode and thereby taking it from the remote user's control. You can specify the reason for midnight. This example shows how to reload the ...(if the specified time is later than the current time). OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 3-17 Chapter 3 Assigning the Switch IP Address and Default Gateway Scheduling a ...the save if the CONFIG_FILE environment variable points to the startup configuration (copy running-config startup-config). During the save operation, the system requests whether you do not reload it...
Configuration Guide
Page 113
... can use the namespace mapping service to those configured in Cisco IOS software; The Configuration Engine intersects two namespaces, one for the event bus and the other for example, cisco.cns.config.load. Because the Configuration Engine uses both the event bus... capable publish-and-subscribe communication method. Within the scope of a single instance of configuration events. OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 4-3 Cisco IOS devices recognize only event subject-names that provides a lookup service for messages and their destinations. The event service...
... can use the namespace mapping service to those configured in Cisco IOS software; The Configuration Engine intersects two namespaces, one for the event bus and the other for example, cisco.cns.config.load. Because the Configuration Engine uses both the event bus... capable publish-and-subscribe communication method. Within the scope of a single instance of configuration events. OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 4-3 Cisco IOS devices recognize only event subject-names that provides a lookup service for messages and their destinations. The event service...
Configuration Guide
Page 114
... to the new value. Therefore, the DeviceID, as originated on cisco.com: http://www.cisco.com/en/US/products/sw/netmgtsw/ps4617/products_installation_and_configuration_ guide_book09186a00803b59db.html Catalyst 3750 Switch Software Configuration Guide 4-4 OL-8550-02 Hostname and DeviceID The DeviceID is reconfigured. ..., must match the DeviceID of the corresponding switch definition in the Configuration Engine. All switches configured with the cns config partial global configuration command must first set for sending an event on the Configuration Engine. The origin of the DeviceID...
... to the new value. Therefore, the DeviceID, as originated on cisco.com: http://www.cisco.com/en/US/products/sw/netmgtsw/ps4617/products_installation_and_configuration_ guide_book09186a00803b59db.html Catalyst 3750 Switch Software Configuration Guide 4-4 OL-8550-02 Hostname and DeviceID The DeviceID is reconfigured. ..., must match the DeviceID of the corresponding switch definition in the Configuration Engine. All switches configured with the cns config partial global configuration command must first set for sending an event on the Configuration Engine. The origin of the DeviceID...
Configuration Guide
Page 115
... distribution switch acts as a DHCP relay agent and forwards the request to the switch. Chapter 4 Configuring Cisco IOS CNS Agents Understanding Cisco IOS Agents Understanding Cisco IOS Agents The CNS event agent feature allows the switch to publish and subscribe to get an IP address... default gateway Access layer switches 141328 OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 4-5 The Cisco IOS agent feature supports the switch by using the appropriate ConfigID and EventID. The Configuration Engine maps the Config ID to a template and downloads the full configuration ...
... distribution switch acts as a DHCP relay agent and forwards the request to the switch. Chapter 4 Configuring Cisco IOS CNS Agents Understanding Cisco IOS Agents Understanding Cisco IOS Agents The CNS event agent feature allows the switch to publish and subscribe to get an IP address... default gateway Access layer switches 141328 OL-8550-02 Catalyst 3750 Switch Software Configuration Guide 4-5 The Cisco IOS agent feature supports the switch by using the appropriate ConfigID and EventID. The Configuration Engine maps the Config ID to a template and downloads the full configuration ...