Cisco Router 800 Series Software Configuration Guide
Have a look at the manual Cisco Router 800 Series Software Configuration Guide online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 53 Cisco manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.
3-17 Cisco 800 Series Software Configuration Guide 78-5372-06 Chapter 3 Configuring Advanced Networks Connecting a Remote Network to Two Corporate Networks Step 45c804(config-if)# encapsulation pppEnable PPP. Step 46c804(config-if)# dialer rotary-group 1 c804(config-if)# dialer rotary-group 2Create dialer rotary groups 1 and 2, specifying a number between 0 and 255 for each. Step 47c804(config-if)# isdn spid1 0 4085551212 c804(config-if)# isdn spid2 0 4085551313North America only. Associate the ISDN LDNs provided by your telephone service provider to the first and second SPIDs, and configure the SPID numbers to be automatically detected. Step 48c804(config-if)# ppp authentication pap chap callinEnable PAP or CHAP for incoming data. Step 49c804(config-if)# isdn incoming-voice modemSpecify that voice calls are forwarded to the devices connected to the analog telephone ports. Step 50c804(config-if)# exitChange to global configuration mode. Step 51c804(config)# dial-peer voice 1 pots c804(config-dial-peer)# destination-pattern 5551212 c804(config-dial-peer)# port 1Create a dial peer to determine how incoming calls are routed to the telephone port 1. Step 52c804(config-dial-peer)# exitReturn to global configuration mode. Step 53c804(config)# dial-peer voice 2 pots c804(config-dial-peer)# destination-pattern 5551313 c804(config-dial-peer)# port 2Create a second dial peer to determine how incoming calls are routed to the telephone port 2. Step 54c804(config-dial-peer)# exitChange to global configuration mode. Step 55c804(config)# ip nat inside source list 1 interface bri0 overload c804(config)# access-list 1 permit 192.168.1.0 0.0.0.255Set global NAT commands. In this example, all inside network addresses assigned to interface BRI0 are configured for translation, and the access list that contains the inside network addresses is defined. Command Purpose
Chapter 3 Configuring Advanced Networks Connecting a Remote Network to Two Corporate Networks 3-18 Cisco 800 Series Software Configuration Guide 78-5372-06 Configuring the Routers at the Corporate Site Starting from global configuration mode, follow these steps to configure the routers that connect the Cisco 800 series router. This procedure assumes that these routers are Cisco routers that support Cisco IOS software, such as a Cisco 3600 router. Command Purpose Step 1router# configure terminalEnter global configuration mode. Step 2router(config)# hostname 3600Define the corporate router hostname. Step 33600(config)# enable secret secretEnter an encrypted password to gain access to privileged EXEC mode commands. Step 43600(config)# username c800 password c800_passSpecify the username and password of the Cisco 800 series router. Step 53600(config)# ip subnet-zeroSet router to recognize the zero subnet range as a valid range of addresses. Step 63600(config)# no ip domain-lookupDisable router from translating unfamiliar words entered during a console session into IP addresses. Step 73600(config)# ip local pool POOL1 1.1.2.1 1.1.2.7Set a local pool of IP addresses to be used when the Cisco 800 series router attempts to connect. Define the pool name and the range of IP addresses in the pool. Step 83600(config)# ip dhcp pool DHCPpoolLAN_1Optional if configuring your router as a DHCP server. If DHCP is not being configured, go to step 14. This step specifies the DHCP relay pool name. Step 93600(dhcp-config)# network 1.1.2.0 255.255.255.0For configuring DHCP only. Set the DHCP pool of addresses. Step 103600(dhcp-config)# dns-server 1.1.2.2For configuring DHCP only. Set the IP address of the DNS server. Step 113600(dhcp-config)# netbios-name-server 1.2.2.2 1.2.2.3For configuring DHCP only. Set the NetBIOS servers.
3-19 Cisco 800 Series Software Configuration Guide 78-5372-06 Chapter 3 Configuring Advanced Networks Configuring the ISDN Line Configuring the ISDN Line For the ISDN line, you can use one of the following features: DDR using snapshot routing (the ISDN line is activated only when needed) Permanent ISDN line lease This section provides further information on these features and how to configure them. Step 123600(dhcp-config)# default-router 1.1.2.1For configuring DHCP only. Set the Ethernet 0 IP address as the default gateway. Step 133600(dhcp-config)# exitFor configuring DHCP only. Exit to global configuration mode. Step 143600(config)# ip address 1.1.1.1 255.255.255.0Set IP address and subnet mask. Step 153600(config)# interface bri0 3600(config-if)# isdn switch-type basic-net3Change to interface configuration mode for BRI0 and specify ISDN switch type. Step 163600(config-if)# encapsulation pppEnable PPP. Step 173600(config-if)# isdn spid1 0155533330101 3600(config-if)# isdn spid2 0155544440101North America only. Specify SPID numbers assigned to B channels by telephone service provider. Step 183600(config-if)# peer default ip address pool POOL1Specify address from a particular IP address pool be returned to the connected router. Use pool name specified in ip local pool command. Step 193600(config-if)# ppp authentication chap or 3600(config-if)# ppp authentication papEnable PAP or CHAP. Step 203600(config-if)# ppp multilinkEnable multilink PPP. Step 213600(config-if)# no cdp enableDisable CDP. Step 223600(config-if)# exitChange to global configuration mode. Step 233600(config)# ip classlessSet the IP addresses to be treated as classless. Command Purpose
Chapter 3 Configuring Advanced Networks Configuring the ISDN Line 3-20 Cisco 800 Series Software Configuration Guide 78-5372-06 Dial-on-Demand Routing Using Snapshot Routing You can configure the DDR feature on your ISDN line. The ISDN line is then activated by traffic demands, including sending updates to other routers. You can configure snapshot routing to control the duration and frequency of the routing updates. NoteSome protocols (IP, UDP, and NTP) send updates that can cause an ISDN line to be activated excessively. For information on preventing this situation, see the “Controlling the DDR ISDN Line Activation” section on page 3-26. Configuration Starting from interface configuration mode, follow these steps to configure DDR using snapshot routing. For information on the commands used in this configuration, refer to the Cisco IOS documentation. Command Purpose Step 1router# configure terminal router(config)# interface bri0Enter global configuration mode. Then enter interface configuration mode. Step 2router(config-if)# dialer rotary-group 1Create a dialer rotary-group, useful in environments that require multiple calling destinations. Only the rotary-group needs to be configured with dialer map commands. Step 3router(config-if)# interface dialer 0Create a dialer rotary-group leader. Step 4router(config-if)# ppp multilinkEnable multilink PPP. Step 5router(config-if)# dialer in-bandEnable DDR. Step 6router(config-if)# dialer idle-timeout 150Specify the amount of time that the line is idle before it is disconnected. Step 7router(config-if)# dialer hold-queue 10Set number of packets held in outgoing queue.
3-21 Cisco 800 Series Software Configuration Guide 78-5372-06 Chapter 3 Configuring Advanced Networks Configuring the ISDN Line Step 8router(config-if)# dialer load-threshold 150 eitherDefine the load level that must be exceeded on first ISDN B channel before the second B channel is brought up, and whether the load level is defined for inbound or outbound traffic, or for either type. Step 9router(config-if)# dialer-group 2Assign interface to dialer access group. Step 10router(config-if)# dialer-list 2 protocol ip permit Define the traffic types that trigger and sustain an ISDN call on interfaces sharing the same dialer-group number. Step 11router(config-if)# map-class dialer class1Optional. Define a class of shared configuration parameters for outgoing calls. Step 12router(config-map-class)# dialer isdn speed 56Optional. If 64-kbps calling is not supported, enter 56 kbps as speed for the B channel. Step 13router(config-map-class)# exit router(config)# interface bri0Change to global configuration. Then change to interface configuration mode for BRI0. Step 14router(config-if)# dialer map 3.3.3.3 name name1 5551000Create a dialer map used by the WAN interface. Step 15router(config-if)# exit router(config)# interface dialer0Change to global configuration mode. Then change to interface configuration for dialer 0. Step 16router(config-if)# snapshot server 5 or router(config-if)# snapshot client 5Set up one of the following options for snapshot routing: A server router and the active time interval, in minutes (from 5 to 1000) A client router, the active time interval, in minutes (from 5 to 1000), and the quiet time interval, in minutes (from 8 to 100,000) Step 17router(config-if)# exit router(config)# interface bri0Change to global configuration mode. Then change to interface configuration for BRI0. Step 18router(config-if)# dialer map snapshot 2 5551000Define a dialer map for snapshot routing on a client router connected to a DDR interface. Command Purpose
Chapter 3 Configuring Advanced Networks Configuring the ISDN Line 3-22 Cisco 800 Series Software Configuration Guide 78-5372-06 Verifying the DDR Configuration You can test your DDR configuration by making an ISDN data call through the CLI as shown in the following steps. For more information on the commands shown, refer to the Cisco IOS documentation set. Configuring a Leased ISDN Line This section describes how to configure the router so that it uses the ISDN line as a leased-line connection to the routers at the corporate site. Use the following steps to ensure that the ISDN line is always active and connected to the corporate office switch. For more information, refer to the Cisco IOS documentation. Command Purpose Step 1router# isdn call interface bri0 5551000Initiate the data call and specify the interface and dial string. Step 2router# isdn disconnect interface bri0 allDisconnect the data call without bringing down the interface. Command Purpose Step 1router# configure terminalEnter global configuration mode. Step 2router(config)# isdn leased-line bri0 128Configure the BRI interface to use the ISDN physical connection as a leased-line service. Select one of the following line speeds: 128 combines the two B channels at 128 kbps. Offered in Japan only. 144 combines the two B channels and D channel at 144 kbps.
3-23 Cisco 800 Series Software Configuration Guide 78-5372-06 Chapter 3 Configuring Advanced Networks Configuring Dynamic Routing Configuring Dynamic Routing The IP routing protocol can use RIP or EIGRP to learn routes dynamically. You can configure either one of these options. This section also provide information on triggered extensions to RIP. Configuring Routing Information Protocol RIP is a commonly used Interior Gateway Protocol (IGP) for use in small networks. Starting in global configuration mode, follow these steps to configure RIP. For information on the commands used in this configuration, refer to the Cisco IOS documentation set. Configuring UDP Broadcasts Figure 3-3 and Ta b l e 3 - 3 show a Cisco 800 series router configured to function in a Microsoft Windows environment.Command Purpose Step 1router(config)# router ripEnable the RIP routing process. Step 2router(config-router)# network network-numberAssociate a network with the RIP routing process. Step 3router(config-router)# version {1 | 2}Set the software to receive and send only RIP version 1 or only RIP version 2 packets.
Chapter 3 Configuring Advanced Networks Configuring UDP Broadcasts 3-24 Cisco 800 Series Software Configuration Guide 78-5372-06 Figure 3-3 Cisco 800 Series Router Forwarding UDP Broadcasts The router forwards UDP broadcasts containing PC addresses, so that PCs in network A can learn about PCs in network B, and vice versa. However, if your network uses a DDR ISDN line, the UDP broadcasts might activate this line too often. If keeping monthly ISDN costs low is a concern, you can control when your DDR ISDN line is activated. For more information on this option, see the “Controlling the DDR ISDN Line Activation” section on page 3-26. Configuration of UDP Broadcasts Starting from the ISDN interface configuration mode, use the following steps to configure the router to forward UDP broadcasts. For more information on the commands listed, refer to the Cisco IOS documentation. Callout Number Description 1NT client 2Network A 3ISDN 4Network B 5NT server 3600 10.1.1.120.1.1.174934 800 15 24 3
3-25 Cisco 800 Series Software Configuration Guide 78-5372-06 Chapter 3 Configuring Advanced Networks Configuring DHCP Relay NoteBy default, eight other UDP ports, including 137 (NetBIOS name server) and 138 (NetBIOS datagram service), are enabled. For more information, refer to the Cisco IOS documentation. Configuring DHCP Relay With DHCP, devices on an IP network (DHCP clients) can request configuration information from a DHCP server. DHCP allocates IP addresses from a central pool as needed. With the DHCP relay feature configured, the Cisco 800 series routers can relay IP configuration information from the LAN interface, over the ISDN interface, and to a specified DHCP server as shown in Figure 3-4 and Ta b l e 3 - 4. Figure 3-4 DHCP Relay Command Purpose Step 1router# configure terminalEnter global configuration mode. Step 2router(config)# interface bri0Change to interface configuration mode for BRI0. Step 3router(config-if)# ip helper-address addressSet the router to forward UDP broadcasts, including broadcasts of IP addresses and IP configuration requests to the NT server. 3600 74935 800 14 3 2
Chapter 3 Configuring Advanced Networks Controlling the DDR ISDN Line Activation 3-26 Cisco 800 Series Software Configuration Guide 78-5372-06 DHCP relay configures the router to forward UDP broadcasts, including IP configuration requests, from DHCP clients. However, if your network uses a DDR ISDN line, you might find that this line is activated excessively by the IP configuration requests and other UDP broadcasts. If keeping monthly ISDN costs low is a concern, you can control the activation of your ISDN line. For more information, refer to the “UDP Broadcasts in DHCP Relay Environment” section on page 3-28. Configuration of DHCP Relay Starting in global configuration mode, use the following steps to configure DHCP relay. For more information on the commands listed, refer to the Cisco IOS documentation. Controlling the DDR ISDN Line Activation The following types of traffic can activate your ISDN line and increase your monthly ISDN line cost: UDP broadcasts associated with networks running Microsoft Windows Callout Number Description 1DHCP client 2DHCP relay 3ISDN network 4DHCP server Command Purpose Step 1router# configure terminalEnter global configuration mode. Step 2router(config)# ip dhcp-server ip-addressSpecify which DHCP server to use on your network.