Understanding and Configuring A
Understanding and Configuring A
Apologies for the long absence from posting. I find myself without any hours left in a day before I got to everything I wanted to do. And before you know it, more than a month has gone past. In my previous post I presented a quick solution to an Out-of-Band network and I talked about some options. Ive had mails asking how to show some of the configurations. Ill cover those and do other posts I have been promising in the next couple days. This post will focus on the current Cisco 3G WAN card, the HWIC-3G-GSM. This card is supported by Ciscos 1841, 1861, 2800-series and 3800-series ISR routers. This card only supports High-Speed Downlink Packet Access (HSDPA) up to 3.6 Mb/s downlink, 384 kb/s uplink (presumably HSDPA Category 5/6, but not sure)
3G is a broad category of standards and services around broadband mobile wireless voice and data. Universal Mobile Telecommunications System (UMTS) is part of this family. High Speed Packet Access (HSPA) is a collection of mobile telephony protocols that extend and improve the performance of existing UMTS protocols. Two standards, HSDPA and HSUPA have been established and is fairly well known. Three components are required to use a 3G data connection: a SIM, a radio modem, and a router. The SIM identifies the subscriber (that is you the human) for billing and so forth. The radio modem does the hard work in providing physical layer (Layer1) access to the local 3G base station. The router typically uses PPP as the Layer2 data link to the providers Network Access Server (NAS), and from there is connected to the providers Layer3 network (which may be a private VPN, or public Internet). The cellular modem must establish a data call, then once connected a PPP session is established to the providers NAS. The cellular modem still requires age-old AT commands to make that call, and additionally to interrogate the SIM, etc. Cisco IOS provides an interface to a handful of modem features via the cellular exec command and a chat script(s). Note that AT commands can only be issued when the modem is idle (not in a call).
The modem is configured with at least one profile which stores an Access Point Name (APN) and optionally a username and password. This profile is then dialled to establish the connection similar to using a traditional phone number. These modem profiles are stored on the modem and NOT on the routers NVRAM or flash. Note that a modem profile and an IOS dialer profile are two separate things. The HWIC-3G-GSM is just a Sierra Wireless MC8775 modem sold in a HWIC form factor with a Cisco Logo on it. The modem is presented in Cisco IOS as two interfaces:
1 #line x/x/x
Yes that means you can actually do a reverse telnet to the modem, and configure the AT commands natively. Should you do it? NO, unless you know what you doing. There is also a physical diag port (refer to the picture above) on the front of the WIC for low level debugging of the modem. That is just to tease you. You need proprietary software to use that port. Enough boring stuff. The HWIC-3G-GSM card has RSSI (Received Signal Strength Indication) LED in the front, (refer to picture again) to indicate the 3G signal strength. The index is as follow:
Solid Yellow: No service Off Low RSSI (under -100 dBm) Slow Green Blink: Low or medium RSSI (-99 to -90 dBm) Fast Green Blink: Medium RSSI (-89 to -70 dBm) [ideally this should be a minimum] Solid Green: High RSSI (-69 dBm or higher) .
Then issue the previous show command again to get a output similar to this:
. Next the actual configuration which is required. This configuration might vary based on the cellular provider used (chat-script). Secondly how you plan on using it, tunnel types or plain etc. I will show the config I used to connect to Vodacom South-Africa and using a straight forward cellular interface to connect to anthe Vodacom Internet APN. A PPP tunnel or dialer interface could also be used but it all depends on what you want to accomplish. I will explain the configuration I used where needed: Firstly define your providers AT command in a chat-script
1! 2 chat-script gsm "" "ATDT*99#" TIMEOUT 30 CONNECT 3!
29 ! 30 ip nat inside source list 2 interface Cellular0/0/0 overload 31 ip route 0.0.0.0 0.0.0.0 Cellular0/0/0 32 ! 33 access-list 2 permit any
(You might ask why I configured the username and passwords I did above? That is still required, even if it is just used locally.)
(But what if you must authenticate to the cellular provider? Then all that is needed extra is to define the APN username and password in the modem profile below.) . Lastly the APN must be specified in the modem profile (Here I connected to the Vodacom APN internet without any authentication as Vodacom does not require any.
1 VODACOM#cellular 0/0/0 GSM profile create 1 internet 2 Profile 1 will be created with the following values: 3 4 5 APN = unrestricted Are you sure? [confirm] Profile 1 written to modem
. Since we using a DDR config, the Cellular interface will only be brought up if there is interesting traffic, either real traffic or traffic created by IP SLA or from the command line.
1 VODACOM#ping 168.210.2.2 2 3 Type escape sequence to abort. 4 Sending 5, 100-byte ICMP Echos to 168.210.2.2, timeout is 2 seconds: 5 6 7 8 *Mar 3 10:37:58.499: %LINK-3-UPDOWN: Interface Cellular0/0/0, changed state to up ...!! Success rate is 40 percent (2/5), round-trip min/avg/max = 92/106/120 ms
Share this:
Share
Like this:
Like Be the first to like this post.