Subnet mask for this interface [255.0.0.0] : 255.255.255.0
Class A network is 10.0.0.0, 24 subnet bits; mask is /24
The 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
shutdown
no ip address
!
interface GigabitEthernet0/1
no shutdown
ip address 10.10.10.12 255.255.255.0
!
end
Step 12
Respond to the following prompts. Enter
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 user prompt is displayed:
myrouter>
The facility prompts you to save the configuration.
•
If you answer
no
, the configuration information you entered is not saved, and you return to the voice
gateway enable prompt (
Router#
). Enter
setup
to return to the System Configuration dialog box.
•
If you answer
yes
, the configuration is saved, and you are returned to the user EXEC prompt (
Router>
).
Step 13
To save the configuration, enter
yes
.
The following message is displayed:
Use this configuration? {yes/no} :
yes
Building configuration...
Use the enabled mode 'configure' command to modify this configuration.
Press RETURN to get started!
%LINK-3-UPDOWN: Interface Ethernet0/0, changed state to up
%LINK-3-UPDOWN: Interface Ethernet0/1, changed state to up
%LINK-3-UPDOWN: Interface Serial0/0/0, changed state to up
%LINK-3-UPDOWN: Interface Serial0/0/1, changed state to down
%LINK-3-UPDOWN: Interface Serial0/2, changed state to down
%LINK-3-UPDOWN: Interface Serial1/0, changed state to up
%LINK-3-UPDOWN: Interface Serial1/1, changed state to down
%LINK-3-UPDOWN: Interface Serial1/2, changed state to down
<Additional messages omitted.>
Step 14
When the messages stop appearing on your screen, press
Return
to get the
Router>
prompt.
The
Router>
prompt indicates that you are now at the CLI and you have just completed the initial configuration.
At this stage, you have the following two options:
•
Run the
setup
command facility again, and create another configuration:
Router>
enable
Password: password
Router#
setup
Cisco VG310 and Cisco VG320 Voice Gateways Hardware Installation Guide
OL-31292-01
57
Configuring the Cisco VG310 and Cisco VG320 Voice Gateways
Using the setup Command Facility