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+.
4-73 Cisco 800 Series Software Configuration Guide 78-5372-06 Chapter 4 Network Scenarios Configuring the DHCP Server Figure 4-14 CRB Internet Scenario Concurrent routing and bridging are accomplished using different subinterfaces under the ATM interface. Each ATM subinterface that is created is treated uniquely in the network. Data traffic in this scenario is bridged across ATM subinterface 2, using AAL5SNAP encapsulation. A single PVC is created with a vpi/vci value of 8/35. Voice traffic is routed across ATM0 subinterface 0.1. There is a single PVC created with a VPI/VCI value of 1/40 for voice. The voice subinterface is configured with remote dial peers to determine where outgoing calls are sent and with local dial peers to determine what numbers each port should respond to. Each VoIP dial peer is configured for H.323 signaling. Callout Number Description 1Small business or remote user 2Ethernet 0 bridge 3ATM connection, ATM0.1 PVC 1/40 Voice 1.0.0.1/24, ATM0.2 PVC 8/35 data 4The Internet Cisco 827/827-4V DSLAMCisco 6400 Cisco 6400 3640 Voice gateway 74581 4 1 23
Chapter 4 Network Scenarios Configuring the DHCP Server 4-74 Cisco 800 Series Software Configuration Guide 78-5372-06 The following configuration topics are covered in this section: Specifying CRB and Configuring the Ethernet Interface Configuring the ATM Interface and Subinterfaces Configuring Voice Ports Configuring the POTS Dial Peers Configuring VoIP Dial Peers for H.323 Signaling Configuration Example To add additional features to this network, see Chapter 7, “Router Feature Configuration.” After configuring your router, you need to configure the PVC endpoint. For a general configuration example, see the “Cisco 3640 Gateway Configuration Example” section on page 74. Specifying CRB and Configuring the Ethernet Interface Follow the steps below to specify CRB and configure the Ethernet interface, beginning in global configuration mode. Command Task Step 1bridge crbSpecify CRB. Step 2interface ethernet 0Enter configuration mode for the Ethernet interface. Step 3bridge-group 1Specify the bridge-group number to which the Ethernet interface belongs. Step 4exitExit configuration mode for the Ethernet interface and the router. Step 5bridge 1 protocol ieeeSpecify the bridge protocol to define the type of STP.
4-75 Cisco 800 Series Software Configuration Guide 78-5372-06 Chapter 4 Network Scenarios Configuring the DHCP Server Configuring the ATM Interface and Subinterfaces Follow the steps below to configure the ATM interface and subinterfaces, beginning in global configuration mode. Configuring Voice Ports To configure voice ports, you must configure the POTS dial peers and the VoIP dial peers for the signaling type; in this case, the type is H.323. Configuring the POTS Dial Peers Complete the following steps to configure the POTS dial peers, beginning in global configuration mode. Ta b l e 4 - 3 shows the destination telephone number and port for each dial peer POTS port. Command Task Step 1interface ATM 0.1 point-to-pointSpecify the ATM0.1 subinterface. Step 2ip address 1.0.0.1 255.255.255.0Set the IP address and subnet mask for the ATM0.1 subinterface. Step 3pvc 1/40Create an ATM PVC for each end node with which the router communicates. Step 4encapsulation aal5snapSpecify the encapsulation type for the PVC. Step 5protocol ip 1.0.0.2 broadcastSet the protocol broadcast for the IP address. Step 6interface ATM 0.2 point-to-pointSpecify the ATM0.2 subinterface. Step 7pvc 8/35Create an ATM PVC for each end node with which the router communicates. Step 8encapsulation aal5snapSpecify the encapsulation type for the PVC. Step 9bridge-group 1Specify the bridge-group number to which the Ethernet interface belongs. Step 10no shutdownEnable the ATM interface. Step 11exitExit configuration mode for the ATM interface.
Chapter 4 Network Scenarios Configuring the DHCP Server 4-76 Cisco 800 Series Software Configuration Guide 78-5372-06 Configuring VoIP Dial Peers for H.323 Signaling Follow the steps below to configure VoIP dial peers for H.323 signaling, beginning in global configuration mode. Ta b l e 4 - 4 shows the destination telephone number for each voice dial peer. Command Task Step 1dial-peer voice number POTSEnter configuration mode for the dial peer. Step 2destination-pattern stringDefine the telephone number associated with the port. Step 3voice port-numberSpecify the port number. Table 4-3 Mapping of Dial Peer Number to Destination Telephone and Port Dial Peer Number Destination Pattern Port 101 14085271111 1 102 14085272222 2 103 14085273333 3 104 14085274444 4 Command Task Step 1dial-peer voice number Vo I PEnter configuration mode for the dial peer. Step 2destination-pattern stringDefine the destination telephone number associated with each VoIP dial peer. Step 3codec g711ulaw Specify a codec if you are not using the default codec of g.729. Step 4session target ipv4:1.0.0.2 Specify a destination IP address for each dial peer.
4-77 Cisco 800 Series Software Configuration Guide 78-5372-06 Chapter 4 Network Scenarios Configuring the DHCP Server Configuration Example In the following configuration example, you do not have to enter the commands marked “default.” These commands appear automatically in the configuration file that is generated when you use the show running-config command. ip subnet-zero ! bridge crb ! interface Ethernet0 no ip address no ip directed-broadcast (default) bridge-group 1 ! interface ATM0 no ip address no ip directed-broadcast (default) no atm ilmi-keepalive (default) bundle-enable ! interface ATM0.1 point-to-point ip address 1.0.0.1 255.255.255.0 no ip directed-broadcast (default) pvc voice 1/40 protocol ip 1.0.0.2 broadcast encapsulation aal5snap ! interface ATM0.2 point-to-point no ip address no ip directed-broadcast (default) pvc data 8/35 encapsulation aal5snap ! Table 4-4 Mapping of VoIP Dial Peers to Destination Telephone Numbers for H.323 VoIP Dial Peer Destination Pattern 1100 12123451111 1200 12123452222 1300 12123453333 1400 12123454444
Chapter 4 Network Scenarios Configuring the DHCP Server 4-78 Cisco 800 Series Software Configuration Guide 78-5372-06 bridge-group 1 ! ip classless (default) ! bridge 1 protocol ieee ! voice-port 1 local-alerting ! voice-port 2 local-alerting ! voice-port 3 local-alerting ! voice-port 4 local-alerting ! dial-peer voice 101 pots destination-pattern 14085271111 port 1 ! dial-peer voice 1100 voip destination-pattern 12123451111 codec g711ulaw session target ipv4:1.0.0.2 ! dial-peer voice 102 pots destination-pattern 14085272222 port 2 ! dial-peer voice 1200 voip destination-pattern 12123452222 codec g711ulaw session target ipv4:1.0.0.2 ! dial-peer voice 103 pots destination-pattern 14085273333 port 3 ! dial-peer voice 1300 voip destination-pattern 12123453333 codec g711ulaw session target ipv4:1.0.0.2 ! dial-peer voice 104 pots destination-pattern 14085274444 port 4
4-79 Cisco 800 Series Software Configuration Guide 78-5372-06 Chapter 4 Network Scenarios Voice Scenario ! dial-peer voice 1400 voip destination-pattern 12123454444 codec g711ulaw session target ipv4:1.0.0.2 ! end Voice Scenario This section describes a voice scenario configuration using the Cisco 827 router in an H.323 signaling environment. Setting up voice on the router actually includes two configurations—one for data and one for voice. When you have completed the configuration for the data scenario, you can add voice by configuring the POTS and VoIP dial peers and voice ports. Scenarios for data and voice are provided in the sections that follow. Data Network Figure 4-15 and Ta b l e 4 - 1 9 show a data network with traffic routing through the Cisco 827 router and then switching on to the ATM interface.
Chapter 4 Network Scenarios Voice Scenario 4-80 Cisco 800 Series Software Configuration Guide 78-5372-06 Figure 4-15 Data Network The Cisco 827 router is connected through the ATM interface through one PVC. The PVC is associated with a QoS policy called mypolicy. Data traffic coming from the Ethernet must have an IP precedence value of less than 5 (critical) to distinguish it from voice traffic. EIGRP is configured to send hello packets every 5 seconds to inform neighboring routers that it is functioning. If a particular router does not send a hello packet within a prescribed period, EIGRP assumes that the state of a destination has changed and sends an incremental update. NAT (represented by the dashed line at the edge of the Cisco 827 router) signifies two addressing domains and the inside source address. The source list defines how the packet travels through the network. Callout Number Description 1Ethernet connection to a Cisco 827 router 2Ethernet connection 0/1 at address 172.17.1.1, subnet 255.255.255.0 3Ethernet connection 0 at 172.17.1.36, subnet 255.255.255.0 74582 DSLAM Cisco 827AT MCisco 6400 Cisco 6400 Cisco 3640Cisco 3640 20.20.20.20 255.255.255.0 AT M 0 10.10.10.20 255.255.255.0 PVC 8/35 PVC 0/40 10.10.10.36 255.255.255.0 1 2 3
4-81 Cisco 800 Series Software Configuration Guide 78-5372-06 Chapter 4 Network Scenarios Voice Scenario This scenario includes configuration tasks and a configuration example. To add more features to this network, see Chapter 7, “Router Feature Configuration.” After configuring your router, you need to configure the PVC endpoint. For a general configuration example, see the “Cisco 3640 Gateway Configuration Example” section on page 74. Voice Network Figure 4-16 and Ta b l e 4 - 2 0 show a voice network with an 827-4V router and a Cisco 3640 router as the VoIP gateway using H.323 signaling (H.323 gateway). Figure 4-16 Voice Network 74584 DSLAMAT MCisco 6400 Cisco 6400 PVC 0/14 10.10.10.36 255.255.255.0 Cisco 3640 Cisco 3640 1 23 4 5
Chapter 4 Network Scenarios Voice Scenario 4-82 Cisco 800 Series Software Configuration Guide 78-5372-06 The Cisco 3640 router is set up on the LAN as a gatekeeper, which provides address translation and control access for the LAN for H.323 terminals and gateways. The gatekeeper may provide other services to the H.323 terminals and gateways, such as managing bandwidth and locating gateways. In this scenario, the dial endpoint is the Cisco 3640 router, with an IP address of 172.17.1.36 and a subnet mask of 255.255.255.0. This configuration assumes a single-zone setup so that both the Cisco 827-4V router and the Cisco 3640 router are in the same zone. Dialed numbers are stored by the VoIP session application in the 827-4V router, in this case, H.323. After enough digits are accumulated to match a configured destination pattern, the telephone number is mapped to a dial peer and session target. In this configuration, the dial peer has a session target of RAS, which is a protocol run between the H.323 session protocol gateway and gatekeeper. The gatekeeper resolves the destination for each dialed number, and the call signal is routed to the Cisco 3640 gateway, which assigns the call to a voice port. The coder-decoder compression schemes (codecs) are enabled for both ends of the connection, and QoS parameters are configured for IP precedence. Configuration Tasks To configure the voice scenario, you must first configure the data network and then configure the voice network. Callout Number Description 1Cisco 827-4V router serving as a voice gateway 2Cisco 3640 router serving as a voice gateway 3Ethernet 0 connection at address 172.17.1.36, subnet 255.255.255.0 4Ethernet 1 connection at address 172.17.1.1, subnet 255.255.255.0 5Cisco 3640 router serving as voice gatekeeper