|
| |
精品推荐 |
 |
|
| |
|
|
|
|
思科3550交换机配置(1)
|
日期:2007年7月28日 作者: 查看:[大字体
中字体 小字体]
|
这个例子展示怎样定义一个选择了GBT端口1-4,名为enet_list的接口范围宏,确认宏配置如下: Switch# configure terminal Switch(config)# define interface-range enet_list gigabitethernet0/1 -4 Switch(config)# end Switch# show running-config include define define interface-range enet_list GigabitEthernet0/1 -4 Switch# 这个例子展示怎样创建一个名为macrol的多接口宏: Switch# configure terminal Switch(config)# define interface-range macro1 gigabitethernet0/1 -2, fastethernet0/5 -7 Switch(config)# end Switch# 这个例子展示怎样把接口宏enet_list输入到接口范围配置模式: Switch# configure terminal Switch(config)# interface range macro enet_list Switch(config-if-range)# 这个例子展示怎样删除接口范围宏enet_list,并且确认他确实已被删除。 Switch# configure terminal Switch(config)# no define interface-range enet_list Switch# show run include define Switch# 更多的请看:http://www.qqread.com/windows/2003/index.html需要完整的有关该章的语法和应用信息,请参考Catalyst 3550 Multilayer Switch Command Reference和Cisco IOS Interface Command Reference for Release 12.1. 理解接口类型 这个部分描述了不同的接口类型,以及其它章节所包括的详细配置这些接口的一些参考内容。其他章节描述了物理接口特性的配置过程。 这部分包括:
基于端口的VLAN (Port-Based VLANs) 交换端口 (Switch Ports) 以太网通道端口组 (EtherChannel Port Groups) 交换虚拟接口 (Switch Virtual Interfaces) 被路由端口 (Routed Ports) 连接接口 (Connecting Interfaces) 基于端口的VLAN (Port-based Vlans) 一个Vlan是一个按功能、组、或者应用被逻辑分段的交换网络,并不考虑使用者的物理位置。要更多关于Vlan的信息请看“Configuring VLANS”。一个端口上接受到的包被发往属于同一个Vlan的接收端口。没有一个第三层的设备路由Vlan间的流量,不同Vlan的网络设备无法通讯。 为了配置普通范围(Normal-range) Vlan(Vlan IDs 1-1005),使用命令: config-vlan模式 (global) vlan vlan-id 或vlan-configuration模式 (exec) vlan database 针对Vlan ID 1-1005的vlan-configration模式被保存在vlan数据库中。为配置扩展范围(extended-range)Vlans (Vlan ID 1006-4094),你必须使用config-vlan模式,并把VTP的模式设为transparent透明模式。Extended-range Vlans不被添加到Vlan数据库。当VTP模式为透明模式,VTP和VLan的配置被保存在交换机的running-configration中,并且你可以把它保存在startup-configration文件中,命令为: (exec) copy running-config startup-config 添加端口到Vlan使用switchport接口配置命令:
上一篇:4000 2950 Etherchannel配置举例
下一篇:交换机端口镜像配置
|
| 相关文章: |
|
|
|
| 相关软件: |
|
|
|
|