Table of Contents
ASX200BX Config and info
This page contains largely unstructured information made from my notes experimenting. Don't believe anything here without checking it!
Password Recovery
Old ASX-200 (not BX model)
Default is user “asx” and password “f0replay”
New ASX-200BX
Password Reset
http://www.velocityreviews.com/forums/t38256-password-recovery-forethought.html
http://www.expert sex change.com/Networking/Misc/Q_21405373.html
With a terminal attached to the serial port, reset the switch using a straightened paper clip.
When “Decomp…” displays on the front panel display, press and hold the “Next” and “Select” buttons.
After a short time the display should stop scrolling. When you release the buttons,
the prompt “Boot without reading flash? (y/n)”
should be displayed on
the terminal. Type “y” and press <Enter>.
The promt “Clear the AMI password?”
(y/n) will be displayed. Type “y” and press <Enter>.
The AMI user account on the switch now has no password.
The ami username didn't work for me, but here's what did.
Press Enter repeatedly when the unit boots, or press Ctrl-Break after the unit boots to get to the Mon960 prompt (⇒).
Normally this prompt is used to upgrade the switch, but it can also be used to clear the configuration.
ef cfg
then reboot the switch.
The switch will come up in factory testing mode, choose option 10 to turn this mode off and reboot. You should have a factory fresh configuration.
Set to
user: ami
passw: admin
Configuring the switch
Navigation
? shows list of commands
<command> enters the particular menu
up Go up one menu level
top Go to top level directory
Change password
security login password ami
VERSION
asx200-01:system-> version Software versions installed: FT6.2 Current Flash-Boot Version: FT6.2
Basic Config
This will set the basic config from a q&a session:-
Type 'startup' to run ForeThought configuration wizard
System config
asx200-01:-> system show Description: Marconi ASX-200BX Switch Uptime: 01:54 etc... Set name:- asx200-01:-> system modify -name asx200-01
TCP/IP-config
Show current config:-
asx200-01:interfaces ip-> show Interface State Address Netmask Broadcast (Setting) MTU lo0 up 127.0.0.1 255.0.0.0 N/A N/A 32768 ie0 up 192.168.1.16 255.255.255.0 192.168.1.255 1 1500 asx0 down N/A N/A N/A N/A N/A qaa0 down N/A N/A N/A N/A N/A qaa1 down N/A N/A N/A N/A N/A qaa2 down N/A N/A N/A N/A N/A qaa3 down N/A N/A N/A N/A N/A el0 up 172.16.13.200 255.255.255.0 172.16.13.255 1 1500
OR:-
asx200-01:interfaces ip-> show ie0 Interface State Address Netmask Broadcast (Setting) MTU ie0 up 192.168.1.16 255.255.255.0 192.168.1.255 1 1500
Change IPaddress:-
asx200-01:interfaces ip-> modify -ifname ie0 -ipaddr -netmask -state -bcast -mtu
Give interface, ie0 is local ethernet, tab to list options.
eg. configuration ip address ie0 198.25.22.46 255.255.255.0 up
NTP
asx200bx-01:services ntp peer-> new -peer 192.168.1.1 -type server
Result:-
asx200-01:services ntp-> peers Remote Local RL ST Poll Reach Delay Offset Disp 192.168.1.1 192.168.1.16 syncsrc 3 64 ff -0.00012 0.004798 0.00093
Console syslog:-
APR 12 19:29:11 tNtpd[X]: synchronized to 192.168.1.1, stratum=3 APR 12 19:29:14 tNtpd[X]: time reset (step) 2.724526 s APR 12 19:29:14 tNtpd[X]: synchronisation lost APR 12 19:34:34 tNtpd[X]: synchronized to 192.168.1.1, stratum=3
ATM Config
NSAP
NSAP definition, Network Service Access Point address.
47000580ffe1000000f21510650020ea000ee000 152 |<---- NSAP prefix ----->||<--ESI--->|^^ SEL
PNNI
asx200-01:routing pnni-> node show Node PnniNodeID 1 80:160:0x47.0005.80.ffe100.0000.f21a.432e.ff1a432e0001.00 PnniAtmAddress 0x47.0005.80.ffe100.0000.f21a.432e.ff1a432e0001.00 PeerGroupID Level Lowest Rstrn 80:47.0005.80.ffe100.0000.f200.0000 80 true false Ptses OperStat AdminStat Shutdown ForeLevel ForeArea 2 up up false 5 5 DomainId DomainName LoadBalance PcCongeRnge 1 default true 50%
Desired switch address:- 39.82.6f.31.48.00.00.00.00.00.01.00.03, 96 bits prefix (DCC format)
PVC setup
Configure a test circuit on our Fore ATM switch. for the purposes of this exercise we will use circuit 0/90. A cisco router is connected to port 1A1, and a linux machine is connected to port 1C4.
configuration vcc new 1A1 0 90 1C4 0 90 configuration vcc new 1C4 0 90 1A1 0 90
From Linux Journal.
Next, the switch must be configured to complete the PVC between the hosts. It is helpful to understand the port naming convention used by the Fore switch. The port names consist of three identifiers:
- Board: the number of the switch board (same as the SCP number); each SCP controls one switch board.
- Network Module: the slot (A, B, C, or D) in the switch board containing the port.
- Port: the physical port number on the network module.
For example, port 1b3 refers to the first switch board, the second network module (module b) on board 1 and the third physical port on the second network module. The Fore ASX-200 switch has only one switch board, while the ASX-1000 switch has four. There is a maximum of four network modules per switch board and a maximum of six physical ports per module.
You must now create the virtual channels on the ATM switch. In our example, you would enter these commands on SCP 1:
localhost::> conf vcc localhost::configuration vcc> new 1a1 0 70 1a2 0 70 localhost::configuration vcc> new 1a2 0 70 1a1 0 70
1a1 is the switch port for node1 and 1a2 is the switch port for node2.
The switch completes the PVC based on the input port to output port virtual channel connection (VCC) mapping. Note that the PVC vpi.vci (0.70) matches the vpi.vci given to the atmarp commands on the hosts.
The above commands will connect two ports on the same ATM switch board. The Fore ASX-1000 switch has up to four switch boards. If you are connecting machines on different switch boards, the procedure is more complicated, as you must connect each port to the switch fabric and connect the fabric to each port. Thus, if you wish to connect a machine on port 1a1 to a machine on port 3a1, the following commands are required:
On SCP 1:
localhost::> conf vcc localhost::configuration vcc> new 1a1 0 70 1e3 0 70 localhost::configuration vcc> new 1e3 0 70 1a1 0 70
On SCP 3:
localhost::> conf vcc localhost::>configuration vcc> new 3a1 0 70 3e1 0 70 localhost::>configuration vcc> new 3e1 0 70 3a1 0 70
On the Fore switch, the fabric connections are slot e. Therefore, port 1e3 refers to a connection from switch board 1 to switch board 3. Likewise, 3e1 refers to a connection from switch board 3 to switch board 1. Fore refers to these ports as “intra-fabric” ports.