|
|
This chapter describes how to use the Cisco IOS software command-line interface (CLI) to change the host name, password, and the IP addresses used in the Cisco AccessPath-VS3 Packet Telephony Concentrator, in order to alter the standard configurations for your network. The following procedures are described:
Follow the procedures in this chapter to configure the components in the AccessPath-VS3 system manually. Many of these configurations can also be created automatically using the Configurator software. For more information, see the Cisco AcessPath-VS3 Packet Telephony Concentrator Software Configuration Quick Start Guide document.
This chapter describes only a small portion of the most commonly used configuration procedures. For advanced configuration topics, see the Cisco IOS configuration and command reference publications. These publications are available on the Documentation CD-ROM that shipped with your AccessPath-VS3 system, on the World Wide Web from Cisco's home page, or you can order printed copies separately.
If you are experienced using the Cisco IOS software, you might find Appendix A, "Sample Configurations," a useful reference.
One of the first configuration tasks you might want to do is configure the host name and set an encrypted password. Configuring a host name allows you to distinguish multiple Cisco devices from each other. Setting an encrypted password allows you to prevent unauthorized configuration changes. Configuring line passwords allows you to prevent unauthorized access to a device.
| Step | Command | Purpose |
|---|---|---|
| 1 | | Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to |
| 2 | | Enter global configuration mode. You have entered global configuration mode when the prompt changes to |
| 3 | | Change the name of the device to a meaningful name. Substitute your host name for CMS01. |
| 4 | | |
| 5 |
| Enter line configuration mode to configure the virtual terminal ports. The parameter pair 0 4 refers to the range of virtual terminals from vty 0 to vty 63. (There might be a different number of vty lines configured.) When you enter line configuration mode, the prompt changes to
|
To verify that you configured the right host name and passwords:
Step 1 Enter the show config command:
CMS01(config)# show config
Using 1888 out of 126968 bytes ! version XX.X . . . ! hostname CMS01 ! enable secret 5 $1$60L4$X2JYOwoDc0.kqa1loO/w8/ . . . line vty 0 4 password cisco login
Step 2 Exit global configuration mode and attempt to reenter it using the new enable password:
CMS01# exit
. . . CMS01 con0 is now available Press RETURN to get started. CMS01> enable
Password: secret123
CMS01#
Step 3 If an interface is configured on the router, open a Telnet session to the router and attempt to enter using the new vty password:
CMS01# telnet CMS01
Translating "CMS01"...domain server (172.22.5.253) [OK] Trying CMS01.yourdomain.com (192.168.1.56)... Open User Access Verification Password: cisco
CMS01>
| Tips |
If you are having trouble:
Assign an IP address to the Ethernet 10BaseT interface of an Access Server Shelf so that it can be recognized as a device on the Ethernet LAN.
| Step | Command | Purpose |
|---|---|---|
| 1 | | Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to |
| 2 | | Enter global configuration mode. You have entered the global configuration mode when the prompt changes to |
| 3 | | Enter Ethernet interface configuration mode. |
| 4 | | Assign an IP address and subnet mask to the interface. |
| 5 | | Return to privileged EXEC mode.
This message is normal and does not indicate an error. |
To verify you have assigned the correct IP address:
AS01# show arp
Protocol Address Age (min) Hardware Addr Type Interface Internet 192.168.1.1 _ 0800.207e.bead ARPA Ethernet0 AS01#
| Tips |
If you are having trouble:
Assign an IP address to the Ethernet 100BaseT interface of an Access Server Shelf so that it can be recognized as a device on the Ethernet LAN. The Fast Ethernet interface supports 10- and 100-Mbps speeds with the 100BaseT and 10BaseT hubs and switches.
| Step | Command | Purpose |
|---|---|---|
| 1 | | Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to |
| 2 | | Enter global configuration mode. You have entered global configuration mode when the prompt changes to |
| 3 | | Enter Ethernet interface configuration mode. |
| 4 | | Assign an IP address and subnet mask to the interface. |
| 5 | | Return to privileged EXEC mode.
This message is normal and does not indicate an error. |
To verify the IP address, configured and actual speed, and configured and actual duplex operations:
AS01# show arp
Protocol Address Age (min) Hardware Addr Type Interface Internet 172.16.1.1 _ 0800.207e.bead ARPA FastEthernet0
AS01# show interface fastethernet 0
FastEthernet0 is up, line protocol Hardware is DEC21140, address is 00e0.1e3e.c125 (bia 00e0.1e3e.c125) Internet address is 172.16.1.1/24 MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, rely 255/255, load 1/255 Encapsulation ARPA, loopback not set, keepalive set (10 sec), auto duplex, 100BaseTX/FX, 100Mb/s
| Tips |
If you are having trouble:
Assign an IP address to the loopback 0 and loopback 1 interfaces of your Access Server Shelf. Loopback 0 is used as the source address of the VoIP access server interface. Loopback 1 is used as a management address.
| Step | Command | Purpose |
|---|---|---|
| 1 | | Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to |
| 2 | | Enter global configuration mode. You have entered global configuration mode when the prompt changes to |
| 3 | | Enter loopback interface configuration mode. |
| 4 | | Assign an IP address and subnet mask to the interface. |
| 5 | | Return to privileged EXEC mode.
This message is normal and does not indicate an error. |
To verify the IP address:
AS01# show interface loopback 0
Loopback0 is up, line protocol is up Hardware is loopback Internet address is 172.16.1.33/32 MTU 1500 bytes, BW 8000000 Kbit, DLY 5000 usec, rely 255/255, load 1/255 Encapsulation LOOPBACK, loopback not set, keepalive set (10 sec)
| Tips |
If you are having trouble:
Assign an IP address to the Ethernet 100BaseT interface of your Router Shelf so that it can be recognized as a device on the Ethernet LAN.
The AccessPath-VS3 system comes in two varieties with different Fast Ethernet configurations:
| Step | Command | Purpose |
|---|---|---|
| 1 | | Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to |
| 2 | | Enter global configuration mode. You have entered global configuration mode when the prompt changes to |
| 3 | [or] | Enter Fast Ethernet interface configuration mode. |
| 4 | | Assign an IP address and subnet mask to the interface. |
| 5 | | Return to privileged EXEC mode.
This message is normal and does not indicate an error. |
To verify the IP address, speed, duplex operation, and media type:
RS01# show arp
Protocol Address Age (min) Hardware Addr Type Interface Internet 172.16.1.27 - 0010.543d.0420 ARPA FastEthernet1/0 Internet 192.168.1.27 - 0010.543d.0400 ARPA FastEthernet0/0
RS01# show interface fastethernet 0/0
FastEthernet0/0 is up, line protocol is up Hardware is DEC21140, address is 0010.543d.0400 (bia 0010.543d.0400) Internet address is 192.168.1.27/27 MTU 1500 bytes, BW 10000 Kbit, DLY 100 usec, rely 255/255, load 1/255 Encapsulation ARPA, loopback not set, keepalive not set Full-duplex, 100Mb/s, MII
RS01# show interface fastethernet 1/0
FastEthernet1/0 is up, line protocol is up Hardware is DEC21140, address is 0010.543d.0420 (bia 0010.543d.0420) Internet address is 172.16.1.27/27 MTU 1500 bytes, BW 10000 Kbit, DLY 100 usec, rely 255/255, load 1/255 Encapsulation ARPA, loopback not set, keepalive set (10 sec) Full-duplex, 100Mb/s, 100BaseTX/FX
| Tips |
If you are having trouble:
Assign an IP address to the loopback 1 interface of your router shelf. Loopback 1 is a management interface.
| Step | Command | Purpose |
|---|---|---|
| 1 | | Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to |
| 2 | | Enter global configuration mode. You have entered global configuration mode when the prompt changes to |
| 3 | | Enter loopback interface configuration mode. |
| 4 | | Assign an IP address and subnet mask to the interface. |
| 5 | | Return to privileged EXEC mode.
This message is normal and does not indicate an error. |
To verify the IP address:
RS01# show interface loopback 1
Loopback1 is up, line protocol is up Hardware is loopback Internet address is 192.168.1.54/32 MTU 1500 bytes, BW 8000000 Kbit, DLY 5000 usec, rely 255/255, load 1/255
Encapsulation LOOPBACK, loopback not set, keepalive set (10 sec)
| Tips |
If you are having trouble:
Assign an IP address to an Ethernet 10BaseT interface of the Console Management Shelf so that it can be recognized as a device on the Ethernet LAN.
| Step | Command | Purpose |
|---|---|---|
| 1 | | Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to |
| 2 | | Enter global configuration mode. You have entered the global configuration mode when the prompt changes to |
| 3 | | Enter Ethernet interface configuration mode. |
| 4 | | Assign an IP address and subnet mask to the interface. |
| 5 | | Return to privileged EXEC mode.
This message is normal and does not indicate an error. |
To verify you have assigned the correct IP address:
CMS01# show arp
Protocol Address Age (min) Hardware Addr Type Interface Internet 192.168.1.29 _ 00e0.1ea1.84d2 ARPA Ethernet1/0 CMS01#
| Tips |
If you are having trouble:
Assign an IP address to the Sc0 interface of the Switch Shelf so that it can be recognized as a device on the Ethernet LAN.
| Step | Command | Purpose |
|---|---|---|
| 1 | | Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to
On the Switch Shelf, enable mode allows for immediate configuration changes. |
| 2 | | Assign a VLAN1, an IP address, a subnet mask, and a subnet broadcast address to the interface.
The only VLAN in the AccessPath-VS3 Switch Shelf is VLAN 1.
The subnet broadcast address can be omitted. |
| 3 | | Enable all ports connected to Fast Ethernet. In the example, the command is followed by a slot specification and the ports to enable. |
| 4 | | Return to unprivileged mode. |
| 1VLAN = virtual LAN. |
To verify you have assigned the correct IP address:
SW01> show interface
sl0: flags=51<UP,POINTOPOINT,RUNNING>
slip 0.0.0.0 dest 0.0.0.0
sc0: flags=63<UP,BROADCAST,RUNNING>
vlan 1 inet 172.16.1.30 netmask 255.255.255.224 broadcast 172.22.16.31
SW01>
| Tips |
If you are having trouble:
Assign IP networks to an OSPF routing process.
| Step | Command | Purpose |
|---|---|---|
| 1 | | Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to |
| 2 | | Enter global configuration mode. You have entered global configuration mode when the prompt changes to |
| 3 | | Enter OSPF routing process configuration mode for your internal OSPF process. Substitute your own process ID. |
| 4 | | Assign the new IP network numbers to the internal OSPF process. Substitute your own area number for 1. |
| 9 | | Return to privileged EXEC mode.
This message is normal and does not indicate an error. |
To verify the OSPF configuration:
AS01# show ip protocol
Routing Protocol is "ospf 100"
Sending updates every 0 seconds
Invalid after 0 seconds, hold down 0, flushed after 0
Outgoing update filter list for all interfaces is
Incoming update filter list for all interfaces is
Redistributing:connected, ospf 100
Routing for Networks:
1.5.10.0/26
172.16.1.0/26
Passive Interface(s):
Loopback0
Loopback1
Serial0:23
Serial1:23
Serial2:23
Serial3:23
Routing Information Sources:
Gateway Distance Last Update
1.5.10.58 110 03:16:27
1.5.10.56 110 03:16:27
1.5.10.57 110 03:16:27
1.5.10.54 110 03:16:27
172.16.1.2 110 03:16:27
Distance:(default is 110)
| Tips |
If you are having trouble:
Assign IP networks to an OSPF routing process.
| Step | Command | Purpose |
|---|---|---|
| 1 | | Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to |
| 2 | | Enter global configuration mode. You have entered global configuration mode when the prompt changes to |
| 3 | | Enter OSPF routing process configuration mode for your internal OSPF process. Substitute your own Process ID. |
| 4 |
| Assign the new IP network numbers to the internal OSPF process. Substitute your own area number. |
| 5 | | Return to privileged EXEC mode.
This message is normal and does not indicate an error. |
To verify the OSPF configuration:
RS01# show ip protocol
Routing Protocol is "ospf 100"
Sending updates every 0 seconds
Invalid after 0 seconds, hold down 0, flushed after 0
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing:ospf 100
Routing for Networks:
1.5.10.0/26
172.16.1.0/26
Passive Interface(s):
Loopback1
Routing Information Sources:
Gateway Distance Last Update
192.168.1.120 110 1d03h
1.5.10.58 110 03:17:44
1.5.10.56 110 03:17:44
1.5.10.57 110 03:17:44
172.16.1.33 110 03:17:44
172.16.1.1 110 1d00h
172.16.1.2 110 03:17:44
Distance:(default is 110)ü!h
| Tips |
If you are having trouble:
Assign IP networks to an OSPF routing process.
| Step | Command | Purpose |
|---|---|---|
| 1 | | Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to |
| 2 | | Enter global configuration mode. You have entered global configuration mode when the prompt changes to |
| 3 | | Enter OSPF routing process configuration mode for your internal OSPF process. Substitute your own Process ID. |
| 4 |
| Assign the new IP network numbers to the internal OSPF process. Substitute your own area number. |
| 5 | | Return to privileged EXEC mode.
This message is normal and does not indicate an error. |
To verify the OSPF configuration:
CMS01# show ip protocol
Routing Protocol is "ospf 100"
Sending updates every 0 seconds
Invalid after 0 seconds, hold down 0, flushed after 0
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing:ospf 100
Routing for Networks:
1.5.10.0/26
172.16.1.0/26
172.22.46.0/26
Passive Interface(s):
Loopback1
Routing Information Sources:
Gateway Distance Last Update
1.5.10.58 110 03:22:51
1.5.10.57 110 03:22:51
1.5.10.54 110 03:22:51
172.16.1.33 110 03:22:51
172.16.1.1 110 1d00h
172.16.1.2 110 03:22:51
Distance:(default is 110)
| Tips |
If you are having trouble:
Assign IP networks to an OSPF routing process.
| Step | Command | Purpose |
|---|---|---|
| 1 | | Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to |
| 2 | | Enter global configuration mode. You have entered global configuration mode when the prompt changes to |
| 3 | | Enter OSPF routing process configuration mode for your internal OSPF process. Substitute your own Process ID. |
| 4 |
| Assign the new IP network numbers to the internal OSPF process. Substitute your own area number. |
| 5 | | Return to privileged EXEC mode.
This message is normal and does not indicate an error. |
To verify the OSPF configuration:
GK01# show ip protocol
Routing Protocol is "ospf 100"
Sending updates every 0 seconds
Invalid after 0 seconds, hold down 0, flushed after 0
Outgoing update filter list for all interfaces is
Incoming update filter list for all interfaces is
Redistributing:ospf 100
Routing for Networks:
1.5.10.0/26
172.16.1.0/26
Passive Interface(s):
Loopback1
Routing Information Sources:
Gateway Distance Last Update
1.5.10.58 110 03:21:59
1.5.10.56 110 03:21:59
1.5.10.54 110 03:21:59
172.16.1.33 110 03:21:59
172.16.1.2 110 03:21:59
Distance:(default is 110)
| Tips |
If you are having trouble:
Make sure you are using the correct IP network addresses and OSPF Autonomous System numbers.
|
|