
(Revised 2010-7-2) page 134 of 145
Rapid Spanning Tree Protocol Related Commands
Set RSTP Admin Edge
Sets the Adminedge value of a port in a Vlan.
rstp set adminedge <vlan id> <port no> <status>
vlan id
Vlan Id containing the port for which the adminedge is to be set.
port no
Port number in the Vlan to be set.
status
Status of the adminedge of the port to be set.
Values of “enable” and “disable” are valid
N-TRON/Admin#[1]> rstp set adminedge 1 1 disable
N-TRON/Admin#[2]> rstp set adminedge 2 2 enable
Get RSTP Admin Edge
Gets the Adminedge value of the given port in the given Vlan-Id.
rstp get adminedge <vlan id> <port>
vlan id
Vlan Id containing the port for which the adminedge is to be viewed .
port
Port for which the adminedge value is to be viewed .
N-TRON/Admin#[1]> rstp get adminedge 1 1
N-TRON/Admin#[2]> rstp get adminedge 2 2
Set RSTP Auto Edge
Sets the Autoedge value of a port in a Vlan.
rstp set autoedge <vlan id> <port-no> <status>
vlan id
Vlan Id containing the port for which the autoedge is to be set.
port-no
Port number in the Vlan to be set.
status
Status of the autoedge of the port to be set.
Values of “enable” and “disable” are valid
N-TRON/Admin#[1]> rstp set autoedge 1 1 disable
N-TRON/Admin#[2]> rstp set autoedge 2 2 enable
Get RSTP Auto Edge
Gets the Autoedge value of the given port in the given Vlan-Id.
rstp get autoedge <vlan id > <port>
vlan id
Vlan Id containing the port for which the autoedge is to be viewed .
port
Port for which the autoedge value is to be viewed .
N-TRON/Admin#[1]> rstp get autoedge 1 1
N-TRON/Admin#[2]> rstp get autoedge 2 2