configure terminal 在 Switch 1 上进入配置状态 interface fastethernet0/1 进入要配置的端口 spanning-tree vlan 8 port-priority 10 将端口权值10赋与VLAN 8. spanning-tree vlan 9 port-priority 10将端口权值10赋与VLAN 9. spanning-tree vlan 10 port-priority 10将端口权值10赋与VLAN 10. interface faste...
管理引擎上的 Cisco IOS 使用show interfaces card-type{slot/port} 命令来显示错误计数器和统计信息。此命令的替代命令(对于Catalyst 6000、4000、3550、2970 2950/2955和3750系列交换机)是show interfacescard-type <slot/port> counters errors命令,该命令仅显示接口错误计数器。 有关错误计数器输出的说明,请参阅...
cat6k(config-if)#spanning-tree portfast enable!--- Refer tospanning-tree portfast (interface configuration mode)for more information on the command. Warning: Spantree port fast start can only be enabled on ports connected to a single host. Connecting hubs, concentrators, switches, bridges, etc....
switch#showcdpinterface[typemodle/port] switch#showcdpneighbors[typemodule/port][detail] 在基于CLI的交换机上启用和浏览CDP信息: switch(enable)setcdp{enable|disable}module/port 为了查看Cisco邻接设备的CDP通告信息: switch(enable)showcdpneighbors[module/port][vlan|duplex|capabilities|detail] 5.基于IOS的交...
switch(enable) set interface sc0 vlan switch(enable) set ip route default gateway 4.在基于IOS的交换机上启用和浏览CDP信息: switch(config-if)# cdp enable switch(config-if)# no cdp enable 为了查看Cisco邻接设备的CDP通告信息: switch# show cdp interface [type modle/port] ...
switch(enable) show cdp neighbors[module/port] [vlan|duplex|capabilities|detail] 5.基于IOS的交换机的端口描述: switch(config-if)# description description-string 基于CLI的交换机的端口描述: switch(enable)set port name module/number description-string 6.在基于IOS的交换机上设置端口速度: switch(config-...
Port configuration The following fields are configurable on each switch port. Name: Description of the port. Tags: Labels that can be used to identify this port or a group of ports. Port status: Enable/Disable the port. Stacking: Enable flexible stacking on this port. RSTP: Rapid Spanning ...
交换机支持的命令: 交换机基本状态: switch: ;ROM状态, 路由器是rommon> hostname> ;用户模式 hostname# ;特权模式 hostname(config)# ;全局配置模式 hostname(config-if)# ;接口状态 交换机口令设置: switch>enable ;进入特权模式 switch#config terminal ;进入全局配置模式 switch(config)#hostn 2、ame ;...
包括端口和 VLAN 的配置等。对于Cisco交换机,恢复出厂设置后,默认情况下,所有端口都将被禁用,除了Port0。这是因为Port0通常用于进行初始配置,可以通过Port0连接到交换机并使用命令行界面或其他管理工具进行交换机的基本配置。在初始配置完成后,可以将Port0重新配置为常规端口并进行常规网络交换操作。
交换机启动完成后按下Enter键,首先进入的就是用户模式,在些用户模式下用户将受到极大的限制,只能用来查看一些统计信息。Switch> 2.特权模式 在用户模式下输入enable(可简写为en)命令就可以进入特权模式,用户在该模式下可以查看并修改Cisco设备的配置。 Switch>en ...