Ads 468x60px

Wednesday, June 15, 2011

WCDMA Installation


Hi In this section, I want to focus on 3G - WCDMA deployments. In  these days I tested many WCDMA connectivity options using mobile sim cards. I want to share some important things which will be helpful for any engineer for WCDMA installations. 

Important things to remember in WCDMA configuration –

In WCDMA we need to configure proper APN name for connectivity.
You can check apn from – show cellular 0 all

I would like to explain you full process of testing -

Check the router and other components received with router for WCDMA testing.I will give example for Maipu 1800-22-AC router. I used that one for testing.You will get external module – RM2 – 3G- GSM. In which you can insert simcard.Then insert that module in 3/0 slot of Router.  Power on router , you can see the after booting …

It will show you like below -

 Cellular 3/0 is loading,please wait...
 %LINEPROTO-5-UPDOWN: Line protocol on Interface cellular3/0, changed state to up
 Cellular 3/0 Load OK
 %LINK-5-UPDOWN: Interface cellular3/0, changed state to up

Then you can see one cellular interface in router…
Then you can do below configuration to connect internet –

First configure APN name –
You need to configure this command in privilege mode

Router#cellular 3/0 wcdma apnconfig xxxxxx (eg.- airtelgprs)

Then do below configuration -

Router#
Router#conf t
Router(config)# ip access-list standard 1
permit any
exit
Router(config)# dialer-list 1 protocol ip permit
Router(config)# chat-script g3dia ATDT
Router(config)# int celluar 3/0
interface cellular3/0
 encapsulation ppp
 ppp chap password ^QVW
 ## you can configure any password like 123,no need to wait for any password from ISP###
 ppp ipcp dns request
 ip address negotiated
 bandwidth 384
 dialer in-band
 dialer idle-timeout 0
 dialer-group 1
 dialer string *99#
 script dialer g3dia
ui-control inaccessible telnet http
 exit

Router(config)# ip route 0.0.0.0 0.0.0.0 cell 3/0


Then for testing, you can ping 4.2.2.2 , it is global dns IP. Easy to remember 

As you will get ping response. Check cellular interface it will get some ip address from ISP. Since this is a dialup connection. As you will send request to LAC , it will forward to LNS and LNS will authenticate you using APN name. So apn name is important.

In this testing troubleshooting is very important part – As it is dialup connection, Need to know where exactly is problem. I think many of you remember ISDN installations. Many times we need to do debug to find exact issue.

Here also its same. But in this case it will be easy. Since we all know PPP well. Before doing ping again, you have to do shutdown and no shutdown under cellular interface.
Then under privilege mode

Router# debug ppp negotiation
Router# debug ppp packets cellular
### Make sure that your terminal monitor is enable or you are using console. ###

Then ping again 
Router# ping 4.2.2.2 

You can see some logs.

Check the process which is the wrong
PPP negotiation process is easy for you.
LCP-- authentication-- IPCP
Be careful about magic number , compare the sent and received magic numbers, It should be same and authentication is right or wrong.Then the very important is at least should be got local IP address with 32 bit network mask.
              And most of all ISP for the WCDMA not require the username and password . but why we need configure it ? Because they need the authentication process. So any password is ok like 123. To check the sim card is which type of the 3G technology, only confirm with ISP. Or check the brand on the USB .

For more detailed information about simcard  signal strength – you can check

Show cellular 0 all
In that you can check RSSI under radio information. The range of signal is from -11 dbm to -135 dbm.(-11 is best and -135 is worst).

Now I hope you are very clear with this WCDMA process. 

I done above configuration, Here are result outputs-

Before Pinging

router#sh ip int brief
Interface                   IP-Address      Status                Protocol Description
fastethernet0               unassigned      down                  down   
fastethernet1               unassigned      down                  down   
vlan1                       192.168.1.1       down                  down   
cellular3/0                 unassigned          up                      up     
null0                         unassigned          up                      up     

Pinging

router#ping 4.2.2.2

Press key (ctrl + shift + 6) interrupt it.
Sending 5, 76-byte ICMP Echos to 4.2.2.2 , timeout is 2 seconds:
!!!!!
Success rate is 100% (5/5). Round-trip min/avg/max = 283/303/366 ms.
router#

show cellular 0 all Output

router#sh cellular 3/0 all

Hardware Information
====================
Modem device name = EM770W
Modem manufacturer = huawei
Modem Firmware Version = 531.11.00.14.113
Hardware Version = MD32TCPU
International Mobile Subscriber Identity (IMSI) = 405801170048287
International Mobile Equipment Identity (IMEI) = 357030021728958
Modem Status = online(full functionality)

Profile Information
====================
Profile 1 = ACTIVE
--------
PDP Type = IP, Header Compression = OFF Data Compression = OFF
PDP address = 0.0.0.0
Access Point Name (APN) = xxxxxxgprs
Network Information
====================
Current Service Status = Normal, Service Error = None
Current Service = Combined
Packet Service = WCDMA(Attached)
Packet Session Status = active
Current Roaming Status = Home
Network Selection Mode = Manual
Location Area Code (LAC) = 196676
Cell ID = 65690823
Registered PLMN = , Abbreviated = , numeric  = 405801
Radio Information
====================
Current RSSI = -93dBm
Security Information
===================
Card Holder Verification (PIN) Disabled
SIM Status = OK
SIM Protection = Disabled
SIM User Operation Required = None
Number of Retries remaining = 3
router#

Extended ping 

router#ping
Protocol [ip]:
Target IP address or hostname: 4.2.2.2
Repeat count [5]: 500
Datagram size [76]:
Timeout in seconds [2]:
Extended commands [no]:
Sweep range of sizes [no]:

Press key (ctrl + shift + 6) interrupt it.
Sending 500, 76-byte ICMP Echos to 4.2.2.2 , timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!
Success rate is 100% (500/500). Round-trip min/avg/max = 249/286/1883 ms.

After pinging –  you can see now we got IP from ISP by ppp negotiation process.

router#sh ip int brief
Interface                   IP-Address      Status                Protocol Description
fastethernet0               unassigned      down                  down   
fastethernet1               unassigned      down                  down   
vlan1                         192.168.1.1     down                  down   
cellular3/0                 59.137.26.203   up                    up     
null0                            unassigned      up                    up     
router#

For internet sharing, we can configure NAT and share internet to local users. This I already explained in previous 3G post – http://startnetworks.blogspot.com/2011/04/maipu-1800-case-study-for.html

In previous  3G posts I shared CDMA2000 configuration details, But not much focused on WCDMA. This time I tried my best to explain you about WCDMA.
  
Hope this post will be helpful for you.

For any feedback and queries, Plz comment with your name and Mail Id. You can use Name/URL option for same.

Tuesday, June 7, 2011

QinQ - Maipu Configurations


In last post, As we discussed about QinQ. Let’see in action, The same thing.Here we will see selective QinQ. Since this most used QinQ style.

For Basic no need to give any Vlan mapping. It will work by default with port pvid.Just you need to enable vlan dot1q tunnel under port. Then it will tag incoming vlan with port vlan and while going out of network. It will remove the Service provider vlan tag. 

Here we can see selective QinQ....

PE1 and PE2 are the operator’s network devices; Customer A, Customer B and Customer C are the user network devices.

Networking requirement: VLAN 10 packets of Customer A and VLAN 10 packets of Customer C are inter-communicated via VLAN 100 of the operator network. VLAN 20 packets of Customer B and VLAN 20 packets of Customer C are inter-communicated via VLAN 200 of the operator network.

Topology                          


PE1 configuration:

Command
Description
PE1(config-port-0/1)#port mode hybrid
Set the port as Hybrid port
PE1(config-port-0/1)#port hybrid untagged vlan 100
Add the port to VLAN 100
PE1(config-port-0/1)#vlan dot1q-tunnel enable
Enable the basic vlan dot1q-tunnel function on the port
PE1(config-port-0/1)#vlan dot1q-tunnel 10 100
The port configures flexible items and encapsulates outer Tag 100 for received VLAN 10 packets.
PE1(config-port-0/1)#vlan dot1q-tunnel drop
The port configuration only supports flexible items.
PE1(config-port-0/2)#port mode hybrid
Set the port as Hybrid port
PE1(config-port-0/2)#port hybrid untagged vlan 200
Add the port to VLAN 200
PE1(config-port-0/2)#vlan dot1q-tunnel enable
Enable the basic vlan dot1q-tunnel function on the port
PE1(config-port-0/2)#vlan dot1q-tunnel 20 200
The port configures flexible items and encapsulates outer Tag 200 for received VLAN 20 packets.
PE1(config-port-0/2)#vlan dot1q-tunnel drop
The port configuration only supports flexible items.
PE1(config-port-0/3)#port mode trunk
Set the port as Trunk port
PE1(config-port-0/3)#port trunk allowed vlan 100
Set port 0/3 to allow VLAN 100 to pass
PE1(config-port-0/3)#port trunk allowed vlan 200
Set port 0/3 to allow VLAN 200 to pass

PE2 configuration:

Command
Description
PE2(config-port-0/2)#port mode hybrid
Set the port as Hybrid port
PE2(config-port-0/2)#port hybrid untagged vlan 100
Add the port to VLAN 100
PE2(config-port-0/2)#port hybrid untagged vlan 200
Add the port to VLAN 200
PE2(config-port-0/2)#vlan dot1q-tunnel enable
Enable basic vlan dot1q-tunnel function on the port
PE2(config-port-0/2)#vlan dot1q-tunnel 10 100
The port configures flexible items and encapsulates outer Tag 100 for received VLAN 10 packets.
PE2(config-port-0/2)#vlan dot1q-tunnel 20 200
The port configures flexible items and encapsulates outer Tag 200 for received VLAN 20 packets.
PE2(config-port-0/2)#vlan dot1q-tunnel drop
The port configuration only supports flexible items.
PE2(config-port-0/3)#port mode trunk
Set the port as Trunk port
PE2(config-port-0/3)#port trunk allowed vlan 100
Set port 0/3 to allow VLAN 100 to pass
PE2(config-port-0/3)#port trunk allowed vlan 200
Set port 0/3 to allow VLAN 200 to pass
Note -
The user must ensure that the network devices between PE1 and PE2 can permit vlan dot1q tunnel packets to pass via configuration.

Monitoring Commands

Command
Description
show vlan dot1q-tunnel
View the information about the flexible vlan dot1q-tunnel items
show vlan dot1q-tunnel mapping
View the information about the flexible vlan dot1q-tunnel mapping items
show frame-tag tpid
View all port TPID information

Monitoring Command Output - show outputs are for reference , not actual*

switch#show vlan dot1q-tunnel

Displayed result:
switch#show vlan dot1q-tunnel
-------------------- ------------VLAN DOT1Q-TUNNEL-----------------------
Port                     Inner VlanId             Outer VlanId            
-------------------- --------------------- ----------------------------------------------
port 0/1                 totals:2
                                  10                              100                     
                                  15                              150                     
port 0/2                 totals:1
                                  20                              200                     

Description and analysis:

Port: port name
Inner VlanId: The VLAN ID of the Tag packets received by the port, that is, the inner VLAN ID of the packets after encapsulation.
Outer VlanId: The outer VLAN ID encapsulated by the port, that is, the outer VLAN ID of the packets after encapsulation

The displayed result shows the flexible vlan dot1q-tunnel items configured on the port and the details.

switch#show vlan dot1q-tunnel mapping

Displayed result:
-------------------- -------VLAN DOT1Q-TUNNEL MAPPING--------------------
Port                     Former VlanId            Mapping VlanId           
-------------------- --------------------- ----------------------------------------------------
port 0/4                 totals:1
                                  40                                400                     
port 0/5                 totals:2
                                  40                                400                     
                                 50                                 500                     
port 0/6                totals:1
                                 40                                400 

Description and analysis:

Port: port name
Former VlanId: The VLAN ID of the Tag packets received by the port, that is, the VLAN ID of the Tag in the packet before replacing
Outer VlanId: The VLAN ID used by the port for replacing as per the flexible items, that is, the VLAN ID used to replace Tag

The displayed result shows the flexible vlan dot1q-tunnel mapping items configured on the port and the details.

Hope this configuration will help you for better understanding of QinQ functions.

For any queries and feedback, Plz put comment with your Name and Mail id..


Related Posts Plugin for WordPress, Blogger...