Wednesday, May 15, 2013

Port Mirroring using Nexus



Port mirroring using Nexus


SW08# conf t

WS08(config)# no monitor session all

WS08(config)# interface e1/21   select the port#

WS08(config-if)# switchport monitor

WS08(config-if)# exit

WS08(config)# monitor session 2

WS08(config-monitor)# destination interface e 1/21

WS08(config-monitor)# exit

WS08(config)# monitor session 2

WS08(config-monitor)# source ?

  interface  Configure interfaces

  vlan       Vlan type

  vsan       Vsan type



WS08(config-monitor)# source vlan 90-91  select the source

WS08(config-monitor)# exit

WS08(config)# exit

WS08# sh monitor session 2

WS08(config-monitor)# ?

  description  Session description (max 32 characters)

  destination  Destination configuration

  no           Negate a command or set its defaults

  shut         Shut a monitor session

  source       Source configuration

  end          Go to exec mode

  exit         Exit from command interpreter

  pop          Pop mode from stack or restore from name

  push         Push current mode to stack or save it under name

  where        Shows the cli context you are in



WS08(config-monitor)# no shut

WS08(config-monitor)# exit

WS08(config)# exit

WS08# sh monitor session 2

   session 2

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

type              : local

state             : up

source intf       :

    rx            :

    tx            :

    both          :

source VLANs      :

    rx            : 90-91

source VSANs      :

    rx            :

destination ports : Eth1/21      




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 **



Turn off pop notifications in chrome browser from major news outlets

 On Chrome browser, go to settings select privacy and security select site settings select Java Script Select Don't allow sites to use J...

Turn off pop notifications in chrome browser from major news outlets