port-id
To set the port ID for the current switch, use the port-id command in MSTAG interface configuration, REPAG
interface configuration, PVSTAG VLAN configuration, or PVRSTAG VLAN configuration submode.
port-id id [startup-value startup-id]
Syntax Description
Interface port ID.
For MSTAG, REPAG and PVRSTAG the allowed range is between 1 to 4095.
For PVSTAG the allowed range is between 1 to 255.
id
Specifies an alternate value to use when the interface first comes up, while the
preempt delay timer is running.
startup-value
Sets the startup port ID.
startup-id
Command Default
If a startup value is not specified, it defaults to the normal value.
Command Modes
MSTAG interface configuration, REPAG interface configuration, PVSTAG VLAN configuration, PVRSTAG
VLAN configuration
Command History
ModificationRelease
This command was introduced.Release 3.7.1
This command was supported in the PVSTAG VLAN and PVRSTAG
VLAN configuration modes.
Release 4.0.0
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task
IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator
for assistance.
This command is used when configuring Access Gateway, to set the value of the port ID advertised in BPDUs
sent on this interface.
Task ID
OperationsTask ID
read, writeethernet-services (PVSTAG and PVRSTAG only)
read, writeinterface (MSTAG and REPAG only)
Cisco ASR 9000 Series Aggregation Services Router VPN and Ethernet Services Command Reference, Release
6.1.x
554
Multiple Spanning Tree Protocol Commands
port-id