|
|
You can configure your Cisco IDSL router using the Cisco IOS command-line interface or the Cisco 800 Fast Step application. For information about using Cisco 800 Fast Step, refer to the Cisco 800 DSL Connection Kit document in the product accessory kit or on Cisco Connection Online (CCO).
The following procedures are examples of how to configure the Cisco IDSL router using Cisco IOS commands. For more information about Cisco IOS commands, refer to the Cisco IOS documentation set on the Documentation CD-ROM or CCO.
The following is an example of a typical IDSL configuration.
router(config)# hostname 802
Step 2 Specify a username and password. The username is the destination router's hostname. The password must be the same for both the host and destination routers. For example:
router(config)# username isp password cisco
Step 3 Set the switch type. For example:
router(config)# isdn switch-type basic-5ess
Step 4 Set the BRI interface to use the ISDN physical connection as a leased-line service. The following example sets the line speed at 128 kbps:
router(config)# isdn leased-line bri0 128
Step 5 Configure DHCP relay pool name. For example:
router(config)# ip dhcp pool DHCPpoolLAN_0
Step 6 Set the DHCP pool of addresses. For example:
router(dhcp-config)# network 192.168.1.0 255.255.255.0
Step 7 Set the IP addresses of the DNS servers. For example:
router(dhcp-config)# dns-server 172.29.20.41 172.29.20.51
Step 8 Set the NetBIOS servers. For example:
router(dhcp-config)# netbios-name-server 172.29.20.41 172.29.20.51
Step 9 Set the Ethernet 0 IP address as the default gateway. For example:
router(dhcp-config)# default-router 192.168.1.1
Step 10 Exit to global configuration mode.
router(dhcp-config)# exit router(config)#
Step 11 Define the IP addresses of the DNS servers. For example:
router(config)# ip name-server 172.29.20.41 router(config)# ip name-server 172.29.20.51
Step 12 Change to interface command mode. For example:
router(config)# interface ethernet0 router(config-if)#
Step 13 Enter the IP address and subnet mask for the LAN. For example:
router(config-if)# ip address 192.168.1.1 255.255.255.0
Step 14 Enable Network Address Translation (NAT) on your LAN. The inside network address is not directly routed to the Internet but is subject to translation to a routable address outside the LAN.
router(config-if)# ip nat inside
Step 15 Set the BRI interface IP address. In the following example, IP addresses are dynamically assigned:
router(config-if)# interface bri0 router(config-if)# ip address negotiated
Step 16 Enable PPP.
router(config-if)# encapsulation ppp
Step 17 Configure CHAP authentication.
router(config-if)# ppp authentication chap
Step 18 Configure a valid Internet address to which the inside network address will be translated.
router(config-if)# ip nat outside
Step 19 Define the router hostname and password to authenticate. For example:
router(config-if)# ppp chap hostname 802 router(config-if)# ppp chap password cisco
Step 20 Exit to global configuration mode. Add default route and interface. For example:
router(config-if)# exit router(config)# ip route 0.0.0.0 0.0.0.0 bri0
Step 21 Set global NAT commands. In the following 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.
router(config)# ip nat inside source list 1 interface bri0 overload router(config)# access-list 1 permit 192.168.1.0 0.0.0.255
Step 22 Change to user mode, then save your configuration.
router# exit router# copy running-config startup-config
The following is an example of screen output for an IDSL configuration:
Current configuration: ! version 12.0 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname cisco802 ! ! ! ! ip subnet-zero ! isdn switch-type basic-5ess isdn leased-line BRI0 128 ip dhcp pool DHCPoolLAN_0 network 192.168.1.0 255.255.255.0 dns-server 172.29.20.41 172.29.20.51 netbios-name-server 172.29.20.41 172.29.20.51 default-router 192.168.1.1 ip name-server 172.29.20.41 ip name-server 172.29.20.51 ! ! interface Ethernet0 ip address 192.168.1.1 255.255.255.0 no ip directed-broadcast ip nat inside ! interface BRI0 ip unnumbered negotiated no ip directed-broadcast encapsulation ppp ppp authentication chap ip nat outside ppp chap hostname 802 ppp chap password cisco ! ip classless ip route 0.0.0.0 0.0.0.0 bri 0 ! ip nat inside source list 1 interface bri0 overload access-list 1 permit 192.168.1.0 0.0.0.255 ! line con 0 transport input none stopbits 1 line vty 0 4 end cisco802#
The following procedure is an example of how to configure IDSL with Frame Relay.
router(config)# hostname 802
Step 2 Specify a username and password. The username is the destination router's hostname. The password must be the same for both the host and destination routers. For example:
router(config)# username isp password cisco
Step 3 Set the switch type. For example:
router(config)# isdn switch-type basic-5ess
Step 4 Set the BRI interfaces to use the ISDN physical connection as a leased-line service. The following example sets the line speed at 144 kbps:
router(config)# isdn leased-line bri0 144 router(config)# isdn leased-line bri0.1 144
Step 5 Change to interface command mode. For example:
router(config)# interface ethernet0
Step 6 Enter an IP address. For example:
router(config-if)# ip address 192.168.2.1 255.255.255.0
Step 7 Enable Network Address Translation (NAT) on your LAN. The inside network address is not directly routed to the Internet but is subject to translation to a routable address outside the LAN.
router(config-if)# ip nat inside
Step 8 Change to BRI interface.
router(config-if)# interface bri0
Step 9 Configure interface with no IP address.
router(config-if)# no ip address
Step 10 Configure NAT so that the inside network address will be translated to a valid Internet address.
router(config-if)# ip nat outside
Step 11 Specify the encapsulation type. In the following example, IETF is used to connect to non-Cisco routers.
router(config-if)# encapsulation frame-relay ietf
Step 12 Specify the Local Management Interface (LMI) type used by the Frame Relay switch. For example:
router(config-if)# frame-relay lmi-type ansi
Step 13 Specify the subinterface point-to-point. For example:
router(config-if)# interface bri0:1 point-to-point
Step 14 Specify the IP address on the subinterface. For example:
router(config-if)# ip address 209.188.2.2 255.255.255.0
Step 15 Change to global configuration mode and specify a DLCI number that is used to connect to the Internet service provider. For example:
router(config-if)# exit router(config)# frame-relay interface dlci 16 ieft
Step 16 Set global NAT commands. In the following 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:
router(config)# ip nat inside source list 1 interface bri0 overload router(config)# access-list 1 permit 192.168.1.0 0.0.0.255
Step 17 Change to user mode and save your configuration.
router# exit router# copy running-config startup-config
The following is an example of screen output for a configuration of IDSL with Frame Relay:
Current configuration: ! ! version 12.0 service timestamps debug uptime service timestamps log uptime ! hostname c802idsl username isp password 0 cisco ! ! ip subnet-zero ! isdn switch-type basic-5ess isdn leased-line BRI0 144 isdn leased-line BRI0.1 144 ! ! interface Ethernet0 ip address 192.168.2.1 255.255.255.0 ip nat inside ! interface BRI0 no ip address encapsulation frame-relay IETF frame-relay lmi-type ansi ! interface BRI0.1 point-to-point ip address 209.188.2.2 255.255.255.0 frame-relay interface-dlci 16 IETF ip nat outside ! ip nat inside source list 1 interface bri0:1 overload access-list 1 permit 192.168.2.0 0.0.0.255 ip classless ip route 0.0.0.0 0.0.0.0 209.188.2.1 ! ! line con 0 exec-timeout 0 0 transport input none stopbits 1 line vty 0 4 ! end
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Wed May 24 16:35:30 PDT 2000
Copyright 1989 - 2000©Cisco Systems Inc.