PORT

Note

This command belongs to the shell mode for newer (logical-table) switch chips and is not available on Trident 3.

Set/Display port characteristics

Built-in help

Parameters: <pbmp> [[ENCap=IEEE|HIGIG|B5632|HIGIG2]
    [LinkScan=none|sw|hw|ovr] [SPeed=10|100|1000] [FullDuplex=true|false]
    [TxPAUse=on|off] [RxPAUse=on|off] [STationADdr=<macaddr>]
    [LeaRN=<learnmode>] [DIScard=none|untag|all] [VlanFilter=<value>]
    [PRIOrity=<0-7>] [PortFilterMode=<value>]
    [PHymaster=<Master|Slave|Auto|None>] [Enable=<true|false>]
    [FrameMax=<value>]
    [MDIX=Auto|ForcedAuto|ForcedNormal|ForcedXover]
    [LoopBack=NONE|MAC|PHY|EDB]
    [MEdium=None|Copper|Fiber]]
    | [[EEE] [ENable=<enable|disable>|TxIDleTime=<0-2560>|TxWakeTime=<0-2560>|STats=<get>]]
    [ASF(in case of multimode asf)=<0-3>]
    [ASF(in case regular asf)=<0-1>]
    [StatId (Stat ID created by command 'FlexCTR action add') <ID>] <attach|detach>
    If only <ports> is specified, characteristics for that port are
    displayed. <ports> is a standard port bitmap (see "help pbmp").
    If AutoNeg is on, SPeed and DUPlex are the ADVERTISED MAX values.
    If AutoNeg is off, SPeed and DUPlex are the FORCED values.
    SPeed of zero indicates maximum speed.
    LinkScan enables automatic scanning for link changes with updating
    of MAC registers, and EPC_LINK (or equivalent)
    PAUse enables send/receive of pause frames in full duplex mode.
    <learnmode> is a numeric value controlling source lookup failure
    packets; it may include bit 0 to enable hardware L2 learn, bit 1
    to copy SLF packets to CPU, bit 2 to forward SLF packets.
    VlanFilter drops input packets that not tagged with a valid VLAN
    that contains the port. For XGS3, VlanFilter takes a value 0/1/2/3 where
    bit 0 turns on/off ingress filter and bit 1 turns on/off egress filter.
    PRIOrity sets the priority for untagged packets coming on this port.
    PortFilterMode takes a value 0/1/2 for mode A/B/C (see register manual).
    EEE: Energy Efficient Ethernet.
    ASF: Alternative Store and Forward (cut-thru mode).
    ASF Modes(in case of multimode asf): [0]SAF [1]Same Speed [2]Slow to Fast [3]Fast to Slow
    ASF Modes(in case regular asf): [0]Disable [1]Enable