====== FVC Access NGI ====== {{:networking:fvcswitch.jpg?direct&200|}} {{:networking:2mbsa.jpg?200|}} {{:networking: fvcanim.gif?180|}} ===== Background ===== The FVC accessNGI (**N**ext**G**eneration**I**nternet) atm switch is manufactured by First Virtual Communications ([[http://www.fvc.com|www.fvc.com]]) which seems seems defunct now. It is intended as an access level switch and interfaces with 2mb/s leased lines, 25MB/s workstations and 155MB/s servers. It supports both SVCs and PVCs. The basic switch has an ethernet port on the control module next to the RJ45 console connection. This is not the same pinout as Cisco use. The ethernet port interfaces to the atm network using Lan Emulation. An alternative module can supply 6 ethernet ports. The built in ethernet port uses LAN Emulation to bridge to atm, but seems unable to terminate an rfc1483 pvc. We used to use them as an access switch on the end of a 2MB/s G703 leased line, the ethernet port linked in to an ethernet switch, and the 25MB/s ports is used for a few pc's which need to connect to different networks. For many pc's on different networks the ''vether'' module is used to connect to a supplementary ethernet switch. The atm wan and backbone keeps the different network traffic seperate. [[https://www.rainsbrook.co.uk/networking/fvc/ercwebpage/fvcaccess.html]] ===== AccessNGI Configuration ===== Boot up sequence:- [[networking:fvcaccessngi_boot|FVC Boot]] The initial config of the switch is useless for our application, so the easiest thing is to delete it straight away. Unfortunately, unlike Cisco IOS there is no command line repeat, but the later firmware images have command completion and help at any point by typing a "?". Log in as the admin user, user=admin, password=vswitch. (Just type "admin" at the prompt. This will change to "ADMIN Access_NGI>"). Have a look at the system ports (really for interest only) ADMIN FVCcoreATM>show system ports Port Module IntSwitchPort Description ------------------------------------------------- 101 1 0 25 Mbps ATM 102 1 0 25 Mbps ATM 103 1 0 25 Mbps ATM 104 1 0 25 Mbps ATM 105 1 0 25 Mbps ATM 106 1 0 25 Mbps ATM 201 2 4 E1 ATM (IMA) 202 2 4 E1 ATM (IMA) 203 2 4 E1 ATM (IMA) 204 2 4 E1 ATM (IMA) 301 3 8 155 Mbps OC3 ATM 302 3 9 155 Mbps OC3 ATM 501 5 14 10 Base-T Ethernet ADMIN FVCcoreATM> Delete the previous config and return to factory defaults "set system delflashcfg". Disable the internal Lan Emulation Configuration Server (LECS) "set lecs local disable" set the atm network prefix length. "set pnni pglevel 96" Set the atm network prefix and switch number (Don't use my numbers, they have to match the existing atm numbering hierachy in use). Depending on your atm network mask (pglevel in FVC speak), your ilmi netprefix may be longer or shorter than this. The .05 at the end is the switch id. "set ilmi netprefix 39.82.6f.31.48.00.00.00.00.00.01.00.05" Give the switch a name for the command line prompt (This can be different from the SNMP name as they are set in different places) "set admin prompt xxxx" This completes the basic global config. Next start to configure some interfaces:- Start with module 2, port 01 (201), a 2MB/s E1 WAN port, set it to be a pnni port, use [[networking:hdb3|HDB3 line coding]], (or see for [[https://www.rainsbrook.co.uk/networking/fvc/hdb3/hdb3_c.html|cached version HDB3]]) scrambling and upstream clocking. "set pnniport 201" "set e1 line-coding 201 hdb3" "set e1 scrambling 201 enable" "set e1 clocking 201 external" Scrambling is only required for e1 ports, not 155MB/s fibre ports. Please note, the scrambling is to ensure a zero dc average level, not for encryption, security etc.... HDB3 is "High Density Bipolar 3zero substitution", an alternative to AMI etc. This has to match the line encoding being used by the circuit provider. Note also that the pnni implementation includes ilmi, so do NOT enable ilmi for the port. Pnni takes care of it. Next configure the ethernet port to use bridging and connect to ELAN name desired "set bridge elanname elan1" And configure an ip address and subnet mask on it "set ip ipaddress 192.168.x.x " "set ip netmask 255.255.255.0 " "set ip gateway 192.168.x.x" Or (firmware dependant) "show ipr config" Delete any unused config in the table, n is the Ifc number of addr to delete. Set management ip, default gateway and subnet mask. "set ipr remove n" "set ipr new 192.168.x.x 192.168.x.y 255.255.0.0" "set ipr bind bridge 1 1" - Bind interface 1 to bridge 1. 25MB/s ports, not a lot to set for workstations, for pnni to link switches together:- (note port 101 does not support pnni for an unknown reason) "set sigl pnniport 106 " After configuring some of the settings you will be prompted to reboot the switch. Just ignore these warnings until you have finished configuring everything, and perform a restart at this point ("set system reset"). The boot up message "IP interface not bound!" will disappear once a management address is set. If the port to the ATM switch is configured correctly, you will see the message:- LAYERM {201}: 00000:00:22 SAAL is ready ==== Configuring the atm to ethernet bridge ==== The usual method of configuring the ethernet bridge is to use LAN Emulation. set bridge elanname elan1 FIXME ==== Setting up Permanent Virtual Circuits (PVC's) ==== The usual method of configuring PVC's. set PVC FIXME FIXME ==== Diagnostics and monitoring ==== SNMP MIBS:- {{ :networking:fvc-snmp-mib.zip |}} There are several commands to use for examining the current setup and traffic through the switch:- Show the current setup:- ADMIN switch_ID_17>show system ports Port Module IntSwitchPort Description ------------------------------------------------- 101 1 0 25 Mbps ATM 102 1 0 25 Mbps ATM 103 1 0 25 Mbps ATM 104 1 0 25 Mbps ATM 105 1 0 25 Mbps ATM 106 1 0 25 Mbps ATM 201 2 4 E1 ATM (IMA) 202 2 4 E1 ATM (IMA) 203 2 4 E1 ATM (IMA) 204 2 4 E1 ATM (IMA) 301 3 8 10 Base-T Ethernet 302 3 8 10 Base-T Ethernet 303 3 8 10 Base-T Ethernet 304 3 8 10 Base-T Ethernet 305 3 8 10 Base-T Ethernet 306 3 8 10 Base-T Ethernet 501 5 14 10 Base-T Ethernet ADMIN switch_ID_17> Show the signalling config for the system:- ADMIN switch_ID_17>show sigl config Port VPI Version Port Type ILMI -------------------------------------------- I08 0 3.0 UNI Network Side Enabled I14 0 3.0 UNI Network Side Enabled 101 0 PNNI PNNI Network Side Disabled 102 0 3.0 UNI Network Side Enabled 103 0 3.0 UNI Network Side Enabled 104 0 3.0 UNI Network Side Enabled 105 0 3.0 UNI Network Side Enabled 106 0 PNNI PNNI Network Side Disabled 201 0 PNNI PNNI Network Side Disabled 202 0 PNNI PNNI Network Side Disabled 203 0 3.0 UNI Network Side Enabled 204 0 3.0 UNI Network Side Enabled VP Workgroups Port VPI Version Port Type ILMI --------------------------------------------- ADMIN switch_ID_17> Show the traffic through the switch "show scc calls" displays the current atm connections through the switch Show the status of the ethernet bridge:- ADMIN switch_ID_17>show bridge status Bridge is ENABLED ELAN Name in flash is ELAN1 ELAN Name from join response is ELAN1 FifoPkt 0 NetPkt 0. FifoBytes 0 NetBytes 0 rej net frm 0. OFifo Blked 0 Fifo NE 0 LEC net recvq depleted 0. HF before DB 0 pc Trashlen 0 net Trashlen 0, misplacedDB 0, toolong 0 isardrop 0 isaxdrop 0 print flag 0 ADMIN switch_ID_17> "Show atm errors" shows atm errors for all ports, "clear xxx" resets the error count. 1) Login as admin password vswitch - type admin at the prompt 2) set system delflashcfg - to clear out any residual crap 3) show system ports - displays module names and port numbers 4) set lecs local disable - Stops box advertising its own WKA 5) set ilmi netprefix 39826f31480000000000010005 6) set sigl pnniport 601 - BMH box 1st E1 port is 601. Do not enable ilmi 7) set pnni pglevel 96 - 12 bytes for BMH's PNNI peer group 8) set e1 scrambling 601 enable - to match BMH's WAN 2 daughter card 9) set e1 clocking 601 external - BMH clock from the 8265 in all cases 10) set e1 line-coding 601 hdb3 - only line coding WAN2 daughter knows how to do 11) set bridge elanname BMH_MAIN - Sets the ELAN name for the Ethernet port LEC. To set a management IP address, have a look at the IP address table (set system delflashcfg does not necessarily clear this). 12) show ipr config Delete any extraneous entries in the table by 13) set ipr remove n - Where n is the Ifc number of addr to del Configure the management IP address, Default Gateway address and Sub-Net mask by :- 14) set ipr new 150.1.0.40 0.0.0.0 255.255.0.0 15) set ipr bind bridge 1 1 - Binds Interface 1 to Bridge 1 You will be asked to reboot the machine after some of the above. You can ignore these until you have completed the entire configuration to save time. Use set system reset to reboot rather than POR's. It takes just as long to reboot the machine as a power off/on but is probably less stressful for the power supply. Once a management IP address is configured correctly, you will NOT get the "IP interface not bound!" message during boot-up. If the port to the ATM switch is configured correctly you will see the message ... LAYERM {601}: 00000:00:22 SAAL is READY If you're connecting via a 155 port to the 8265, then take all the defaults for the link. ie skip all the OC3 equivalents of steps 8,9 & 10. ===== Firmware upgrade ===== 1. Log in as admin FVCCMD> admin \\ Enter Password: vswitch \\ 2. Set an ip address on the switch ADMIN> set ipr 172.16.1.2 0.0.0.0 255.255.255.0 \\ 3. Reload switch to activate new ip address ADMIN> set system reset \\ 4. Start tftp server. Current code is:- \\ setm5-6.img for op code \\ fsw506.img for boot code \\ 5. As there isn't enough flash for two images, the original needs to be deleted. ADMIN> flash erase str-mgmt \\ ADMIN> flash erase FSW.5.05 \\ ***** WARNING ****** At this point, if you reboot the switch there won't be a boot image, so you will probably have to load a new boot image over the serial port, but I have no idea how you would do this. Moral of the story, ensure you don't reboot at this point! 6. Start the tftp upload process. ADMIN> set tftp server a.b.c.d \\ ADMIN> set tftp remotefile setm506.img (and then fsw506.img) \\ ADMIN> set tftp start \\ Message on completion is ''TFTP file transfer completed. Got xyz bytes. (Complete with horrible English) \\ 7. Check the checksums \\ ADMIN> flash dir Rom 11669 XG sand-boot \\ ...edited... \\ Flash 90166 XG FSW.5.06 \\ Flash 260651 XG str-mgmt ...edited... \\ Default boot file: FSW.5.05 \\ XG means checksum is OK, XB means there is an error. (XG = Good, XB = Bad )\\ 9. Change the default boot file \\ ADMIN> flash bootfile FSW.5.06 \\ 10. Reboot \\ ADMIN> set system restart \\ Done! This page has been accessed for:- \\ Today: {{counter|today}} \\ Yesterday: {{counter|yesterday}} \\ Until now: {{counter|total}} \\