Chapter 7 Service Configuration
Confidential and Proprietary Information of ZTE CORPORATION 117
Result: This sets trunk cost of the instance.
20. To set the trunk priority of the instance, use command
set stp instance <0-15> trunk < trunkid > priority <0-
255> in global configuration mode. This is shown in
Table
166.
TABLE 166 SET STP INSTANCE TRUNK PRIORITY COMMAND
Format Mode Function
set stp instance <0-
15> trunk < trunkid
> priority <0-255>
Global
config
This sets the port priority
of the instance
Result: This sets the port priority of the instance.
21. To set trunk root guard of the instance, use command
set stp instance <0-15> trunk <trunkname> root-guard
{enable|disable} in global configuration mode. This is
shown in
Table 167.
TABLE 167 SET STP INSTANCE TRUNK ROOT GUARD COMMAND
Format Mode Function
set stp instance <0-
15> trunk
<trunkname> root-
guard
{enable|disable}
Global
config
This sets trunk root guard
of the instance
Result: This sets trunk root guard of the instance.
22. To set trunk loop of the instance, use command set stp
instance <0-15> trunk <trunkname>loop-guard
{enable|disable} in global configuration mode. This is
shown in
Table 168.
TABLE 168 SET STP INSTANCE TRUNK LOOP-GUARD COMMAND
Format Mode Function
set stp instance <0-
15> trunk
<trunkname>loop-
guard
{enable|disable}
Global
config
This sets trunk loop of the
instance
Result: This sets trunk loop of the instance.
23. To set the mapping relation between the VLAN and
instance, use command set stp instance <0-
15>[add|delete] vlan <vlanlist>in global configuration
mode. This is shown in
Table 169.