Friday, July 23, 2010

WM3000 Series Controller Useful Commands

Enable Global Configuration:

enable
configure terminal

Change Default Password:

username admin password <password>

Define a Country Code (Mandatory):

country-code <code>

Configure a Management IP Interface:

interface vlan <vlan-id>
ip address <address>/<mask length>
management
exit

Change IP Address on Ethernet Management Interface:

enable
configure terminal
interface me1
ip address <address>/<mask length>
ip route 0.0.0.0 0.0.0.0 <next-hop-router>

exit

Configure a Default Gateway & Static Routes:

ip route 0.0.0.0 0.0.0.0 <next-hop-router>
ip route <network> <mask> <next-hop-router>

Wednesday, July 21, 2010

vlab cisco 2511 comm server

! --------------------
! Connections
! --------------------

1-1.2001 : 
1-2.2002 : 
1-3.2003 : 
1-4.2004 : 
1-5.2005 : 
1-6.2006 : 
1-7.2007 : 
1-8.2008 : 
2-1.2009 : 
2-2.2010 : 
2-3.2011 : 
2-4.2012 : 
2-5.2013 :
2-6.2014 :
2-7.2015 : 
2-8.2016 :

# -----------------
# show version
# -----------------

show version
Cisco Internetwork Operating System Software
IOS (tm) 2500 Software (C2500-JS-L), Version 12.2(28), RELEASE SOFTWARE (fc5)
Technical Support:
http://www.cisco.com/techsupport
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Thu 24-Feb-05 16:17 by kellmill
Image text-base: 0x0307D3D4, data-base: 0x00001000

ROM: System Bootstrap, Version 11.0(10c), SOFTWARE
BOOTLDR: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c), RELEASE SOFTWARE (fc1)

LaB-CS-2 uptime is 35 minutes
System returned to ROM by power-on
System image file is "flash:c2500-js-l.122-28.bin"

cisco 2511 (68030) processor (revision L) with 14336K/2048K bytes of memory.
Processor board ID 06941604, with hardware revision 00000000
Bridging software.
X.25 software, Version 3.0.0.
SuperLAT software (copyright 1990 by Meridian Technology Corp).
TN3270 Emulation software.
1 Ethernet/IEEE 802.3 interface(s)
2 Serial network interface(s)
16 terminal line(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read ONLY)

Configuration register is 0x2142

# -----------------
# write terminal
# -----------------

Building configuration...

Current configuration : 1335 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname vlab.113.rack-01.top
!
enable secret 5 $1$JQF8$qZW.6dPw.HQ5UUCpcjq2i.
enable password 3xtr3m3
!
ip subnet-zero
no ip routing
ip host device16 2016 10.209.10.113
ip host device15 2015 10.209.10.113
ip host device14 2014 10.209.10.113
ip host device13 2013 10.209.10.113
ip host device12 2012 10.209.10.113
ip host device11 2011 10.209.10.113
ip host device10 2010 10.209.10.113
ip host device9 2009 10.209.10.113
ip host device8 2008 10.209.10.113
ip host device7 2007 10.209.10.113
ip host device6 2006 10.209.10.113
ip host device5 2005 10.209.10.113
ip host device4 2004 10.209.10.113
ip host device3 2003 10.209.10.113
ip host device2 2002 10.209.10.113
ip host device1 2001 10.209.10.113
!
!
!
!
interface Ethernet0
ip address 10.209.10.113 255.255.255.0
no ip route-cache
no ip mroute-cache
no mop enabled
!
interface Serial0
no ip address
no ip route-cache
no ip mroute-cache
shutdown
!
interface Serial1
no ip address
no ip route-cache
no ip mroute-cache
shutdown
!
ip default-gateway 10.209.10.1
ip classless
ip route 0.0.0.0 0.0.0.0 10.209.10.1
no ip http server
!
!
snmp-server enable traps tty
!
line con 0
transport preferred telnet
line 1 16
session-timeout 5
autobaud
transport input telnet
transport output telnet
transport preferred telnet
stopbits 1

line aux 0
transport input all
line vty 0 4
password vlab
login
!
end

Wednesday, June 16, 2010

WM3000 Controller - Resetting Controller to Factory Default Values

  1. boot connected to serial port
  2. keep pressing esc as the system boots up
    BootOS 4.2.1.0-008R (r75044)
    Base MAC Address = 00:04:96:42:14:79
    Management MAC Address = 00:04:96:42:14:84
    Board Serial Number = 0943L-00012
    PS2606 version 1, product type 2, generation 1, model 3, manuf 1059
    FPGA firmware revision 1.23
    MIPS ProcessorID 0.12.6.4
    XLR CPU_ID 0x6: 2 MIPS cores at 1.00GHz, 2x256KB L2 cache, 1+1 security coprocessors
    NOR bootstrap version 8, checksum good
    boot>
  3. when you get the boot prompt enter the set factory_defaults command followed by the reset command.
    boot> set factory_defaults

    This operation restores the switch to the same state as it was in when originally shipped from the factory. All configurations, licenses, dumps, keys, etc. will be deleted. Continue [y/n]:y

    boot> reset

Monday, May 3, 2010

xos . configuring ospf

# ----------------------
#
setup the vlans
# ----------------------

configure vlan default delete ports all
create vlan v1ospf
configure vlan v1ospf ip 192.168.1.1/24
configure vlan v1ospf add ports 24


# ----------------------
# configuring general ospf

# ----------------------


enable ipforwarding

configure ospf routerid 0.0.0.1
configure ospf area 0.0.0.0
configure ospf add v1ospf area 0.0.0.0

enable ospf


# ----------------------
# configuring ospf / rip route import / export

# ----------------------

enable ospf export rip cost 0 type ase-type-1 tag 0

Monday, March 29, 2010

xos – NetLogin w/ Local MAC Authentication

# --------------------------
# unconfigure switch and reboot
# --------------------------

unconfigure switch all
y

# --------------------------
# answer the questions after the reboot
# --------------------------

n
n
y
n
n


# --------------------------
# create local variables
# --------------------------

enable cli scripting
set var targetPort     $READ(Please enter the port to which the PC is connected:)
set var userVLAN       $READ(Please enter the name for the user VLAN:)
set var ipAddressMask  $READ(Please enter the IP address and mask (xxx.xxx.xxx.xxx xx) for the user VLAN:)
set var netLoginVLAN   $READ(Please enter the name of the Net Login VLAN:)
set var pc_mac_address $READ(Please enter the MAC address of the PC to be used for this exercise:)
set var pc_mac_address XX:XX:XX:XX:XX:XX 


# --------------------------
# disable all ports and remove all ports from default vlan
# --------------------------

disable ports all
configure vlan default delete port all


# --------------------------
# setup default vlan to support the NetLogin Client
# --------------------------

configure vlan default add port $targetPort
enable $targetPort
unconfigure vlan default ipaddress
configure vlan default ipaddress $ipAddressMask
configure snmp sysname $systemName
save configuration $systemName
y
n


# --------------------------
# configure netlogin vlan
# --------------------------

# Create a VLAN to support the Network Login service.
create vlan $netLoginVLAN

# Associate the VLAN to the Network Login Service.
configure netlogin vlan $netLoginVLAN


# --------------------------
# configure MAC address authentication
# --------------------------

# enable the netlogin mac service
enable netlogin mac

# configure system to use the local auth. database
configure netlogin mac authentication database-order local

# enable the netlogin service on a port
enable netlogin $targetPort mac


# --------------------------
# add mac address to local database

# --------------------------


# Add the MAC addresses to the local database. MAC addresses are
# entered using the colon as a separator. For example, 00:00:05:00:FB:01.
configure netlogin add mac-list $pc_mac_address

# Add MAC-based users to the local database. When entering the following
# command, you will substitute the user-name and password options with the
# MAC address of the IP phone. When entering the MAC address, enter the MAC
# address used in the last step, omitting the colon (:) character. For
# instance, the MAC address from the example above would be entered as
# 00000500FB01.

create netlogin local-user $macuser-name $macuser-password

Friday, March 19, 2010

Linux - PING Image Installation Using a CIFS / SAMBA

  1. Boot off of PING disk.  You may have to create a PING CD before you start this process.  The PING CD .ISO is located at:
    http://ping.windowsdream.com/
  2. Hit enter key
  3. Press OK at welcome screen
  4. Select Reboot the system
  5. Network Share
  6. Select CIFS
  7. Enter IP address of PC hosting the images and press enter
  8. Enter the sharename on the PC (ex: Disk-Images) and press enter
  9. Enter your username on the network (ex:  domain\user ) and press the enter key.
  10. Enter your current password and press enter
  11. Choose the "### CHOOSE THIS if you want a RESTORATION ####" option
  12. Enter the directory where the file is located (ex: \PartImage).  Do not put in the filename.
  13. Select the image you wish to restore (ex:  sandbox-20090826)
  14. Choose yes to restore the bios
  15. Choose yes to extend the partition
  16. The image restore process should now start

Linux - Removing partitions from a Linux System

I needed to remove partitions from a Linux system in order to install windows.  Here is how I did it.

  1. Boot the device from the Ubuntu installation CD.  Ubuntu ISO images are located at: 
    http://www.ubuntu.com/GetUbuntu/download
    You may have to enter the system's setup in order to make the device boot from the CD-ROM drive.
  2. Choose English as the language
  3. Use the arrow keys to select the "Install Ubuntu" menu option
  4. Press the F4 key
  5. Select "Safe Graphics Mode"
  6. After Ubuntu boots up, quit the installation process.  This will bring you to an Ubuntu desktop.
  7. Select the "System->Administration->Partition Editor" option from the menu at the top of the screen.
  8. Delete all partitions (extended and normal) so that there is only one partition remaining.
  9. Apply the changes
  10. Close the Partition Editor
  11. Restart the system by clicking on the power on icon in the upper-right hand corner of the screen and selecting restart.

Friday, March 12, 2010

AP3500/AP4700 – Controller Discovery using Static IP

1.  Access the AP through the serial port
2.  Set the AP to default values using these commands:
system
config
default

3.  When prompted, enter yes.
4.  Type the following commands
system
aap-setup
set auto-discovery enable
set interface lan1
set ipadr 1 <controller_ip>
..
..

network
lan
set ip-mode 1 static
set ipadr 1 <ap_ip>
set mask 1 <ap_ip_subnet>
set dgw 1 <ap_default_gateway>
set lan 1 enable
save

Wednesday, March 10, 2010

WM3000 Controller – Image Management

! ---------------------
! Select the image to load at next reboot
! ---------------------
en
configure terminal
boot system [ primary | secondary]
!
! ---------------------
! show current image
! ---------------------
show boot 

WM3000 Controller – Default Values

! ------------------------------------
! Login
! ------------------------------------

WM3600 login: cli

User Access Verification

Username: admin
Password: admin123

! ------------------------------------
! IP Management Port
! ------------------------------------

wm3600 / wm3700 management port

10.1.1.100 / 255.255.255.0

wm3400  LAN ports

192.168.0.1 / 255.255.255.0

! ------------------------------------
! serial port
! ------------------------------------

19.2 kbps,n,8,1,none

WM3000 Controller - Setting an IP address using CLI.

! ------------------------
! setting an ip address on a WM3000
! ------------------------
en
configure terminal
interface me1
ip address <ipAddress>/<subnetMsasBits>
exit
ip default-gateway <ip>
exit
write memory

WM3000 Controller – Downloading New SW

en
upgrade tftp://<hostname|IP>[:port]/path/file
upgrade ftp://<user>:<passwd>@<hostname|IP>[:port]/path/file
upgrade sftp://<user>@<hostname|IP>[:port]>/path/file
upgrade
http://<hostname|IP>[:port]/path/file
upgrade cf:/path/file
upgrade usb1:/path/file
upgrade usb2:/path/file

Friday, February 19, 2010

AP3500/AP4700 - Downloading Firmware Using the Boot ROM

Use the following process to download an image to the AP using the Boot ROM:
  1. Connect to the serial port of the AP35XX using 19200-8-N-1
  2. Power cycle the AP35XX
  3. Press the “Escape” key when the AP35XX states “Press escape key to run boot firmware”.
  4. Enter the following commands to  download the file

    • # ftp download

    • set network ipadr <ap_ip>
    • set network mask <ap_ipMask>
    • set network mode static
    • set network dgw <ipDefaultGateway>
    • set update file AP3550-2.3.2.1-001R.img
    • set update ipadr <ftp_server_ip>
    • set update username <ftp_server_user>
    • set update password <ftp_server_password>
    • set update path <ftp_path>
    • set update port lan0
    • load ftp

    • # tftp download

    • set network ipadr <ap_ip>
    • set network mask <ap_ipMask>
    • set network mode static
    • set network dgw <ipDefaultGateway>
    • set update file AP3550-2.3.2.1-001R.img
    • set update ipadr <tftp_server_ip>
    • set update path <tftp_path>
    • set update port lan0
    • load tftp

  5. The system will download and reprogram itself at this point.

AP3500/AP4700 - Downloading Software Image to AP

BootROM

Use the following process to download an image to the AP using the Boot ROM:
  1. Connect to the serial port of the AP35XX using 19200-8-N-1
  2. Power cycle the AP35XX
  3. Press the “Escape” key when the AP35XX states “Press escape key to run boot firmware”.
  4. Enter the following commands to  download the file

# ftp download

set network ipadr <ap_ip>
set network mask <ap_ipMask>
set network mode static
set network dgw <ipDefaultGateway>
set update file AP3550-2.3.2.1-001R.img
set update ipadr <ftp_server_ip>
set update username <ftp_server_user>
set update password <ftp_server_password>
set update path <ftp_path>
set update port lan0
load ftp

# tftp download

set network ipadr <ap_ip>
set network mask <ap_ipMask>
set network mode static
set network dgw <ipDefaultGateway>
set update file AP3550-2.3.2.1-001R.img
set update ipadr <tftp_server_ip>
set update path <tftp_path>
set update port lan0
load tftp

The system will download and reprogram itself at this point.

CLI


Enter the following commands at the admin prompt to download new software on the AP35XX:

# ftp

system
fw-update
set file AP3550-2.3.2.1-001R.img
set path ./
set server 10.209.10.30
set user admin
set passwd myPass
save
update ftp

# tftp

system
fw-update
set file AP3550-2.3.2.1-001R.img
set path ./
set server 10.209.10.30
save
update tftp

AP3500/AP4700 – Resetting the Password to Default values

If you have forgotten your password on the AP35XX, use the following process to reset the password to its default value:
Step 1.  Serial up to the AP3500/AP4700 with 19200-8-N-1
Step 2.  Power cycle the AP3500/AP4700
Step 3.  Press the “Escape” key when the AP3500/AP4700 states “Press escape key to run boot firmware”.
Step 4.  From the “boot>” prompt enter “passwd default”.
Step 5.  Reset the system by entering “reset system”.
The default username is admin.  The default password is admin123.

AP3500/AP4700 – Setting a Static IP Address

Enter the following commands at the admin prompt to set a static IP address on the AP35XX:
network
lan
set lan 1 enable
set lan 2 enable
set ip-mode 1 static
set ipadr 1 10.209.10.45
set mask 1 255.255.255.0
set dgw 1 10.209.10.1

Thursday, January 28, 2010

Number of MAC Addresses on WM3000 Series Devices

Model # MAC Addresses
WM3400 10
AP46X0 04 per base unit
16 per radio
Total of 36 per device