Gigacore HTTP Commands

Gigacore HTTP Commands

In this article, wedescribe http commands you can use to gather informations from a Gigacore switch and apply some settings

http://<switch IP>/config/group_port
GET:
When a ‘port’ parameter is set, the ‘mask’ parameter will be ignored. If neither ‘port’ nor ‘mask’ is
set, an error will be returned.

parameter
mandatory
defaul
type
Legal values
Description
group

1
uint8
0 to 20
Group number. Defaults to 1 so can be used to remove a port from a group.
port

uint8
1 to n
Port number. n is the max port number for the particular switch. (e.g 16 for Gigacore16Xt)
mask
0
uint32

Bitmask for all added ports. Bit 0 stands for port 1 etc… . (e.g. 0x00000021 will add ports 1 and 6).

Responses:
  1. OK
  2. ERROR
POST :
When a ‘port’ parameter is set, the ‘mask’ parameter will be ignored. If neither ‘port’ nor ‘mask’ is
set, an error will be returned.

parameter
mandatory
default
type
Legal values
Description
group

1
uint8
0 to 20
Group number. Defaults to 1 so can be used to remove a port from a group.
port

uint8
1 to n
Port number. n is the max port number for the particular switch. (e.g 16 for Gigacore16Xt)
mask
0
uint32

Bitmask for all added ports. Bit 0 stands for port 1 etc… . (e.g. 0x00000021 will add ports 1 and 6).

Responses:
  1. OK
  2. ERROR

http://<switch IP>/confg/misc
GET:
(returns an empty page)
POST :
When a ‘port’ parameter is set, the ‘mask’ parameter will be ignored. If neither ‘port’ nor ‘mask’ is
set, an error will be returned.

parameter
mandatory
default
type
Legal values
Description
factory_full


string
'yes'
Will trigger a reset of config settings. Ip address will be reset. This parameter will be ignored if ‘factory’ is set. The switch will reboot.
factory


string
'yes'
Will trigger a reset of config settings. Ip address will be preserved. The switch will reboot.
clear_profiles




Clears contents of all profiles. The default profile will also be cleared.

Responses:
(no page will be returned)

http://<switch IP>/stat/ports
Get bandwidth counters.
GET:
Returns a string which can be split on ‘|’ (pipe).

parameter
mandatory
default
type
Legal values
Description
Tick


Uint
All
Switch uptime in ticks. Every tick is 10 ms.
Port statistics




String which can be split into values on ‘/’ (slash). See table below for more info.


Value
Description
Port nr

Rx packets
Ethernet packets received
Tx packets
Ethernet packets sent
Rx octets
Number of bytes received
Tx octets
Number of bytes sent
In errors
Interface In Errors
Out errors
Interface Out Errors
Rx drops
Dropped packets on receive
Tx drops
Dropped packets on transmit
dot1dTpPortInDiscards



http://<switch IP>/config/lmx_led
Only works on Gigacore 10 and Gigacore 26i.
GET:
Returns a string which can be split on ‘|’ (pipe).

parameter
mandatory
default
type
Legal values
Description
brightness


Uint
0-4
Led brightness. 0: off, 4: max

POST :

parameter
mandatory
default
type
Legal values
Description
brightness


Uint
0-4
Set the led brightness.

Responses:
  1. OK


http://<switch IP>/confg/poe_confg
GET:
Returns a list which can be split on ‘|’ (pipe).
Poe confg GET

parameter
mandatory
default
type
Legal values
Description
PoE Capable


Int
0, 1
0: No PoE
1: PoE Capable
Power Management mode


Int
0-7
1 : Class consumption
2 : Allocated reserved
3 : Allocated consumption
4: lldpmed reserved
5: lldpmed consumption
General poe config




This is a list which can be split on ‘/’ (slash).
See separate table.
Port poe config




List which can be split on ‘,’ (comma). Each item can be split into values with ‘/’ (slash).
See separate table.

General poe confg

Value
Description
Primary power supply
Power supply in watts
Backup power supply
Power supply in watts
Backup power available
0: Not available
1: Available
Power source
0: Secondary
1: Primary
Min power supply
Min power supply in watts
Max power supply
Power supply in watts
LLDP supported
0: not supported
1: supported

Port poe confg

Value
Description
Port nr
1-based port number for this item
Priority
0 : Low
1 : High
2 : Critical
Max port power
Power in watts
Poe mode
0 : Poe disabled
1 : Poe mode normal
2 : Poe mode plus
Poe supported
0 : Not supported
1 : Supported

POST :
When a ‘port’ parameter is set, the ‘mask’ parameter will be ignored. If neither ‘port’ nor ‘mask’ is
set, an error will be returned.

parameter
mandatory
default
type
Legal values
Description
hidden_portno_xx

string
‘0’-‘26’
Replace xx by the port nr. Set the port nr as value as well.
hidden_poe_mode_xx  


string
‘0’-’2’
Replace xx by the port nr.
‘0’ : Poe disabled
‘1’ : Poe mode normal
‘2’ : Poe mode plus

Responses:
poe.html will be returned.




    • Related Articles

    • Gigacore Switches and Avid S6L

      As most of you probably know by now, Gigacore switches can be used to connect the different units in an Avid S6L system. The procedure to configure Gigacore switches is described by Avid in this document : ...
    • HTTP Commands for EthDMX

      Recall a profile : Change the parts in red to match your situation : http://<IP_ADDRESS_OF_THE_NODE>/cgi-bin/toolbox_profile.cgi?profile=<PROFILE_NUMBER>&recall_profile_nonet=No+network+settings This will not recall the network settings. ...
    • GigaCore RJ45 serial Connection on the console port

      RJ45 serial pinout: Pin 4,5: GND Pin 3: RX (Data going to the GigaCore) Pin 6: TX (Data out of the GigaCore) Signal levels are RS232! Serial connection settings: Speed: 115200 Data bits: 8 Stop bits: 1 Parity: None Flow Control: None
    • What are the default credentials of a GigaCore?

      By default, any GigaCore switch will use the following: Login: admin Password: no password, leave the field blank
    • GigaCore switches Fiber Optic cabling

      This document will describe how to connect all your network devices via fiber optic and what to look out for on hardware level. SFP Technical Info In order to connect all the fiber links in the correct order we need to know which side of the SFP ...