Home > Cisco > Router > Cisco Router 826 Routers Software Configuration Guide

Cisco Router 826 Routers Software Configuration Guide

    Download as PDF Print this page Share this page

    Have a look at the manual Cisco Router 826 Routers 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+.

    							  
    2-57
    Cisco 826, 827, 828, 831, 836, and 837 and Cisco SOHO 76, 77, 78, 91, 96, and 97 Routers Software Configuration Guide
    78-14565-03
    Chapter 2      Network Scenarios
    Voice Scenario
    Voice Network
    Figure 2-16 shows a voice network with a Cisco 827-4V router and a Cisco 3640 router as the VoIP 
    gateway using H.323 signaling (H.323 gateway). 
    Figure 2-16 Voice Network 
    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 
    and the 3640 router are in the same zone.
    Dialed numbers are stored by the VoIP session application in the Cisco 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 routes 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.1Cisco 827-4V router serving as a voice 
    gateway4Ethernet 1 connection at address 172.17.1.1, 
    subnet 255.255.255.0
    2Cisco 3640 router serving as a voice gateway5Cisco 3640 router serving as voice gatekeeper
    3Ethernet 0 connection at address 172.17.1.36, 
    subnet 255.255.255.0
    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 
    						
    							  
    2-58
    Cisco 826, 827, 828, 831, 836, and 837 and Cisco SOHO 76, 77, 78, 91, 96, and 97 Routers Software Configuration Guide
    78-14565-03
    Chapter 2      Network Scenarios
    Voice Scenario
    Configuration Tasks
    To configure the voice scenario, you must configure the data network and then the voice network.
    Configure the data network:
    –Configuring the class map, route map, and policy map 
    –Configuring the Ethernet interface
    –Configuring the ATM interface
    –Configuring Enhanced IGRP
    Configure the voice network:
    –Configuring the POTS dial peers
    –Configuring VoIP dial peers for H.323 signaling 
    Configuration Examples
    Use the tables shown here to configure this scenario. Each command includes the values in the data and 
    voice configuration examples shown at the end of this section. Configuration examples are shown for the 
    Cisco 827-4V router and the gateway and gatekeeper endpoint routers. 
    After configuring your router, you need to configure the PVC endpoint. For a general configuration 
    example, see “Cisco 3640 Gateway Configuration Example” at the end of this chapter.
    Configuring the Class Map, Route Map, and Policy Map
    Follow these steps to configure the class map, route map, and policy map, beginning in global 
    configuration mode.
    Command Purpose
    Step 1access-lists 101 permit ip any any precedence 5Configures the access list.
    Step 2class-map voiceConfigures the class map.
    Step 3match access-group 101Assigns access list 101 to the class map.
    Step 4route-map data permit 10Configures the route map.
    Step 5ip precedence routineSets the IP precedence.
    Step 6policy-map mypolicyConfigures a policy map.
    Step 7class voiceSpecifies the class for queuing voice traffic.
    Step 8priority 176Specifies the bandwidth for queuing.1
    1. Total bandwidth for the policy map may not exceed 75 percent of the total PVC bandwidth.
    Step 9class class-defaultConfigures the default class for all traffic but 
    voice traffic. 
    						
    							  
    2-59
    Cisco 826, 827, 828, 831, 836, and 837 and Cisco SOHO 76, 77, 78, 91, 96, and 97 Routers Software Configuration Guide
    78-14565-03
    Chapter 2      Network Scenarios
    Voice Scenario
    Configuring the Ethernet Interface
    Follow the steps here to configure the Ethernet interface, beginning in global configuration mode.
    Configuring the ATM Interface
    Follow the steps here to configure the ATM interface, beginning in global configuration mode.Command Purpose
    Step 1interface ethernet 0Enters configuration mode for the Ethernet 
    interface.
    Step 2ip address 20.20.20.20 255.255.255.0Sets the IP address and subnet mask for the 
    Ethernet interface.
    Step 3ip policy route-map data Configures the IP policy route map.
    Step 4ip route-cache policy Enables fast-switching policy routing.
    Step 5no shutdownEnables the Ethernet interface.
    Step 6exitExits configuration mode for the Ethernet 
    interface.
    Command Purpose
    Step 1interface ATM 0Enters configuration mode for the ATM interface.
    Step 2ip address 10.10.10.20 255.255.255.0Sets the IP address and subnet mask for the ATM 
    interface.
    Step 3pvc 8/35Creates an ATM PVC for each end node with 
    which the router communicates.
    Step 4encapsulation aal5snapSpecifies the encapsulation type for the PVC.
    Step 5protocol ip 10.10.10.36 broadcastSpecifies the protocol broadcast for the IP 
    address.
    Step 6service-policy output mypolicySpecifies the service policy for the ATM interface.
    Step 7vbr-nrt 640 640 1Specifies the ATM service class.
    Step 8no shutdownEnables the ATM interface.
    Step 9exitExits configuration mode for the ATM interface. 
    						
    							  
    2-60
    Cisco 826, 827, 828, 831, 836, and 837 and Cisco SOHO 76, 77, 78, 91, 96, and 97 Routers Software Configuration Guide
    78-14565-03
    Chapter 2      Network Scenarios
    Voice Scenario
    Configuring Enhanced IGRP
    Follow the steps here to configure Enhanced IGRP, beginning in global configuration mode.
    Configuring the POTS Dial Peers
    Follow the steps here to configure each POTS dial peer, beginning in global configuration mode.
    Configuring VoIP Dial Peers for H.323 Signaling
    Follow the steps here to configure VoIP dial peers for H.323 signaling in global configuration mode.
    Configuration Examples
    This section contains the following configuration examples:
    Cisco 827-4V Router Configuration Example 
    Cisco 3640 Gateway Configuration Example
    Cisco 3640 Gatekeeper Configuration Example Command Purpose
    Step 1router eigrp 100Enters router configuration mode, and enables 
    Enhanced IGRP on the router. The 
    autonomous-system number identifies the route 
    to other Enhanced IGRP routers and is used to tag 
    the Enhanced IGRP information.
    Step 2network numberSpecifies the network number for each directly 
    connected network.
    Step 3exitExits router configuration mode.
    Command Purpose
    Step 1dial-peer voice number POTSEnters configuration mode for the dial peer 
    Step 2destination-pattern stringDefines the destination telephone number 
    associated with the VoIP dial peer.
    Step 3port numberSpecifies the port number.
    Command Purpose
    Step 1dial-peer voice number Vo I PEnters configuration mode for the dial peer. 
    Step 2destination-pattern stringDefines the destination telephone number 
    associated with each VoIP dial peer. 
    Step 3codec g711ulaw Specifies a codec if you are not using the default 
    codec of g.729. 
    Step 4ip precedence 5Sets the IP precedence.
    Step 5session target ras Specifies a destination IP address for each dial 
    peer. 
    						
    							  
    2-61
    Cisco 826, 827, 828, 831, 836, and 837 and Cisco SOHO 76, 77, 78, 91, 96, and 97 Routers Software Configuration Guide
    78-14565-03
    Chapter 2      Network Scenarios
    Voice Scenario
    Cisco 827-4V Router Configuration Example
    The following is a configuration example for the Cisco 827-4V router portion of the voice network 
    scenario. You do not have to enter the commands marked “default.” These commands appear 
    automatically in the file generated when you use the show running-config command.
    !
    class-map voice
    match access-group 101
    !
    route-map data permit 10
    set ip precedence routine
    !
    policy-map mypolicy
    class voice
    priority 176
    class class-default
    fair-queue 16 (default)
    !
    ip subnet-zero
    !
    gateway
    !
    interface Ethernet0
    ip address 20.20.20.20 255.255.255.0
    no ip directed-broadcast (default)
    ip route-cache policy
    ip policy route-map data
    !
    interface ATM0
    ip address 10.10.10.20 255.255.255.0
    no ip directed-broadcast (default)
    no atm ilmi-keepalive (default)
    pvc 1/40
    service-policy output mypolicy
    protocol ip 10.10.10.36 broadcast
    vbr-nrt 640 640 1
    ! 640 is the maximum upstream rate of ADSL
    encapsulation aal5snap
    !
    bundle-enable
    h323-gateway voip interface
    h323-gateway voip id gk-twister ipaddr 172.17.1.1 1719
    h323-gateway voip h323-id gw-820
    h323-gateway voip tech-prefix 1#
    !
    router eigrp 100
    network 10.0.0.0
    network 20.0.0.0
    !
    ip classless (default)
    no ip http server
    !
    access-list 101 permit ip any any precedence critical(5)
    !
    line con 0
    exec-timeout 0 0
    transport input none
    stopbits 1
    line vty 0 4
    login
    !
    ! 
    						
    							  
    2-62
    Cisco 826, 827, 828, 831, 836, and 837 and Cisco SOHO 76, 77, 78, 91, 96, and 97 Routers Software Configuration Guide
    78-14565-03
    Chapter 2      Network Scenarios
    Voice Scenario
    voice-port 1
    local-alerting
    !
    voice-port 2
    local-alerting
    !
    voice-port 3
    local-alerting
    !
    voice-port 4
    local-alerting
    !
    dial-peer voice 10 voip
    destination-pattern .......
    ip precedence 5
    session target ras
    !
    dial-peer voice 1 pots
    destination-pattern 4085258111
    port 1
    !
    dial-peer voice 2 pots
    destination-pattern 14085258222
    port 2
    !
    dial-peer voice 3 pots
    destination-pattern 14085258333
    port 3
    !
    dial-peer voice 4 pots
    destination-pattern 14085258444
    port 4
    !
    end
    Cisco 3640 Gateway Configuration Example
    The following is a configuration example for the Cisco 3640 gateway portion of the voice network 
    scenario. You do not have to enter the commands marked “default.” These commands appear 
    automatically in the configuration file generated when you use the show running-config command.
    !
    class-map voice
    match access-group 101
    !
    policy-map mypolicy
    class voice
    bandwidth 176
    class class-default
    fair-queue 16
    !
    ip subnet-zero
    !
    cns event-service server
    !
    voice-port 1/0/0
    !
    voice-port 1/0/1
    !
    voice-port 1/1/0
    ! 
    						
    							  
    2-63
    Cisco 826, 827, 828, 831, 836, and 837 and Cisco SOHO 76, 77, 78, 91, 96, and 97 Routers Software Configuration Guide
    78-14565-03
    Chapter 2      Network Scenarios
    Voice Scenario
    voice-port 1/1/1
    !
    dial-peer voice 10 voip
    destination-pattern .......
    ip precedence 5
    session target ras
    !
    dial-peer voice 1 pots
    destination-pattern 12125253111
    port 1/0/0
    !
    dial-peer voice 2 pots
    destination-pattern 12125253222
    port 1/0/1
    !
    dial-peer voice 3 pots
    destination-pattern 12125253333
    port 1/1/0
    !
    dial-peer voice 4 pots
    destination-pattern 12125253444
    port 1/1/1
    !
    process-max-time 200
    gateway 
    !
    interface Ethernet0/0
    ip address 172.17.1.36 255.255.255.0
    no ip directed-broadcast
    h323-gateway voip interface
    h323-gateway voip id gk-twister ipaddr 172.17.1.1 1719
    h323-gateway voip h323-id gw-3640
    h323-gateway voip tech-prefix 1#
    !
    interface ATM2/0
    ip address 10.10.10.36 255.255.255.0
    no ip directed-broadcast
    no atm ilmi-keepalive
    pvc 8/35 
    service-policy output mypolicy
    protocol ip 10.10.10.20 broadcast
    vbr-rt 1000 600 1
    encapsulation aal5snap
    !
    router eigrp 100
    network 10.0.0.0
    network 172.17.0.0
    !
    no ip classless
    no ip http server
    !
    access-list 101 permit ip any any precedence critical (5)
    !
    line con 0
    exec-timeout 0 0
    transport input none
    line aux 0
    line vty 0 4
    login
    !
    !
    end 
    						
    							  
    2-64
    Cisco 826, 827, 828, 831, 836, and 837 and Cisco SOHO 76, 77, 78, 91, 96, and 97 Routers Software Configuration Guide
    78-14565-03
    Chapter 2      Network Scenarios
    Voice Scenario
    Cisco 3640 Gatekeeper Configuration Example
    The following is a configuration example for the H.323 gatekeeper portion of the voice network scenario. 
    You do not have to enter the commands marked “default.” These commands appear automatically in the 
    configuration file generated when you use the show running-config command.
    !
    class-map voice
    match access-group 101
    !
    !
    policy-map mypolicy
    class voice
    bandwidth 176
    class class-default
    fair-queue 16
    !
    ip subnet-zero
    !
    ip dvmrp route-limit 20000
    !
    process-max-time 200
    !
    interface Ethernet0/0
    ip address 172.28.9.83 255.255.255.0
    no ip directed-broadcast (default)
    !
    interface Ethernet0/1
    ip address 172.17.1.1 255.255.255.0
    no ip directed-broadcast (default)
    !
    router eigrp 100
    network 172.17.0.0
    !
    ip classless (default)
    no ip http server
    !
    !
    gatekeeper
    zone local gk-router router.cisco.com 172.17.1.1
    zone remote gk-sf1 cisco.com 179.15.2.2
    zone remote gk-sf2 lucent.com 180.4.0.1
    zone prefix gk-sf1 1415525....
    zone prefix gk-sf2 1415527....
    !
    line con 0
    exec-timeout 0 0
    transport input none
    line aux 0
    line vty 0 4
    password lab
    login
    !
    end 
    						
    							CHAPTER
      
    3-1
    Cisco 826, 827, 828, 831, 836, and 837 and Cisco SOHO 76, 77, 78, 91, 96, and 97 Routers Software Configuration Guide
    78-14565-03
    3
    Basic Router Configuration
    This chapter includes basic feature-by-feature configuration procedures. This chapter is useful if you 
    have a network in place and you want to add specific basic features.
    NoteEvery feature described is not necessarily supported on every router model. Where possible and 
    applicable, these feature limitations will be listed.
    If you prefer to use network scenarios to build a network, see Chapter 2, “Network Scenarios.” For 
    advanced router configuration topics and feature descriptions, see Chapter 4, “Advanced Router 
    Configuration.”
    This chapter contains the following sections:
    Before You Configure Your Network, page 3-2
    Configuring Basic Parameters, page 3-2
    Configuring Bridging, page 3-9
    Configuring Static Routing, page 3-12
    Configuring Dynamic Routing, page 3-13
    Configuring IP Enhanced IGRP, page 3-14
    Configuring Addressing Parameters, page 3-15
    Configuring DHCP, page 3-19
    Configuring TACACS+, page 3-22
    Configuring an Extended Access List, page 3-23
    Configuring Quality of Service Parameters, page 3-24
    Configuring Dial Backup, page 3-34
    Configuring IGMP Proxy and Sparse Mode, page 3-39
    Configuring IP Security and GRE Tunneling, page 3-41
    Configuring IP Precedence, page 3-48
    Configuring Voice, page 3-49
    Cisco 827 Routers Configuration Examples, page 3-52
    Corporate or Endpoint Router Configuration for Data and Voice Network, page 3-56
    Each section includes a configuration example and verification steps, where available. 
    						
    							  
    3-2
    Cisco 826, 827, 828, 831, 836, and 837 and Cisco SOHO 76, 77, 78, 91, 96, and 97 Routers Software Configuration Guide
    78-14565-03
    Chapter 3      Basic Router Configuration
    Before You Configure Your Network
    Before You Configure Your Network
    Before you configure your network, you must do the following:
    Order an ADSL or G.SHDSL line from your telephone service provider.
    Determine the number of PVCs your service provider is giving you together with their virtual path 
    identifiers (VPIs) and virtual channel identifiers (VCIs).
    For each PVC determine the type of AAL5 encapsulation supported. It can be one of the following:
    –AAL5SNAP: This can be either routed RFC 1483 or bridged RFC 1483. In the case of routed 
    RFC 1483, the service provider has to provide you with a static IP address. In the case of bridged 
    RFC 1483, you may use DHCP to obtain your IP address or you may be given a static IP address 
    from your service provider.
    –AAL5MUX PPP: With this type, you need to determine PPP-related configuration items.
    If you are setting up an Internet connection, gather the following information: 
    –Point-to-Point Protocol (PPP) client name that is assigned as your login name.
    –PPP authentication type: Challenge Handshake Authentication Protocol (CHAP) or Password 
    Authentication Protocol (PAP).
    –PPP password to access your Internet Service Provider (ISP) account.
    –DNS server IP address and default gateways.
    If you are setting up a connection to a corporate network, you and its network administrator must 
    generate and share the following information for the WAN interfaces of the routers:
    –PPP authentication type: CHAP or PAP.
    –PPP client name to access the router.
    –PPP password to access the router.
    If you are setting up IP routing, generate the addressing scheme for your IP network.
    Configuring Basic Parameters
    To configure the router, perform the tasks described in the following sections:
    Configuring Global Parameters
    Configuring the Ethernet Interface
    Configuring the Dialer Interface
    Configuring the Loopback Interface
    Configuring the Asynchronous Transfer Mode Interface
    Configuring Command-Line Access to the Router
    A configuration file example that illustrates how to configure the network is presented after the tasks.
    After your router boots, the following prompt displays. Enter no.
    Would you like to enter the initial configuration dialog [yes]: no
    For complete information on how to access global configuration mode, see the “Entering Global 
    Configuration Mode” section in Appendix A, “Cisco IOS Basic Skills.” For more information on the 
    commands used in the following tables, see the Cisco IOS Release 12.2 documentation set. 
    						
    All Cisco manuals Comments (0)

    Related Manuals for Cisco Router 826 Routers Software Configuration Guide