CISCO交换机命令全集加说明4


Default
All ports are assigned to bridge group 1.
Command Mode
Interface configuration
Usage Guidelines
This command is available only when bridge groups are enabled.
If bridge groups can overlap, the bridge-group command adds a port to the bridge group specified by the bridge-group argument. If bridge groups cannot overlap, the port is moved from its current bridge group to the specified bridge group.
Example
The following example shows how to assign the Ethernet port 0/1 to bridge group 2:
hostname(config)# interface eth 0/1
hostname(config-if)# bridge-group 2
Related Commands
bridge (forwarding-time)
bridge (hello-time)
bridge (max-age)
bridge (priority)
bridge-group (allow-overlap)
bridge-group (enable)
show (bridge-group)
show (spantree)
spantree
bridge-group (allow-overlap)
Use the bridge-group allow-overlap global configuration command to allow ports to belong to multiple bridge groups. Use the no bridge-group allow-overlap command to prevent ports from belonging to multiple bridge groups.
bridge-group allow-overlap
no bridge-group allow-overlap
Syntax Description
This command has no additional arguments or keyWords.
Default
Ports are prevented from belonging to multiple bridge groups.
Command Mode
Global configuration
Usage Guidelines
This command is available only when bridge groups are enabled.
You cannot disable overlapping bridge groups when ports belong to multiple bridge groups.
Example
The following example shows how to permit ports to become members of multiple bridge groups.
hostname(config)# bridge-group allow-overlap
Related Commands
bridge (forwarding-time)
bridge (hello-time)
bridge (max-age)
bridge (priority)
bridge-group
bridge-group (enable)
show (bridge-group)
show (spantree)
spantree
bridge-group (enable)
Use the bridge-group enable global configuration command to enable port grouping using bridge groups. Use the no bridge-group enable command to use virtual LANs (VLANs) as the port grouping method.
bridge-group enable
no bridge-group enable
Syntax Description
This command has no additional arguments or keywords.
Default
Bridge groups are disabled.
Command Mode
Global configuration
Usage Guidelines
When you use the bridge-group enable command or the no bridge-group enable command, the switch resets.
When bridge groups are disabled, the command bridge-group enable is the only available bridge-group command. The following switch-feature commands are not available when bridge groups are enabled:
clear (vtp statistics) show (vlan-membership) trunk-vlan
ip (mgmt-vlan) show (vlan-membership server) uplink-fast

pagp-port-priority show (vtp) uplink-fast (multicast-rate)
port-channel (mode) show (vtp statistics) vlan
port-channel (preserve-order) spantree-option (vlan) vlan-membership
port-channel (template-port) spantree-template (forwarding-time) vlan-membership (reconfirm)
show (spantree-option) spantree-template (hello-time) vlan-membership (server)
show (spantree-template) spantree-template (max-age) vlan-membership (server retry)
show (trunk) spantree-template (priority) vtp
show (uplink-fast) spantree-template (vlan) vtp trunk pruning-disable
show (vlan) trunk

Example
The following example shows how to enable bridge groups:
hostname(config)# bridge-group enable
Related Commands
bridge (forwarding-time)
bridge (hello-time)
bridge (max-age)
bridge (priority)
bridge-group
bridge-group (allow-overlap)
show (bridge-group)
show (spantree)
spantree
bridge (hello-time)
Use the bridge hello-time global configuration command to configure the Spanning-Tree Protocol (STP) hello time for a bridge group. Use the no bridge hello-time command to use the default value.
bridge bridge-group hello-time time
no bridge bridge-group hello-time
Syntax Description
bridge-group Number from 1 to 4.

推荐阅读