SwConfig

Parameters description

 

GLOBAL PARAMETERS

  • GLOBAL_LED_MODE
  • GLOBAL_VLAN
  • GLOBAL_802.1Q_TAG
  • GLOBAL_INGRESS_FILTER
  • GLOBAL_TAG_ADMIT
  • GLOBAL_FILTER_BAD_PACKETS
  • GLOBAL_PAUSE_TRANSMIT
  • GLOBAL_PAUSE_RECEIVE
  • GLOBAL_BROADCAST_INPUT_DROP
  • GLOBAL_AGING
  • GLOBAL_FAST_AGING
  • GLOBAL_ISP_MAC_TRANSLATION
  • GLOBAL_802.1p_BASE_PRIORITY
  • GLOBAL_SELECT_TRUNK_P1P2
  • GLOBAL_PRIORITY_WEIGHT
  • GLOBAL_IP_ADDRESS_A
  • GLOBAL_IP_MASK_A
  • GLOBAL_IP_PRIORITY_A
  • GLOBAL_IP_ADDRESS_B
  • GLOBAL_IP_MASK_B
  • GLOBAL_IP_PRIORITY_B
  • GLOBAL_DIFF_SERV_HI_PRIORITY
  • GLOBAL_DIFF_SERV_A
  • GLOBAL_DIFF_SERV_TOS_A
  • GLOBAL_DIFF_SERV_B
  • GLOBAL_DIFF_SERV_TOS_B
  • GLOBAL_DROP_48_PASS_1
  • GLOBAL_TX_IPG_90PPM
  • GLOBAL_LOOP_DETECT
  • GLOBAL_SWITCH_MAC
  • GLOBAL_ISP_MAC
  • PORT BASED PARAMETERS (x = 1,2,…,8)

  • PORT#x_MAC_LOOPBACK
  • PORT#x_PHY_LOOPBACK
  • PORT#x_SPEED_FORCEMODE
  • PORT#x_AUTONEGOTIATION
  • PORT#x_POWERDOWN
  • PORT#x_ISOLATE
  • PORT#x_DUPLEX_FORCEMODE
  • PORT#x_REMOTEFAULT_ANEG_CAPABLE
  • PORT#x_PAUSE_ANEG_CAPABLE
  • PORT#x_100FD_ANEG_CAPABLE
  • PORT#x_100HD_ANEG_CAPABLE
  • PORT#x_10FD_ANEG_CAPABLE
  • PORT#x_10HD_ANEG_CAPABLE
  • PORT#x_NULL_VID_REPLACE
  • PORT#x_DISCARD_NON_PVID_PACKETS
  • PORT#x_802.1p_PRIORITY
  • PORT#x_DIFF_SERV_PRIORITY
  • PORT#x_PORT_BASED_PRIORITY
  • PORT#x_VLAN_TAG_CONTROL
  • PORT#x_TRANSMISSION
  • PORT#x_RECEPTION
  • PORT#x_LEARNING
  • PORT#x_VLAN_INDEX
  • VLAN BASED PARAMETERS (y = A,B,…,H)

  • VLAN_y_MEMBERSHIP
  • VLAN_y_802.1Q_TAG
  •  


    Global parameters

    GLOBAL_LED_MODE = 0,…,7

    Mode

    Yellow LED

    Green LED

    0

    Duplex+Collision Bi-color Link+Act

    1

    Duplex+Collision 100Link+Act

    2

    RxAct+10/100 Link

    3

    SQI Link+Act+Speed

    4

    Collision Link+Act+Speed

    5

    Speed Link+Act

    6

    Activity Link

    7

    Speed Link+Act

     

    GLOBAL_VLAN

    Enable – enable VLAN
    Disable - disable VLAN

    GLOBAL_802.1Q_TAG

    Enable - enable the Member Set Filtering function of VLAN Ingress Rule. Switch will check the tagged VID on received frames with the VIDA~VIDH (VLAN_y_802.1Q_TAG) to index to a member set then performs the VLAN mapping. Switch will use tagged-VID VLAN mapping for tagged frame but still use Port-Based VLAN mapping for priority-tagged and untagged frame.
    Disable - disable 802.1Q tagged-VID Aware function. Switch will not check the tagged VID on received frames to perform the tagged-VID VLAN mapping even this packet is tagged. Under this configuration, switch only utilize per port VALN index parameter (PORT#x_VLAN_INDEX) to perform the Port-Based VLAN mapping.

    GLOBAL_INGRESS_FILTER

    (VLAN member set ingress filtering)
    Enable - the switch will drop the received frame if the ingress port of this packet is not included in the matched VLAN member set (VLAN_y_MEMBERSHIP).
    Disable - the switch will not drop the received frame if the ingress port of this packet is not included in the matched VLAN member set. It will still forward the packet to the VLAN members specified in the matched member set. This setting both works on port based and tag based VLAN configuration.

    GLOBAL_TAG_ADMIT

    Enable - the switch will only accept tagged frame but drop untagged frame.
    Disable - the switch accepts all frames it received whatever it is tagged or untagged.

    GLOBAL_FILTER_BAD_PACKETS

    Enable - filter bad packets in normal operation.
    Disable - switch all packets including bad ones. This parameter is intended for debugging purpose only.

    GLOBAL_PAUSE_TRANSMIT

    (IEEE 802.3x transmit flow control)
    Enable - switch has the intelligent to determine when to invoke flow control based on auto-negotiation (ANeg) result.
    Disable - switch will not enable transmit flow control no matter what ANeg result is.

    GLOBAL_PAUSE_RECEIVE

    (IEEE 802.3x receive flow control)
    Enable - when switch receives pause control frame, it has the ability to stop next transmission of normal frame until timer is expired based on ANeg result.
    Disable - switch will not receive flow control no matter what the ANeg result is.

    GLOBAL_BROADCAST_INPUT_DROP

    Yes - broadcast input drop is selected.
    No - broadcast output drop is selected.

    GLOBAL_AGING

    Enable - enable aging function in the switch.
    Disable - disable aging function in the switch. All the address learned in the lookup table will not be aged out. If the table is full, the last entry of the table will be deleted first to make room for the new entry.

    GLOBAL_FAST_AGING

    Enable - enable fast aging function. The entry learned in the lookup table will be age out if it is not updated in 800us period.
    Disable - disable fast aging function.

    GLOBAL_ISP_MAC_TRANSLATION

    Enable - enable ISP MAC Address Translation function.
    Disable - disable ISP MAC Address Translation function

    GLOBAL_802.1p_BASE_PRIORITY = 0…7

    Used to classify priority for incoming 802.1Q packets, if 802.1p priority classification is enabled (PORT#x_802.1p_PRIORITY = Enable). “User priority” compared against this value.
    >=: Classify as high priority
    <: Classify as low priority

    GLOBAL_SELECT_TRUNK_P1P2

    Yes - combine port#1 and port#2 as one trunking port
    No - combine port#7 and port#8 as one trunking port

    GLOBAL_PRIORITY_WEIGHT = 0,…,3

    Queue weight - the frame service ratio between the high priority queue and low priority queue is:
    0 = 4:1
    1 = 8:1
    2 = always high priority queue first
    3 = 16:1

    GLOBAL_IP_ADDRESS_A

    IP Priority Address [A]

    GLOBAL_IP_MASK_A

    IP Priority Mask [A]

    GLOBAL_IP_PRIORITY_A

    Enable - the switch will compare both the source and destination IP address of incoming packet against the value GLOBAL_IP_ADDRESS_A AND GLOBAL_IP_MASK_A, to classify priority for this packets.
    Disable – the switch will not change priority of incoming packet

    GLOBAL_IP_ADDRESS_B

    IP Priority Address [B]

    GLOBAL_IP_MASK_B

    IP Priority Mask [B]

    GLOBAL_IP_PRIORITY_B

    Enable - the switch will compare both the source and destination IP address of incoming packet against the value, GLOBAL_IP_ADDRESS_B AND GLOBAL_IP_MASK_B, to classify priority for this packets.
    Disable – the switch will not change priority of incoming packet

    GLOBAL_DIFF_SERV_HI_PRIORITY

    (Default high priority DiffServ code point)
    Enable - the default DiffServ code point listed below will be considered as high priority code point if DiffServ priority function is enabled (PORT#x_DIFF_SERV_PRIORITY = Enable).
    EF – “101110”
    AF – “001010” “010010” “011010” “100010”
    Network Control – “111000” “110000”
    Disable - the default DiffServ code point will be considered as low priority.

    GLOBAL_DIFF_SERV_A

    1 - if Difference Service Priority is enabled (PORT#x_DIFF_SERV_PRIORITY = Enable), this parameter specifies difference service code point [A] is high priority.
    0 - if Difference Service Priority is enabled, this parameter specifies difference service code point [A] is low priority.

    GLOBAL_DIFF_SERV_TOS_A = 0,…,63

    (Differential service code point [A])
    Used to specify a high priority differential service code point [A]. For example, if this parameter set as “63”, every incoming packets with TOS field equal to “63” will be considered as high priority packets.

    GLOBAL_DIFF_SERV_B

    1 - if Difference Service Priority is enabled (PORT#x_DIFF_SERV_PRIORITY = Enable), this parameter specifies difference service code point [B] is high priority.
    0 - if Difference Service Priority is enabled, this parameter specifies difference service code point [B] is low priority.

    GLOBAL_DIFF_SERV_TOS_B = 0,…,63

    (Differential service code point [B])
    Used to specify a high priority differential service code point [B]. For example, if this parameter set as “0”, every incoming packets with TOS field equal to “0” will be considered as high priority packets.

    GLOBAL_DROP_48_PASS_1

    Enable - enable drop packet after SRAM full for 48 pass 1
    Disable - disable drop packet after SRAM full for 48 pass 1. This will result in SRAM run out.

    GLOBAL_TX_IPG_90PPM

    (TX IPG compensation)
    Yes - 90ppm TX IPG compensation.
    No - 65ppm TX IPG compensation.

    GLOBAL_LOOP_DETECT

    Enable - enable loop detection function.
    Disable - disable loop detection function.

    GLOBAL_SWITCH_MAC

    MAC address of switch

    GLOBAL_ISP_MAC

    MAC address for ISP MAC translation

     


    PORT BASED PARAMETERS (x = 1,2,…,8)

    PORT#x_MAC_LOOPBACK

    (Local loopback)
    Enable - perform “local loopback”, ie loop back MAC’s TX back to RX.
    Disable - normal operation.

    PORT#x_PHY_LOOPBACK

    (Digital loopback)
    Enable - this will loopback TXD to RXD and ignore all the activities on the cable media.
    Disable - normal operation.

    PORT#x_SPEED_FORCEMODE

    100M / 10M
    When ANeg is enabled (PORT#x_AUTONEGOTIATION = Enable), speed will set by the result of auto-negotiation. When ANeg is disabled, this parameter will set the speed in ForceMode

    PORT#x_AUTONEGOTIATION

    Enable - enable auto-negotiation process.
    Disable - disable auto-negotiation process.

    PORT#x_POWERDOWN

    Enable - all functions of port will be disabled
    Disable - normal operation.

    PORT#x_ISOLATE

    Enable - electrically isolate the PHY from RMII/SMII. PHY is still worked
    Disable - normal operation.

    PORT#x_DUPLEX_FORCEMODE

    Full / Half duplex operation.
    When ANeg is enabled (PORT#x_AUTONEGOTIATION), duplex mode will set by the result of auto-negotiation. When ANeg is disabled, this parameter will set duplex mode in ForceMode

    PORT#x_REMOTEFAULT_ANEG_CAPABLE

    Yes - advertises that switch has detected a remote fault.
    No - no remote fault detected.

    PORT#x_PAUSE_ANEG_CAPABLE

    Yes - advertises switch posses 802.3x flow control capability.
    No - without flow control capability.

    PORT#x_100FD_ANEG_CAPABLE

    Yes - 100Base-TX full duplex capable.
    No – not 100Base-TX full duplex capable.

    PORT#x_100HD_ANEG_CAPABLE

    Yes - 100Base-TX half duplex capable.
    No – not 100Base-TX half duplex capable.

    PORT#x_10FD_ANEG_CAPABLE

    Yes - 10Base-TX full duplex capable.
    No – not 10Base-TX full duplex capable.

    PORT#x_10HD_ANEG_CAPABLE

    Yes - 10Base-TX half duplex capable.
    No – not 10Base-TX half duplex capable.

    PORT#x_NULL_VID_REPLACE

    Yes - the switch will replace NULL VID with port VID (12 bits).
    No - no replacement for NULL VID.

    PORT#x_DISCARD_NON_PVID_PACKETS

    Yes - if the received packets are tagged, the switch will discard packets whose VID does not match ingress port default VID, which is indexed by PORT#x_VLAN_INDEX
    No - no packets will be dropped.

    PORT#x_802.1p_PRIORITY

    Enable - enable 802.1p priority classification for ingress packets on port#x.
    Disable - disable 802.1p priority classification.

    PORT#x_DIFF_SERV_PRIORITY

    Enable – enable DiffServ priority classification for ingress packets on port#x.
    Disable - disable DiffServ priority classification.

    PORT#x_PORT_BASED_PRIORITY

    Enable - enable port priority function. Ingress packets from port#x will be classified as high priority.
    Disable - disable port priority function.

    PORT#x_VLAN_TAG_CONTROL = 0,…,3

    (VLAN tag insertion and removal)
    0 - The switch will remove VLAN tags from packets then add new tags to them. The inserted tag is the ingress port’s “Default tag”, which is indexed by port#x’s “Port based VLAN index” (PORT#x_VLAN_INDEX). This is a replacement processing for tagged packets and an insertion for untagged packets.
    1 - The switch will remove VLAN tags from packets, if they are tagged when these packets are send out from port#x. The switch will not modify packets received without tags.
    2 - The switch will add VLAN tags to packets, if they are not tagged when these packets are send out from this port. The switch will not add tags to packets already tagged. The inserted tag is the ingress port’s “Default tag”, which is indexed by port#x’s “Port based VLAN index” (PORT#x_VLAN_INDEX).
    3 - Do not insert or remove VLAN tags to/from packet when it is send out from this port.

    PORT#x_TRANSMISSION

    Enable - enable packet transmission on port#x.
    Disable - disable packet transmission on port#x.

    PORT#x_RECEPTION

    Enable - enable packet reception on port#x.
    Disable - disable packet reception on port#x.

    PORT#x_LEARNING

    Enable - enable switch address learning capability.
    Disable - disable switch address learning capability

    PORT#x_VLAN_INDEX = 0,…,8

    In port based VLAN configuration, this parameter index to port#x’s “Port VLAN Membership”, which could be defined in parameter VLAN_y_MEMBERSHIP (y=A,B,…,H). Port#x can only communicate within the membership. This parameter also indexes to a default Port VID (PVID) for each port. The PVID is used in tag insertion and filtering if the tagged VID is not the same as the PVID

     


    VLAN BASED PARAMETERS (y = A,B,…,H)

    VLAN_y_MEMBERSHIP = 00000000,…,11111111

    This 8 bits parameter specifies which ports are members of the VLAN. If a DA look up fails, the packet associated with this VLAN will be broadcast to ports specified in this field. The MSB (bit7) represent port#8, bit6->port#7,…, bit0->port#1. Eg. 01000001 means port#7 and port#1 are in this VLAN.

    VLAN_y_802.1Q_TAG = 0,…,4095

    Define the IEEE 802.1Q 12 bit VLAN ID


    Κϊμ ξοθρΰνθεςξ νΰ SwConfig...