AS4630 series - How to configure the port speed on 1G RJ45 switch ports manually? Follow
Purpose :
This article shows how to manually configure the port speed of RJ45 switch ports to 10M and 100M in Accton-Diag.
Model :
AS4630-54PE / AS4630-54TE
Procedure :
Step-1 Please power cycle the switch and boot into the ACCTON-DIAG
Use the below command to login to the BRCM shell.
root@(none):/# swutil -C -s
root@(none):/# cd /usr/local/bin/
root@(none):/usr/local/bin# ./bcm.user
<omit>
BCM.0>
Step-2 Check the default configuration in ACCTON-DIAG
For supporting 1G speed the "auto-negotiation" MUST be enabled. By default, the "auto-negotiation" is enabled.
You can use the below command to check the port status and settings. In the following example, we connected port1 to port2 directly. *The auto-negotiation shows yes means it enables.
BCM.0> ps ge0-ge1
ena/ speed/ link auto STP lrn inter max cut loop
port link Lns duplex scan neg? state pause discrd ops face frame thru? back encap
ge0( 26) up 1 1G FD SW Yes Forward TX RX None FA SGMII 12284 IEEE
ge1( 25) up 1 1G FD SW Yes Forward TX RX None FA SGMII 12284 IEEE
The port link will DOWN if we disabled the auto-negotiation. *The "an=0" parameter means disabled auto-negotiation.
BCM.0> port ge0-ge1 an=0
BCM.0> ps ge0-ge1
ena/ speed/ link auto STP lrn inter max cut loop
port link Lns duplex scan neg? state pause discrd ops face frame thru? back encap
ge0( 26) down 1 1G FD SW No Forward TX RX None FA SGMII 12284 IEEE
ge1( 25) down 1 1G FD SW No Forward TX RX None FA SGMII 12284
Step-3 Set port speed to 100M or 10M
For configuring 100M or 10M speed manually that the "auto-negotiation" MUST be disabled.
Configure the port speed to 100M:
BCM.0> port ge0-ge1 speed=100 an=0 if=sgmii MDIX=FA
BCM.0>
BCM.0> ps ge0-ge1
ena/ speed/ link auto STP lrn inter max cut loop
port link Lns duplex scan neg? state pause discrd ops face frame thru? back encap
ge0( 26) up 1 100M FD SW No Forward TX RX None FA SGMII 12284 IEEE
ge1( 25) up 1 100M FD SW No Forward TX RX None FA SGMII 12284 IEEE
Configure the port speed to 10M:
BCM.0> port ge0-ge1 speed=10 an=0 if=sgmii MDIX=FA
BCM.0>
BCM.0> ps ge0-ge1
ena/ speed/ link auto STP lrn inter max cut loop
port link Lns duplex scan neg? state pause discrd ops face frame thru? back encap
ge0( 26) up 1 10M FD SW No Forward TX RX None FA SGMII 12284 IEEE
ge1( 25) up 1 10M FD SW No Forward TX RX None FA SGMII 12284 IEEE
Comments
0 comments
Please sign in to leave a comment.