Monday, May 13, 2013

PRI VOICE configuration with MGCP Protocol




PRI VOICE configuration with MGCP Protocol


PRI interface configuration for a voice circuit with an assumption that the cable is located at slot #0 and port #2



network-clock-participate wic 0

network-clock-select 1 T1 0/2/0     >>>> clock priority

controller T1 0/2/0

 cablelength long 0db

 pri-group timeslots 1-24 service mgcp





interface Serial0/2/0:23

 no ip address

 encapsulation hdlc

 isdn switch-type primary-ni

 isdn incoming-voice voice

 isdn bind-l3 ccm-manager

 no cdp enable



RTR01#sh network

  Network Clock Configuration

  ---------------------------

  Priority      Clock Source    Clock State     Clock Type



     1          T1 0/2/0        GOOD            T1          primary

    10          Backplane       GOOD            PLL          backup



T1 0/2/0 is up.

  Applique type is Channelized T1

  Cablelength is long 0db

  No alarms detected.

  alarm-trigger is not set

  Soaking time: 3, Clearance time: 10

  AIS State:Clear  LOS State:Clear  LOF State:Clear

  Version info FPGA Rev: 08121917, FPGA Type: PRK4

  Framing is ESF, Line Code is B8ZS, Clock Source is Line.



         




Thursday, May 9, 2013

Show Tech File transfer from Nexus 5000



Show tech File transfer from Nexus 5000


The show tech file in Nexus is quite larger than traditional routers or switches. Sometimes the file size is 25-50MB, use of TFTP may not work very well .It is better to use ftp/sftp as the file transfer protocol.
                   Create show tech file in bootflash

                 show tech-support > tech_support_filename

Copy the file to ftp /sftp server

copy bootflash:tech_support_filename ftp:

Enter vrf (If no input, current vrf 'default' is considered): vrf name
Enter hostname for the ftp server:ip address of ftp server
Enter username: username
Password: password
***** Transfer of file Completed Successfully **



Friday, May 3, 2013

Dell Power Connect Switch Configuration



Dell Power Connect Switch configuration

The following commands are useful while configuring the  Dell Power connect switches.

VLAN

Configure
Vlan database
Vlan 3-10
Exit
Hostname   name of the switch
Enable password
enable password da119xxxxxxxxxxxxxxxx encrypted

Create stack

Stack
Member 1 5
Exit

Assign ip address and gateway

ip address x.x.x,x mask
ip default-gateway x.x.x.x
ip address vlan #

SSH authentication
Line ssh
login authentication local
enable authentication local
password daxxxxxxxxxxxxxxxxxx encrypted
exit

Spanning Tree configuration

spanning-tree mode mstp
spanning-tree mst 2 priority  priority higher #
spanning-tree mst configuration
instance 2 add vlan 1
instance 2 add vlan 3
instance 2 add vlan 4
instance 2 add vlan 5
instance 2 add vlan 6


exit
spanning-tree mst 3 priority  priority lower #
spanning-tree mst configuration
instance 3 add vlan 4
exit
spanning-tree mst configuration
name nameofMST
exit

Interface configuration

interface ethernet 1/g1
description  description
spanning-tree portfast
switchport access vlan #
exit

TRUNK Configuration

interface ethernet 1/g48
channel-group 1 mode on
switchport mode trunk
switchport trunk allowed vlan add vlan# range(3-6)
switchport trunk allowed vlan remove 1
exit

Port Channel Configuration

interface port-channel 1
switchport mode trunk
switchport trunk allowed vlan add 3-4(vlan range)
switchport trunk allowed vlan remove 1
exit

Thursday, May 2, 2013

Zoning Configuration of Cisco Nexus 5000 Switches

 SAN-Zoning Configuration using Cisco NEXUS 5k Switch



for example pwwn # is 10:00:00:00:c9:62:82:36

fcid 0x01002e  get the id from show flogi database

fcalis name is sql02_hba2_p0
zonename ql02_hba2_p0_VMAX_4634_10E0
vsan database# 212

vsan 212 wwn 10:00:00:00:c9:62:82:36 fcid 0x01002d dynamic
fcalias name sql02_hba2_p0 vsan 212
    member pwwn 10:00:00:00:c9:62:82:76

zone name sql02_hba2_p0_VMAX_4634_10E0 vsan 212
   
    member fcalias vmbkp02_hba2_p0

zone name sqlp02_hba2_p0_TLB01_TAPE2 vsan 212
   
    member fcalias sqlp02_hba2_p0
zoneset name Zoneset_B_01242012 vsan 212


The procedure is
  • create zone
  • add members to zone
  • create zoneset
  • add multiple zones to a zoneset
  • activate the zone set
  • save the config


conf t

switch(config)# zone name sql02_hba2_p0_VMAX_4634_10E0 vsan 212
sswitch(config-zone)# member pwwn 10:00:00:00:c9:62:82:36
 switch(config-zone)# member fcid 0x01002e

(fcalias can be called accounting for easy undestanding)
switch(config-zone)# member fcalias sql02_hba2_p0

create ZONE set

conf t

switch(config)# zoneset name Zoneset_B_01242012 vsan 212
witch(config-zoneset)# member sql02_hba2_p0_VMAX_4634_10E0

(If the specified zone name was not previously configured,
 this command will return the Zone not present error message)


switch(config-zoneset)# zone name sqlp02_hba2_p0_TLB01_TAPE2 


Activate a Zone set

switch(config)# zoneset activate name zoneset_B_01242012 vsan 212



DISPLAY ZONE CONFIG


show zone vsan 212
show zoneset vsan 212
show zone member pwwn #
show zone active
 show zone status

it is better to have single Zoneset and several zones assigned to it.



Wednesday, May 1, 2013

Cisco IOS Troubleshooting commands



Cisco troubleshooting commands

Hardware
show process cpu sorted- cpu utilization
show debug memory leaks summary
show process cpu history



VOICE

show voip rtp conn
show call active voice
show sccp conn- useful for fax transcoder issues
show voice call summary
show call active voice br
show call active voice
show call active voice summary
show mgcp endpoint
show voice port mod #/slot#/port#
show call-manager-fallback all  test SRST
show dial-peer voice summary


debug mgcp packets
debug isdn q931- check pri

IP flow

show ip flow top-talkers
show ip cache flow

IP ROUTING

show ip bgp summary
show ip bgp neighbor x.x.x.x
show ip mroute- multicast routing table


IPSEC Tunnel

show crypto ipsec sa
show crypto isakmp sa
show crypto isakmp policy
debug crypto ipsec
debug crypto isakmp




Palo Alto firewall handy troubleshooting CLI commands

 > show interface management Show management Interface details > show system info Display system’s management IP, Serial number, and c...