SBC session border controllers 155
VLAN interface management commands
pvid
This command sets the default VID value for packets received by the port.
When an untagged packet or a packet with VID value in the VLAN tag equal to 0 is received, the packet is assigned
a VID value equal to PVID.
Syntax
pvid <num>Parameters
<num> — VLAN port ID number, specified in the range [1 ... 4094].
Default value
PVID = 1
Command mode
INTERFACE FRONT-PORT
INTERFACE PORT-CHANNEL
Example
SBC-2000-[CONFIG]-[SWITCH]-[if]> pvid 5
PVID 5 is assigned to the configured port.
STP/RSTP configuartion commands
spanning-tree enable
This command enables the STP function on the interface to be configured.
The use of the negative form of the command (no) forbids STP on interface.
Syntax
[no] spanning-tree enable
Parameters
Command contains no arguments.
Command mode
INTERFACE FRONT-PORT
INTERFACE PORT-CHANNEL
Example
SBC2000-[CONFIG]-[SWITCH]-[if]> spanning-tree enable
The STP feature is enabled for all front-port.
spanning-tree pathcost
This command sets the value of the STP path for the configurable interface.
The use of a negative form (no) of the command sets the default path cost value.
The default value is 0.