Port configuration – ADLINK aTCA-N700 User Manual

Page 51

Advertising
background image

aTCA-N700 SW Users Guide

45

This is a shell environment provided by BCM SDK to configure the fabric Switch from
Broadcom for various functions. Refer to the Broadcom documents for the details.

In the following sections, we describe aTCA-N700 dependant configurations and their
commands.

8.3.1. Port configuration


Users can set the attributes of a port such as speed, auto-negotiation and enable by
‘port’ command.
‘port’ command usage is as shown below.


Usage (PORT): Parameters: <pbmp> [[ENCap=IEEE|HIGIG|B5632|HIGIG2]
[AutoNeg=on|off]

[ADVert=<portmode>]

[LinkScan=on|off|hw|sw]

[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]]

| [[EEE] [ENable=<enable|disable>|TxIDleTime=<0-2560>|TxWakeTime=<0-

2560>|STats=<get>]]

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.


Some examples of port command are described in the following.

** Set port xe0 ~ xe3 speed to be 10G and turn off auto-negotiation.


BCM.0> port xe0-xe3 sp=10000 an=off


** Display the status of port xe0 ~ xe25.


BCM.0> ps xe0-xe3
ena/ speed/ link auto STP lrn inter max loop
port link duplex scan neg? state pause discrd ops face frame back
xe0 up 10G FD SW No Forward TX RX None FA SFI 16356
xe1 up 10G FD SW No Forward TX RX None FA SFI 16356
xe2 up 10G FD SW No Forward TX RX None FA SFI 16356
xe3 up 10G FD SW No Forward TX RX None FA SFI 16356


** Disable port xe0.


BCM.0> port xe0 en=false

BCM.0> ps xe0
ena/ speed/ link auto STP lrn inter max loop
port link duplex scan neg? state pause discrd ops face frame back
xe0 !ena 10G FD SW No Forward TX RX None FA SFI 16356

Advertising