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-47
    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
    Configuring the DHCP Server
     protocol ip 200.200.100.254 broadcast
    !
    bundle-enable
    !
    ip nat inside source list 1 interface ATM0 overload
    ip classless (default)
    ip route 0.0.0.0 0.0.0.0 200.200.100.254
    !
    access-list 1 permit 192.168.1.0 0.0.0.255
    !         
    end
    Integrated Routing and Bridging 
    This network shows a user connecting to the Internet using integrated routing and bridging (IRB) to use 
    NAT across a bridged interface. This scenario might work for you if you want to add functionality to an 
    endpoint router without reconfiguring the central site. For example, you can provide an IP address and 
    NAT in a bridged network without having to reconfigure the central site for routing. 
    Exchanging the bridge with a router enables feature additions such as voice and Quality of Service 
    (QoS). IRB provides more secure control of the central site and more efficient use of the WAN link.
    Figure 2-13 shows an IRB scenario.
    Figure 2-13 IRB Internet Scenario
    One side of the network (WAN in this scenario) is configured to act as a bridge. The Bridge-Group 
    Virtual Interface (BVI) is configured to act as a routed interface from the WAN bridge-group to the 
    nonbridged LAN interface. From the LAN, the network appears as a router. From the WAN, the network 
    appears as a bridge.
    The ATM interface uses AAL5SNAP encapsulation, and the number of PVCs is set by default.
    NAT, represented as the dashed line at the edge of the Cisco 827 routers, signifies two addressing 
    domains and the inside source address. The source list defines how the packet travels through the 
    network.1Small business or remote user3Connection to Ethernet 0 address 
    192.168.1.1/24
    2ATM 0 PVC 8/354The Internet
    Cisco 827/827-4V
    192.168.1.1/24DSLAMCisco 6400
    Cisco
    6400
    74580
    41
    2
    3 
    						
    							  
    2-48
    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
    Configuring the DHCP Server
    The following configuration topics are covered in this section:
    Configuring the Default Gateway
    Configuring the Ethernet Interface and IRB
    Configuring the ATM Interface
    Configuring the BVI
    Configuring NAT
    Configuration Example
    To add additional features to this network, see Chapter 3, “Basic Router Configuration,” and Chapter 4, 
    “Advanced Router Configuration.”
    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 Default Gateway
    Enter the following command to set the IP route for the default gateway:
    ip route default-gateway ip address-mask
    Configuring the Ethernet Interface and IRB 
    Follow the steps below to configure the Ethernet interface and IRB, beginning in global configuration 
    mode.
    Configuring the ATM Interface
    Follow the steps below to configure the ATM interface, beginning in global configuration mode.Command Purpose
    Step 1bridge irbSpecifies IRB.
    Step 2bridge 1 route ipEnables IP routing to and from bridge-group 1.
    Step 3bridge 1 protocol ieeeSpecifies the bridge protocol to define the type of 
    Spanning-Tree Protocol (STP).
    Step 4interface ethernet 0Enters configuration mode for Ethernet interface.
    Step 5ip address 192.168.1.1 255.255.255.0Sets the IP address and subnet mask for the 
    Ethernet interface.
    Step 6no shutdownEnables the Ethernet interface.
    Step 7exitExits configuration mode for Ethernet interface.
    Command Purpose
    Step 1interface ATM 0Enters configuration mode for the ATM interface.
    Step 2pvc 8/35Creates an ATM PVC for each end node with 
    which the router communicates.
    Step 3encapsulation aal5snapSpecifies the encapsulation type for the PVC. 
    						
    							  
    2-49
    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
    Configuring the DHCP Server
    Configuring the BVI
    Follow the steps below to configure the BVI, beginning in global configuration mode.
    Configuring NAT
    Follow the steps below to configure NAT, beginning in global configuration mode.
    Step 4bridge-group 1Specifies the bridge-group number to which the 
    ATM interface belongs. 
    Step 5no shutdownEnables the ATM interface.
    Step 6exitExits configuration mode for the ATM interface. Command Purpose
    Command Purpose
    Step 1interface bvi 1Enters configuration mode for the BVI.
    Step 2ip address 200.200.100.1 255.255.255.0Sets the IP address and subnet mask for the BVI.
    Step 3exitExits configuration mode for Ethernet interface.
    Command Purpose
    Step 1ip nat pool test 200.200.100.1 200.200.100.1 
    255.255.255.0 Creates pool of global IP addresses for NAT. 
    Step 2access-list 101 permit ip 192.168.1 0.0.0.0.255 
    any logDefines a standard access list permitting 
    addresses that need translation.
    Step 3ip nat inside source list 101 pool test overloadEnables dynamic translation of addresses 
    permitted by access list to one of addresses 
    specified in pool.
    Step 4interface ethernet 0Enters configuration mode for the Ethernet 
    interface.
    Step 5ip nat insideEstablishes the Ethernet interface as the inside 
    interface.
    Step 6no shutdownEnables interface and configuration changes just 
    made to the interface.
    Step 7exitExits configuration mode for the Ethernet 
    interface.
    Step 8interface ATM 0Enters configuration mode for the ATM interface.
    Step 9ip nat outsideEstablishes the ATM interface as the outside 
    interface.
    Step 10no shutdownEnables interface and configuration changes just 
    made to the interface.
    Step 11exitExits configuration mode for the ATM interface.
    Step 12interface bvi 1 Enters configuration mode for the BVI.
    Step 13ip nat outsideEstablishes the BVI as the outside interface. 
    						
    							  
    2-50
    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
    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 generated when you use the show 
    running-config command.
    bridge irb
    !
    interface Ethernet0
    ip address 192.168.1.1 255.255.255.0
    no ip directed-broadcast (default)
    ip nat inside
    !
    interface ATM0
    no ip address
    no ip directed-broadcast (default)
    ip nat outside
    no atm ilmi-keepalive (default)
    pvc 8/35 
    encapsulation aal5snap
    !
    bridge-group 1
    !
    interface BVI1
    ip address 200.200.100.1 255.255.255.0
    no ip directed-broadcast (default)
    ip nat outside
    !
    ip nat pool test 200.200.100.1 200.200.100.1 netmask 255.255.255.0
    ip nat inside source list 101 pool test overload
    ip classless (default)
    !
    bridge 1 protocol ieee
    bridge 1 route ip
    !
    access-list 101 permit ip 192.168.1.0 0.0.0.255 any log
    !
    ip route 0.0.0.0 0.0.0.0 200.200.100.254 (default gateway)
    !
    end
    Concurrent Routing and Bridging 
    This network shows a remote user connecting to the Internet using concurrent routing and bridging 
    (CRB) to route voice traffic and bridge data traffic while keeping each of them separate. This scenario 
    is useful if you want to simplify your network setup for data transmission and then configure voice. The 
    IP address is configured to recognize the difference between data traffic and voice traffic (voice traffic 
    is configured with QoS parameters and virtual circuits). IRB can do routing and bridging on the same 
    interface; CRB does routing and bridging on separate interfaces.
    Step 14no shutdownEnables interface and configuration changes just 
    made to the interface.
    Step 15endExits configuration mode for the BVI. Command Purpose 
    						
    							  
    2-51
    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
    Configuring the DHCP Server
    Figure 2-14 shows a CRB Internet scenario with the voice traffic routed and the data traffic bridged. Both 
    the Cisco 827/827-4V router and the Cisco 3640 voice gateway are supporting voice traffic from 
    telephones.
    Figure 2-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 subinterface2, 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 virtual path 
    identifier and virtual channel identifier (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 local dial peers to 
    determine what numbers each port should respond to. Each VoIP dial peer is configured for H.323 
    signaling.
    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 3, “Basic Router Configuration” and Chapter 4, 
    “Advanced Router Configuration.”
    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. 1Small business or remote user3ATM connection, ATM0.1 PVC 1/40 Voice 
    1.0.0.1/24, ATM0.2 PVC 8/35 data
    2Ethernet 0 bridge4The Internet
    Cisco
    827/827-4V
    DSLAMCisco 6400
    Cisco
    6400
    3640
    Voice
    gateway
    74581
    4
    1
    23 
    						
    							  
    2-52
    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
    Configuring the DHCP Server
    Specifying CRB and Configuring the Ethernet Interface 
    Follow these steps to specify CRB and configure the Ethernet interface, beginning in global 
    configuration mode.
    Configuring the ATM Interface and Subinterfaces
    Follow these steps 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. Command Purpose
    Step 1bridge crbSpecifies CRB.
    Step 2interface ethernet 0Enters configuration mode for the Ethernet 
    interface.
    Step 3bridge-group 1Specifies the bridge-group number to which the 
    Ethernet interface belongs. 
    Step 4exitExits configuration mode for the Ethernet 
    interface and the router.
    Step 5bridge 1 protocol ieeeSpecifies the bridge protocol to define the type of 
    STP.
    Command Purpose
    Step 1interface ATM 0.1 point-to-pointSpecifies the ATM0.1 subinterface.
    Step 2ip address 1.0.0.1 255.255.255.0Sets the IP address and subnet mask for the 
    ATM0.1 subinterface.
    Step 3pvc 1/40Creates an ATM PVC for each end node with 
    which the router communicates.
    Step 4encapsulation aal5snapSpecifies the encapsulation type for the PVC.
    Step 5protocol ip 1.0.0.2 broadcastSets the protocol broadcast for the IP address.
    Step 6interface ATM 0.2 point-to-pointSpecifies the ATM0.2 subinterface.
    Step 7pvc 8/35Creates an ATM PVC for each end node with 
    which the router communicates.
    Step 8encapsulation aal5snapSpecifies the encapsulation type for the PVC.
    Step 9bridge-group 1Specifies the bridge-group number to which the 
    Ethernet interface belongs. 
    Step 10no shutdownEnables the ATM interface.
    Step 11exitExits configuration mode for the ATM interface. 
    						
    							  
    2-53
    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
    Configuring the DHCP Server
    Configuring the POTS Dial Peers
    Follow the steps below to configure the POTS dial peers, beginning in global configuration mode. 
    Ta b l e 2 - 3 shows the destination telephone number and port for each dial peer POTS port.
    Configuring VoIP Dial Peers for H.323 Signaling
    Use this table to configure VoIP dial peers for H.323 signaling, beginning in global configuration mode. 
    Ta b l e 2 - 4 shows the destination telephone number for each voice dial peer. Command Purpose
    Step 1dial-peer voice number POTSEnters configuration mode for the dial peer. 
    Step 2destination-pattern stringDefines the telephone number associated with the 
    port.
    Step 3voice port-numberSpecifies the port number.
    Table 2-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 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 4session target ipv4:1.0.0.2 Specifies a destination IP address for each dial 
    peer.
    Table 2-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 
    						
    							  
    2-54
    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
    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 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
    !
    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 
    						
    							  
    2-55
    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
    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
    !
    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-4V 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 discussed below. 
    						
    							  
    2-56
    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
    Data Network
    Figure 2-15 shows a data network with traffic routing through the Cisco 827 router and then switching 
    onto the ATM interface. 
    Figure 2-15 Data Network 
    The Cisco 827 router is connected through the ATM interface through one PVC and it is associated with 
    a QoS policy called mypolicy. Data traffic coming from the Ethernet must have an IP precedence below 
    5 (critical) to distinguish it from voice traffic. 
    Enhanced IGRP 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, Enhanced 
    IGRP assumes that the state of a destination has changed and sends an incremental update.
    NAT (represented as the dashed line at the edge of the Cisco 827 routers) signifies two addressing 
    domains and the inside source address. The source list defines how the packet travels through the 
    network.
    This scenario includes configuration tasks and a configuration example. To add additional features to 
    this network, see Chapter 3, “Basic Router Configuration” and Chapter 4, “Advanced Router 
    Configuration.”
    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. 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
    ATM 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 
    						
    All Cisco manuals Comments (0)

    Related Manuals for Cisco Router 826 Routers Software Configuration Guide