HP 6125G HP 6125G & 6125G/XG Blade Switches High Availability Command - Page 87

reset smart-link statistics

Page 87 highlights

View undo protected-vlan [ reference-instance instance-id-list ] Smart link group view Default level 2: System level Parameters reference-instance instance-id-list: Specifies the MSTIs you want to reference in the form of instance-id-list = { instance-id [ to instance-id ] }&. The instance-id argument is an MSTI ID that ranges from 0 to 32. A value of 0 represents the common internal spanning tree (CIST). & means that you can specify up to 10 MSTI IDs or ID ranges. You can use the display stp region-configuration command to display the instance-to-VLAN mappings. Description Use protected-vlan to configure protected VLANs for a smart link group. Use undo protected-vlan to remove the protected VLAN configuration of the smart link group. By default, no protected VLAN is configured for a smart link group. If the reference-instance instance-id-list option is specified, the undo protected-vlan command removes configuration of VLANs mapped to the specified MSTIs. Otherwise, the command removes configuration of all protected VLANs. Before you assign ports to a smart link group, configure protected VLANs for the smart link group. You can remove the protected VLAN configuration of a smart link group when the group is empty but not after a member port is assigned to it. Removing a smart link group also removes its protected VLAN configuration. If the VLANs mapped to a referenced MSTI change, the protected VLANs also change. Configure the VLANs to which the member ports of a smart link group belong as the protected VLANs of the smart link group. Related commands: smart-link group; display stp region-configuration (Layer 2-LAN Switching Command Reference). Examples # Map VLANs 1 through 30 to MSTI 1, activate the MST region configuration, and configure the VLANs mapped to MSTI 1 as the protected VLANs of smart link group 1. system-view [Sysname] stp region-configuration [Sysname-mst-region] instance 1 vlan 1 to 30 [Sysname-mst-region] active region-configuration [Sysname-mst-region] quit [Sysname] smart-link group 1 [Sysname-smlk-group1] protected-vlan reference-instance 1 reset smart-link statistics Syntax reset smart-link statistics 82

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159

82
undo protected-vlan
[
reference-instance
instance-id-list
]
View
Smart link group view
Default level
2: System level
Parameters
reference-instance
instance-id-list
: Specifies the MSTIs you want to reference in the form of
instance-id-list
=
{
instance-id
[
to
instance-id
] }&<1-10>. The
instance-id
argument is an MSTI ID that ranges from 0 to
32. A value of 0 represents the common internal spanning tree (CIST).
&<1-10>
means that you can
specify up to 10 MSTI IDs or ID ranges. You can use the
display stp region-configuration
command to
display the instance-to-VLAN mappings.
Description
Use
protected-vlan
to configure protected VLANs for a smart link group.
Use
undo protected-vlan
to remove the protected VLAN configuration of the smart link group.
By default, no protected VLAN is configured for a smart link group.
If the
reference-instance
instance-id-list
option is specified, the
undo protected-vlan
command removes
configuration of VLANs mapped to the specified MSTIs. Otherwise, the command removes configuration
of all protected VLANs.
Before you assign ports to a smart link group, configure protected VLANs for the smart link group.
You can remove the protected VLAN configuration of a smart link group when the group is empty but not
after a member port is assigned to it.
Removing a smart link group also removes its protected VLAN configuration.
If the VLANs mapped to a referenced MSTI change, the protected VLANs also change.
Configure the VLANs to which the member ports of a smart link group belong as the protected VLANs of
the smart link group.
Related commands:
smart-link group
;
display stp region-configuration
(
Layer 2—LAN Switching
Command Reference
).
Examples
# Map VLANs 1 through 30 to MSTI 1, activate the MST region configuration, and configure the VLANs
mapped to MSTI 1 as the protected VLANs of smart link group 1.
<Sysname> system-view
[Sysname] stp region-configuration
[Sysname-mst-region] instance 1 vlan 1 to 30
[Sysname-mst-region] active region-configuration
[Sysname-mst-region] quit
[Sysname] smart-link group 1
[Sysname-smlk-group1] protected-vlan reference-instance 1
reset smart-link statistics
Syntax
reset smart-link statistics