이 문서에서는 NM-xAM 아날로그 모뎀 네트워크 모듈과 모뎀을 사용하는 전화 접속 구성의 예를 제공합니다. 이 시나리오에서는 NM-8AM 모뎀 모듈이 있는 라우터가 기업 네트워크에 전화 접속을 위한 원격 액세스 서버 역할을 합니다.
참고: 이 문서에서는 NM-8AM 또는 NM-16AM을 다이얼아웃에 사용하는 것에 대해 다루지 않습니다. 예를 들어, NM-8AM 또는 NM-16AM Analog Modem Module을 사용하여 전화 접속 구성 문서를 참조하십시오.
이 문서에서는 모뎀 구성과 관련된 다양한 문제를 잘 알고 있다고 가정합니다. 이러한 문제에 대한 자세한 내용은 모뎀 라우터 연결 가이드를 참조하십시오.
NM-AM 모듈은 개별 아날로그 POTS(Plain Old Telephone Service) 회선을 포트에 연결해야 합니다. NM-AM 포트에 연결하기 전에 전화기를 회선에 연결하고 수신 및 발신 통화에 대해 테스트하여 POTS 회선이 제대로 작동하는지 확인하십시오.
개별 포트에는 개별 전화 번호(이 예에서는 8개의 다른 전화 번호를 사용)가 있을 수 있으며, 헌트 그룹에 전화 번호 1개를 사용하여 8개 모두를 포함할 수 있습니다(전화 공급자는 이 작업을 수행해야 함). 첫 번째 옵션을 사용하면 이전 통화가 해당 번호에 계속 연결되어 있으면 사용자가 통화 중 신호를 받습니다. 두 번째 옵션을 사용하면 통화가 사용 가능한 다음 포트로 자동으로 롤오버됩니다.
NM-AM 모듈과 함께 Cisco 2600 및 3600 라우터에 제대로 접지된 전원을 반드시 사용해야 합니다. 그렇지 않으면 NM-AM 모뎀 호출에는 연결 상태가 나쁘거나 실패한 것으로 나타나는 윙윙거리는 소리가 있습니다. 자세한 내용은 Cisco 2600 Series 및 Cisco 3600 Series 라우터에 접지 러그 설치 문서를 참조하십시오.
NM-AM에 최신 펌웨어 버전을 사용하는 것이 좋습니다. show modem version 명령을 사용하여 이 명령을 확인합니다.
이 문서의 정보는 다음 소프트웨어 및 하드웨어 버전을 기반으로 합니다.
Cisco IOS® Software Release 12.2(8)T를 실행하는 NM-8AM 카드가 장착된 Cisco 3640 라우터.
모뎀 펌웨어 버전 1.2.8.
참고: Modem Firmware Version 1.2.8은 Cisco IOS에 번들로 제공됩니다.
Cisco IOS Software 릴리스 12.1(5)T 및 12.2. 이 릴리스는 번들로 제공되지 않습니다.
Microsoft Windows 2000 OS가 설치된 PC입니다.
문서 규칙에 대한 자세한 내용은 Cisco 기술 팁 표기 규칙을 참조하십시오.
이 섹션에는 이 문서에서 설명하는 기능을 구성하기 위한 정보가 표시됩니다.
참고: 이 문서에 사용된 명령에 대한 추가 정보를 찾으려면 명령 조회 도구(등록된 고객만 해당)를 사용합니다.
이 문서에서는 다음 네트워크 설정을 사용합니다.
이 문서에서는 다음 구성을 사용합니다.
원격 액세스 서버(Cisco 3640 라우터) |
---|
Current configuration : 1251 bytes ! version 12.2 service timestamps debug datetime msec service timestamps log uptime no service password-encryption ! hostname cisco3640 ! boot system flash:c3640-i-mz.122-8.T enable secret 5 <deleted> ! username abc password 0 abc ! -- Usernames for local authentication of the call. ! -- The client presents the username/password and the NAS ! -- authenticates the peer. ip subnet-zero ! no ip domain-lookup ip domain-name cisco.com ! async-bootp dns-server 5.5.5.1 5.5.5.2 ! -- Specifies (for async clients) the IP address of domain name server. ! ! interface Loopback0 ip address 1.1.1.1 255.255.255.0 ! interface Ethernet2/0 ip address 20.20.20.1 255.255.255.0 half-duplex ! ! <<--Unused interface configuration omitted. ! interface Group-Async1 ! -- This group-async interface is the configuration template for all modems. ! -- Individual async interface do not have to be configured since they ! -- can be cloned from one managed copy. ip unnumbered Loopback0 encapsulation ppp dialer in-band dialer idle-timeout 600 ! -- Sets Idle timer to 600 seconds (10 minutes). dialer-group 1 !--- Apply interesting traffic definition from dialer-list 1. ! -- Note: The specified dialer-group number must be the same as ! -- the dialer-list number; in this example, defined to be "1". ! -- Interesting traffic specifies the packets that should reset the idle timer. async mode interactive ! -- If the async interface is to answer different connection types ! -- (exec,ppp,slip), use this command in conjunction with autoselect ppp ! -- under the line configuration to auto detect the connection type. ! -- To prevent users from establishing an "EXEC session" to the router. ! -- use the command async modem dedicated instead. peer default ip address pool DIALIN ! -- Clients are assigned addresses from the ip address pool named "DIALIN". ppp authentication chap group-range 1 8 ! -- Modems/lines 1 to 8 are members of this group async interface. ! -- If you want, for example, only 4 modems for incoming and the rest ! -- for outgoing then configure the group range for any set of ! -- four consecutive modems in the module. ! -- Note: this range must be included within the line configuration below. ! ip local pool DIALIN 10.1.1.1 10.1.1.10 ! -- IP address pool for dialin clients. ip classless ip route 0.0.0.0 0.0.0.0 20.20.20.100 ip http server ip pim bidir-enable ! ! dialer-list 1 protocol ip permit ! -- Specifies all IP traffic as interesting. Interesting traffic ! -- specifies the packets that should reset the idle timer. ! -- This is applied to interface Group-Async 1 using dialer-group 1. ! -- Note: The specified dialer-list number must be the same as the ! -- dialer-group number; in this example, defined to be "1". ! line con 0 password abc line 1 8 ! -- TTY lines for the NM-8AM Modems. ! -- Note the line number range matched the group-range ! -- under the group-async config. modem InOut ! -- Support incoming and outgoing modem calls. transport input all autoselect ppp ! -- Launch PPP if PPP packets are detected. This is used in conjunction ! -- with async mode interactive under the group-async configuration. flowcontrol hardware line aux 0 line vty 0 4 login ! ! end |
참고: 이 3600 라우터 섀시에서 NM-8AM 카드는 슬롯 0에 설치됩니다. Cisco 3600 Series 라우터에서 How Async Lines are Numbered in Cisco 3600 Series Routers를 참조하여 슬롯 1에 라인 1~32가 예약되어 있는지 확인할 수 있습니다. 구성해야 하는 특정 비동기 인터페이스를 확인하려면 show line 명령을 사용하여 사용 가능한 행을 확인합니다. 이 컨피그레이션에서는 해당 범위 내에서 행 1~8(8개 행)만 사용할 수 있습니다. 카드의 첫 번째 모뎀을 구성하려면 마지막 모뎀이 회선 8 / 인터페이스 비동기 8인 동안 회선 1(및 인터페이스 비동기 1)을 구성합니다.
이 섹션에서는 컨피그레이션이 제대로 작동하는지 확인하는 데 사용할 수 있는 정보를 제공합니다.
일부 show 명령은 출력 인터프리터 툴 에서 지원되는데(등록된 고객만), 이 툴을 사용하면 show 명령 출력의 분석 결과를 볼 수 있습니다.
show diag - 라우터에 대한 하드웨어 정보를 표시하려면 특권 EXEC 모드에서 show diag 명령을 사용합니다. 특히 라인 번호 또는 인터페이스 번호가 NM 또는 WIC가 삽입되는 슬롯에 종속되는 모듈형 라우터에서 유용합니다.
show modem version—이 명령은 모뎀 펌웨어 업그레이드 전후에 시스템에서 실행 중인 모뎀 펌웨어 버전을 확인하는 데 유용합니다.
이 섹션에서는 컨피그레이션 문제를 해결하는 데 사용할 수 있는 정보를 제공합니다.
일부 show 명령은 출력 인터프리터 툴 에서 지원되는데(등록된 고객만), 이 툴을 사용하면 show 명령 출력의 분석 결과를 볼 수 있습니다.
참고: debug 명령을 실행하기 전에 디버그 명령에 대한 중요 정보를 참조하십시오.
debug modem - 라우터에 모뎀 회선 활동, 모뎀 제어 및 프로세스 활성화 메시지를 표시합니다.
debug ppp negotiation - LCP(Link Control Protocol), 인증 및 NCP(Network Control Protocol)를 비롯한 PPP 구성 요소를 협상하는 동안 PPP 트래픽 및 교환에 대한 정보를 표시합니다. 성공적인 PPP 협상이 먼저 LCP 상태를 연 다음 인증한 다음 NCP를 협상합니다.
cisco3640#show debug General OS: Modem control/process activation debugging is on PPP: PPP protocol negotiation debugging is on cisco3640# *Mar 1 00:14:05.479: CSM_ANALOG_MODEM_IDLE: MODEM_STARTING_CONNECT at slot 0, port 0 ! -- Incoming call *Mar 1 00:14:05.479: Modem 0/0 Mcom: in modem state 'Dialing/Answering' ! -- Modem answers the call *Mar 1 00:14:06.131: ANALOG_CONNECT_INITIATED: MODEM_ANALOG_CALL_IN at slot 0, port 0 *Mar 1 00:14:06.131: Modem 0/0 Mcom: in modem state 'Incoming ring' *Mar 1 00:14:08.403: Modem 0/0 Mcom: in modem state 'Waiting for Carrier' *Mar 1 00:14:19.807: Modem 0/0 Mcom: in modem state 'Connected' ! -- Modem trainup complete. Note the 10+ seconds the modems took to trainup *Mar 1 00:14:20.363: ANALOG_CONNECT_INITIATED: MODEM_CONNECTED at slot 0, port 0 *Mar 1 00:14:20.363: Call Handle failed for Modem 0/0 *Mar 1 00:14:20.363: Modem 0/0 Mcom: CONNECT at 26400/26400(Tx/Rx), V34, LAPM, V42bis, Answer ! -- Modem speeds, modulation, framing protocol,compression for this ! -- connection are displayed *Mar 1 00:14:21.187: TTY1: DSR came up *Mar 1 00:14:21.187: tty1: Modem: IDLE->(unknown) *Mar 1 00:14:21.187: TTY1: Autoselect started *Mar 1 00:14:21.187: TTY1: create timer type 0, 120 seconds *Mar 1 00:14:22.559: TTY1: Autoselect sample 7E *Mar 1 00:14:22.559: TTY1: Autoselect sample 7EFF *Mar 1 00:14:22.559: TTY1: Autoselect sample 7EFF7D *Mar 1 00:14:22.559: TTY1: Autoselect sample 7EFF7D23 ! -- The router has received a PPP packet. It will now start PPP *Mar 1 00:14:22.559: TTY1 Autoselect cmd: ppp negotiate ! -- The router kicks off ppp since the command autoselect ppp is ! -- in the line configuration *Mar 1 00:14:22.559: TTY1: destroy timer type 0 *Mar 1 00:14:22.563: TTY1: EXEC creation *Mar 1 00:14:22.563: TTY1: create timer type 1, 600 seconds *Mar 1 00:14:22.563: TTY1: destroy timer type 1 *Mar 1 00:14:22.563: TTY1: no timer type 0 to destroy *Mar 1 00:14:22.567: As1 IPCP: Install route to 10.1.1.2 *Mar 1 00:14:22.567: As1 IPCP: Add link info for cef entry 10.1.1.2 00:14:24: %LINK-3-UPDOWN: Interface Async1, changed state to up *Mar 1 00:14:24.563: As1 PPP: Treating connection as a callin *Mar 1 00:14:24.563: As1 PPP: Phase is ESTABLISHING, Passive Open *Mar 1 00:14:24.563: As1 LCP: State is Listen ! -- PPP LCP negotiation begins *Mar 1 00:14:25.559: As1 LCP: I CONFREQ [Listen] id 2 len 50 *Mar 1 00:14:25.559: As1 LCP: ACCM 0x00000000 (0x020600000000) *Mar 1 00:14:25.559: As1 LCP: MagicNumber 0x7E346973 (0x05067E346973) *Mar 1 00:14:25.559: As1 LCP: PFC (0x0702) *Mar 1 00:14:25.559: As1 LCP: ACFC (0x0802) *Mar 1 00:14:25.559: As1 LCP: Callback 6 (0x0D0306) *Mar 1 00:14:25.559: As1 LCP: MRRU 1614 (0x1104064E) *Mar 1 00:14:25.559: As1 LCP: EndpointDisc 1 Local *Mar 1 00:14:25.559: As1 LCP: (0x1317012531B2C62B044C08A4E6C70075) *Mar 1 00:14:25.563: As1 LCP: (0x69040F00000000) *Mar 1 00:14:25.563: Modem 0/0 Mcom: switching to PPP mode *Mar 1 00:14:25.563: Modem 0/0 Mcom: PPP escape map: Tx map = FFFFFFFF, Rx map = 0 *Mar 1 00:14:25.563: As1 LCP: O CONFREQ [Listen] id 3 len 25 *Mar 1 00:14:25.563: As1 LCP: ACCM 0x000A0000 (0x0206000A0000) *Mar 1 00:14:25.563: As1 LCP: AuthProto CHAP (0x0305C22305) *Mar 1 00:14:25.563: As1 LCP: MagicNumber 0x014F4F18 (0x0506014F4F18) *Mar 1 00:14:25.563: As1 LCP: PFC (0x0702) *Mar 1 00:14:25.563: As1 LCP: ACFC (0x0802) *Mar 1 00:14:25.563: As1 LCP: O CONFREJ [Listen] id 2 len 11 *Mar 1 00:14:25.563: As1 LCP: Callback 6 (0x0D0306) *Mar 1 00:14:25.563: As1 LCP: MRRU 1614 (0x1104064E) *Mar 1 00:14:25.731: As1 LCP: I CONFACK [REQsent] id 3 len 25 *Mar 1 00:14:25.731: As1 LCP: ACCM 0x000A0000 (0x0206000A0000) *Mar 1 00:14:25.731: As1 LCP: AuthProto CHAP (0x0305C22305) *Mar 1 00:14:25.731: As1 LCP: MagicNumber 0x014F4F18 (0x0506014F4F18) *Mar 1 00:14:25.731: As1 LCP: PFC (0x0702) *Mar 1 00:14:25.731: As1 LCP: ACFC (0x0802) *Mar 1 00:14:27.551: As1 LCP: TIMEout: State ACKrcvd *Mar 1 00:14:27.551: As1 LCP: O CONFREQ [ACKrcvd] id 4 len 25 *Mar 1 00:14:27.551: As1 LCP: ACCM 0x000A0000 (0x0206000A0000) *Mar 1 00:14:27.551: As1 LCP: AuthProto CHAP (0x0305C22305) *Mar 1 00:14:27.551: As1 LCP: MagicNumber 0x014F4F18 (0x0506014F4F18) *Mar 1 00:14:27.551: As1 LCP: PFC (0x0702) *Mar 1 00:14:27.551: As1 LCP: ACFC (0x0802) *Mar 1 00:14:27.683: As1 LCP: I CONFREQ [REQsent] id 3 len 43 *Mar 1 00:14:27.683: As1 LCP: ACCM 0x00000000 (0x020600000000) *Mar 1 00:14:27.683: As1 LCP: MagicNumber 0x7E346973 (0x05067E346973) *Mar 1 00:14:27.687: As1 LCP: PFC (0x0702) *Mar 1 00:14:27.687: As1 LCP: ACFC (0x0802) *Mar 1 00:14:27.687: As1 LCP: EndpointDisc 1 Local *Mar 1 00:14:27.687: As1 LCP: (0x1317012531B2C62B044C08A4E6C70075) *Mar 1 00:14:27.687: As1 LCP: (0x69040F00000000) *Mar 1 00:14:27.687: As1 LCP: O CONFACK [REQsent] id 3 len 43 *Mar 1 00:14:27.687: As1 LCP: ACCM 0x00000000 (0x020600000000) *Mar 1 00:14:27.687: As1 LCP: MagicNumber 0x7E346973 (0x05067E346973) *Mar 1 00:14:27.687: As1 LCP: PFC (0x0702) *Mar 1 00:14:27.687: As1 LCP: ACFC (0x0802) *Mar 1 00:14:27.687: As1 LCP: EndpointDisc 1 Local *Mar 1 00:14:27.687: As1 LCP: (0x1317012531B2C62B044C08A4E6C70075) *Mar 1 00:14:27.687: As1 LCP: (0x69040F00000000) *Mar 1 00:14:27.691: As1 LCP: I CONFACK [ACKsent] id 4 len 25 *Mar 1 00:14:27.691: As1 LCP: ACCM 0x000A0000 (0x0206000A0000) *Mar 1 00:14:27.691: As1 LCP: AuthProto CHAP (0x0305C22305) *Mar 1 00:14:27.691: As1 LCP: MagicNumber 0x014F4F18 (0x0506014F4F18) *Mar 1 00:14:27.691: As1 LCP: PFC (0x0702) *Mar 1 00:14:27.691: As1 LCP: ACFC (0x0802) *Mar 1 00:14:27.691: As1 LCP: State is Open ! -- LCP negotiation begins *Mar 1 00:14:27.691: Modem 0/0 Mcom: PPP escape map: Tx map = 0, Rx map = 0 *Mar 1 00:14:27.691: As1 PPP: Phase is AUTHENTICATING, by this end *Mar 1 00:14:27.691: As1 CHAP: O CHALLENGE id 2 len 30 from "cisco3640" *Mar 1 00:14:27.851: As1 LCP: I IDENTIFY [Open] id 4 len 18 magic 0x7E346973 MSRASV5.00 *Mar 1 00:14:27.863: As1 LCP: I IDENTIFY [Open] id 5 len 28 magic 0x7E346973 MSRAS-W2K *Mar 1 00:14:27.879: As1 CHAP: I RESPONSE id 2 len 24 from "mak" *Mar 1 00:14:27.883: As1 CHAP: O SUCCESS id 2 len 4 ! -- CHAP is successful *Mar 1 00:14:27.883: As1 PPP: Phase is UP *Mar 1 00:14:27.883: As1 IPCP: O CONFREQ [Closed] id 2 len 10 *Mar 1 00:14:27.883: As1 IPCP: Address 1.1.1.1 (0x030601010101) *Mar 1 00:14:28.019: As1 CCP: I CONFREQ [Not negotiated] id 6 len 10 *Mar 1 00:14:28.019: As1 CCP: MS-PPC supported bits 0x00000001 (0x120600000001) *Mar 1 00:14:28.019: As1 LCP: O PROTREJ [Open] id 5 len 16 protocol CCP (0x80FD0106000A120600000001) *Mar 1 00:14:28.035: As1 IPCP: I CONFREQ [REQsent] id 7 len 40 *Mar 1 00:14:28.035: As1 IPCP: CompressType VJ 15 slots CompressSlotID (0x0206002D0F01) *Mar 1 00:14:28.035: As1 IPCP: Address 0.0.0.0 (0x030600000000) *Mar 1 00:14:28.035: As1 IPCP: PrimaryDNS 0.0.0.0 (0x810600000000) *Mar 1 00:14:28.035: As1 IPCP: PrimaryWINS 0.0.0.0 (0x820600000000) *Mar 1 00:14:28.035: As1 IPCP: SecondaryDNS 0.0.0.0 (0x830600000000) *Mar 1 00:14:28.035: As1 IPCP: SecondaryWINS 0.0.0.0 (0x840600000000) *Mar 1 00:14:28.035: As1 IPCP: O CONFREJ [REQsent] id 7 len 22 *Mar 1 00:14:28.035: As1 IPCP: CompressType VJ 15 slots CompressSlotID (0x0206002D0F01) *Mar 1 00:14:28.035: As1 IPCP: PrimaryWINS 0.0.0.0 (0x820600000000) *Mar 1 00:14:28.039: As1 IPCP: SecondaryWINS 0.0.0.0 (0x840600000000) *Mar 1 00:14:28.039: As1 IPCP: I CONFACK [REQsent] id 2 len 10 *Mar 1 00:14:28.043: As1 IPCP: Address 1.1.1.1 (0x030601010101) *Mar 1 00:14:28.175: As1 IPCP: I CONFREQ [ACKrcvd] id 8 len 22 *Mar 1 00:14:28.175: As1 IPCP: Address 0.0.0.0 (0x030600000000) *Mar 1 00:14:28.175: As1 IPCP: PrimaryDNS 0.0.0.0 (0x810600000000) *Mar 1 00:14:28.175: As1 IPCP: SecondaryDNS 0.0.0.0 (0x830600000000) *Mar 1 00:14:28.175: As1 IPCP: O CONFNAK [ACKrcvd] id 8 len 22 *Mar 1 00:14:28.175: As1 IPCP: Address 10.1.1.2 (0x03060A010102) *Mar 1 00:14:28.175: As1 IPCP: PrimaryDNS 5.5.5.1 (0x810605050501) *Mar 1 00:14:28.175: As1 IPCP: SecondaryDNS 5.5.5.2 (0x830605050502) *Mar 1 00:14:28.311: As1 IPCP: I CONFREQ [ACKrcvd] id 9 len 22 *Mar 1 00:14:28.311: As1 IPCP: Address 10.1.1.2 (0x03060A010102) *Mar 1 00:14:28.311: As1 IPCP: PrimaryDNS 5.5.5.1 (0x810605050501) *Mar 1 00:14:28.311: As1 IPCP: SecondaryDNS 5.5.5.2 (0x830605050502) *Mar 1 00:14:28.311: As1 IPCP: O CONFACK [ACKrcvd] id 9 len 22 *Mar 1 00:14:28.311: As1 IPCP: Address 10.1.1.2 (0x03060A010102) *Mar 1 00:14:28.311: As1 IPCP: PrimaryDNS 5.5.5.1 (0x810605050501) *Mar 1 00:14:28.311: As1 IPCP: SecondaryDNS 5.5.5.2 (0x830605050502) *Mar 1 00:14:28.311: As1 IPCP: State is Open ! -- IPCP negotiation is complete *Mar 1 00:14:28.311: As1 IPCP: Add link info for cef entry 10.1.1.2 00:14:28: %LINEPROTO-5-UPDOWN: Line protocol on Interface Async1, changed state to up
개정 | 게시 날짜 | 의견 |
---|---|---|
1.0 |
04-Feb-2010 |
최초 릴리스 |