A-6
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
Appendix A Cisco IOS CLI for Initial Configuration
Using the Cisco IOS CLI to Perform Initial Configuration
Examples
The following example shows how to set the console idle privileged EXEC timeout to 2 minutes 30
seconds:
line console
exec-timeout 2 30
The following example shows how to set the console idle privileged EXEC timeout to 10 seconds:
line console
exec-timeout 0 10
Configuring Gigabit Ethernet Interfaces
This sections shows how to assign an IP address and interface description to an Ethernet interface on
your router.
For comprehensive configuration information on Gigabit Ethernet interfaces, see the “Configuring LAN
Interfaces” chapter of
Cisco IOS Interface and Hardware Component Configuration Guide
,
http://www.cisco.com/en/US/docs/ios/12_2/interface/configuration/guide/icflanin.html
For information on interface numbering, see
Software Configuration Guide
for your router.
SUMMARY STEPS
1.
enable
2.
show ip interface
brief
3.
configure
terminal
4.
interface
gigabitethernet
0/
port
5.
description
string
6.
ip address
ip-address mask
7.
no shutdown
8.
end
9.
show ip interface
brief
Step 5
end
Example:
Router(config)# end
Returns to privileged EXEC mode.
Step 6
show running-config
Example:
Router(config)# show running-config
Displays the running configuration file.
•
Verify that you properly configured the idle privileged
EXEC timeout.
Command or Action
Purpose