The following configuration command script is created:
hostname myrouter
enable secret 5 $1$t/Dj$yAeGKviLLZNOBX0b9eifO0
enable password cisco123
line vty 0 4
password cisco
snmp-server community public
!
no ip routing
!
interface GigabitEthernet0/0/0
shutdown
no ip address
!
interface GigabitEthernet0/0/1
no shutdown
ip address 10.10.10.12 255.255.255.0
!
interface GigabitEthernet0/0/2
shutdown
no ip address
!
.
.
.
end
Step 10
Respond to the following prompts. Select [2] to save the initial configuration.
[0] Go to the IOS command prompt without saving this config.
[1] Return back to the setup without saving this config.
[2] Save this configuration to nvram and exit.
Enter your selection [2]: 2
Building configuration...
Use the enabled mode 'configure' command to modify this configuration.
Press RETURN to get started! RETURN
The following user prompt is displayed:
myrouter>
Completing the Configuration
When using the Cisco setup command facility, and after you have provided all the information requested by
the facility as described in “Using the Cisco setup Command Facility” section, the final configuration appears.
To complete your router configuration, follow these steps:
Cisco ASR 1001-HX Router and Cisco ASR 1002-HX Router Hardware Installation Guide
77
Power Up and Initial Configuration
Using the Cisco setup Command Facility