Configure System Management? [yes/no]: no
Step 8 If you want to access the router using SNMP, enter Yes at the prompt:
Configure SNMP Network Management? [yes]: yes
Step 9 Specify an SNMP community string.
Community string [public]: public
Using Configuration Mode to Configure Your Switch
To configure your switch from configuration mode, use the following procedure:
Step 1 Connect a console terminal to the console interface of your supervisor card.
Step 2 After a few seconds, you will see the user EXEC prompt (Switch>). Now, you may want to enter privileged EXEC mode, also known as enable mode. Type enable to enter enable mode:
Switch> enable
Note You must be in enable mode to make configuration changes.
The prompt will change to the enable prompt (#):
Switch#
Step 3 At the enable prompt (#), enter the configure terminal command to enter global configuration mode:
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
Step 4 At the global configuration mode prompt, enter the interface type slot/interface command to enter interface configuration mode:
Switch(config)# interface fastethernet 5/1
Step 5 In either of these configuration modes, enter changes to the switch configuration.
Step 6 Enter the end command to exit configuration mode.
Step 7 Save your settings.
Your switch is now minimally configured and can boot with the configuration you entered. To see a list of the configuration commands, enter ‘?’ at the prompt or press the help key in configuration mode.
Configuring a Default Gateway
Note The switch uses the default gateway only when it is not configured with a routing protocol.
Configure a default gateway to send data to subnets other than its own when the switch is not configured with a routing protocol. The default gateway must be the IP address of an interface on a router that is directly connected to the switch.
To configure a default gateway, perform this procedure:
Step 1 Configure a default gateway.
Switch(config)# ip
Step 2 Verify that the default gateway is correctly displayed in the IP routing table.
Switch# show ip route
This example shows how to configure a default gateway and how to verify the configuration:
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
31