Rapid Spanning Tree Protocol Related Commands

Set RSTP Admin Edge

Command Name

rstp set adminedge

Description

Sets the Adminedge value of a port in a Vlan.

Syntax

rstp set adminedge <vlan id> <port no> <status>

Parameters

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

Examples

N-TRON/Admin#[1]> rstp set adminedge 1 1 disable

 

N-TRON/Admin#[2]> rstp set adminedge 2 2 enable

NOTES

 

Get RSTP Admin Edge

 

Command Name

rstp get adminedge

Description

Gets the Adminedge value of the given port in the given Vlan-Id.

Syntax

rstp get adminedge <vlan id> <port>

Parameters

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 .

Examples

N-TRON/Admin#[1]> rstp get adminedge 1 1

 

N-TRON/Admin#[2]> rstp get adminedge 2 2

NOTES

 

Set RSTP Auto Edge

 

Command Name

rstp set autoedge

Description

Sets the Autoedge value of a port in a Vlan.

Syntax

rstp set autoedge <vlan id> <port-no> <status>

Parameters

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

Examples

N-TRON/Admin#[1]> rstp set autoedge 1 1 disable

 

N-TRON/Admin#[2]> rstp set autoedge 2 2 enable

NOTES

 

Get RSTP Auto Edge

 

Command Name

rstp get autoedge

Description

Gets the Autoedge value of the given port in the given Vlan-Id.

Syntax

rstp get autoedge <vlan id > <port>

Parameters

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 .

Examples

N-TRON/Admin#[1]> rstp get autoedge 1 1

 

N-TRON/Admin#[2]> rstp get autoedge 2 2

NOTES

 

5/17/2007

page 127 of 138

Page 127
Image 127
N-Tron 9000 Series user manual Rapid Spanning Tree Protocol Related Commands, 17/2007 127