分享
 
 
 

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

王朝other·作者佚名  2008-05-31
窄屏简体版  字體: |||超大  

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.

time Number from 1 to 10 seconds.

Default

The time argument default is 2 seconds.

Command Mode

Global configuration

Usage Guidelines

This command is available only when bridge groups are enabled.

Example

The following example shows how to configure a 3-second STP hello time for bridge group 2.

hostname(config)# bridge 2 hello-time 3

Related Commands

bridge (forwarding-time)

bridge (max-age)

bridge (priority)

bridge-group

bridge-group (allow-overlap)

bridge-group (enable)

show (bridge-group)

show (spantree)

spantree

bridge (max-age)

Use the bridge max-age global configuration command to configure the maximum age time in Spanning-Tree Protocol (STP) for a bridge group. Use the no bridge max-age command to set the argument to its default value.

bridge bridge-group max-age time

no bridge bridge-group max-age

Syntax Description

bridge-group Number from 1 to 4.

time Number from 6 to 40 seconds.

Default

The time argument default is 20 seconds.

Command Mode

Global configuration

Usage Guidelines

This command is available only when bridge groups are enabled.

Example

The following example shows how to set the maximum age time for STP to 22 seconds for bridge group 1.

hostname(config)# bridge 1 max-age 22

Related Commands

bridge (forwarding-time)

bridge (hello-time)

bridge (priority)

bridge-group

bridge-group (allow-overlap)

bridge-group (enable)

show (bridge-group)

show (spantree)

spantree

bridge (priority)

Use the bridge priority global configuration command to configure the Spanning-Tree Protocol (STP) bridge priority for a bridge group. Use the no bridge priority command to reset the bridge priority to its default value.

bridge bridge-group priority priority

no bridge bridge-group priority priority

Syntax Description

bridge-group Number from 1 to 4.

priority Number from 1 to 65535.

Default

The priority default is 32768.

Command Mode

Global configuration

Usage Guidelines

This command is available only when bridge groups are enabled.

Example

The following example shows how to configure STP bridge priority to 33000 for bridge group 1.

hostname(config)# bridge 1 priority 33000

Related Commands

bridge (forwarding-time)

bridge (hello-time)

bridge (max-age)

bridge-group

bridge-group (allow-overlap)

bridge-group (enable)

show (spantree)

spantree

cdp (advertise-v2)

Use the cdp advertise-v2 global configuration command to enable Cisco Discovery Protocol version 2 (CDPv2) on all switch interfaces. Use the no cdp advertise-v2 command to disable CDPv2 on the switch.

cdp advertise-v2

no cdp advertise-v2

Syntax Description

This command has no additional arguments or keywords.

Default

CDPv2 is enabled.

Command Mode

Global configuration

Example

The following example shows how to enable CDPv2 on all switch interfaces.

hostname(config)# cdp advertise-v2

Related Commands

cdp (enable)

cdp (holdtime)

cdp (timer)

show cdp (interface)

show cdp (neighbors)

cdp (enable)

Use the cdp enable interface configuration command to enable Cisco Discovery Protocol (CDP) on a port interface. Use the no cdp enable command to disable CDP on an interface.

cdp enable

no cdp enable

Syntax Description

This command has no additional arguments or keywords.

Default

CDP is enabled on all interfaces.

Command Mode

Interface configuration

Usage Guidelines

The cdp enable command is not available on repeater ports.

Example

The following example shows how to disable CDP on Fast Ethernet port interface 0/27.

hostname(config)# interface fastethernet 0/27

hostname(config-if)# no cdp enable

Related Commands

cdp (advertise-v2)

cdp (holdtime)

cdp (timer)

show cdp (interface)

show cdp (neighbors)

cdp (holdtime)

Use the cdp holdtime global configuration command to set the Cisco Discovery Protocol (CDP) hold time. Use the no cdp holdtime command to use the default value.

cdp holdtime holdtime

no cdp holdtime

Syntax Description

holdtime Number of seconds receiver keeps packet (5 to 255).

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有