Example:
RP/0/RSP0/CPU0:router(config-pvstag-if-vlan)# port-id 111
Sets the port ID for the current switch.
Step 13 hello-time seconds
Example:
RP/0/RSP0/CPU0:router(config-pvstag-if-vlan)# hello-time 1
Sets the port hello time in seconds.
Allowed values are from 1 through 2.
Step 14 max age seconds
Example:
RP/0/RSP0/CPU0:router(config-pvstag-if-vlan)# max age 20
Sets the maximum age performance parameters for the bridge.
Allowed values for the maximum age time for the bridge in seconds are from 6 through 40.
Repeat steps 4 to 14 to configure each interface; repeat steps 5 to 14 to configure each VLAN on each interface.
Note
Step 15 Use the commit or end command.
commit - Saves the configuration changes and remains within the configuration session.
end - Prompts user to take one of these actions:
• Yes - Saves configuration changes and exits the configuration session.
• No - Exits the configuration session without committing the configuration changes.
• Cancel - Remains in the configuration mode, without committing the configuration changes.
Configuring Subinterfaces
For each VLAN that is enabled for PVSTAG on an interface, a corresponding subinterface that matches traffic
for that VLAN must be configured. This is used both for data switching and for PVST BPDUs. Follow these
guidelines when configuring subinterfaces:
• VLAN 1 is treated as the native VLAN in PVST. Therefore, for VLAN 1, a subinterface that matches
untagged packets (encapsulation untagged) must be configured. It may also be necessary to configure
a subinterface that matches packets tagged explicitly with VLAN 1 (encapsulation dot1q 1).
• Only dot1q packets are allowed in PVST; Q-in-Q and dot1ad packets are not supported by the protocol,
and therefore subinterfaces configured with these encapsulation will not work correctly with PVSTAG.
• Subinterfaces that match a range of VLANs are supported by PVSTAG; it is not necessary to configure
a separate subinterface for each VLAN, unless it is desirable for provisioning the data switching.
L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x
446
Implementing Multiple Spanning Tree Protocol
Configuring Subinterfaces