思科5000初始配置的具体步骤
Http://www.Egocbd.com 点击数: 更新时间:2010-2-4 11:18:35
下面就5505的配置步骤作简单描述:
1. Supervisor Engine Software 的配置:
首先Supervisor Engine Module 需要一个in-band(sc0)接口的IP地址,这是一个可管理的地址,可以通过telnet、SNMP来管理5505。此外还有一个SLIP(sl0)接口,这个接口不常用,这里不作介绍。
sc0缺省的IP地址是0.0.0.0,属于VLAN1。(VLAN1 是5505缺省的VLAN ,所有的端口都属于VLAN1。
配置如下,例:
Console> (enable)set interface sc0 ip_addr netmask
Console> (enable) set interface sc0 vlan_num
其次是缺省网关的设置:5505可以设置3个网关,其中两个是冗余网关
例:Console> (enable) set ip route default gateway [primary]
设置静态路由:例:Console> (enable) set ip route destination gateway
[metric]
2. 配置Fast EtherChannel:
Fast EtherChannel 提供高达800Mbps的带宽,Fast EtherChannel是由两个或四个具有Fast EtherChannel功能的快速以太网端口组成的,这些Channel 的mode有on、off、auto、desirable四种模式。组成channel的端口应是连续的端口。配置如下:
Console> (enable) set port channel mod_num/ports {on | off | auto |
desirable}
Console> (enable) show port channel
3. STP配置:
在5505上,STP缺省的配置是激活的,并且你只能enable或disable所有的VLANs,而不能针对某一个VLAN。通过对每个端口优先级的设置,可以实现相同链路的负载分担。常用命令如下:
Console> (enable) set spantree enable [vlan]
Console> (enable) set spantree portpri mod_num/port_num priority [vlans]
Console> (enable) set spantree portvlanpri mod_num/port_num priority
[vlans]
Console> (enable)set spantree disable [vlan]
Console> (enable) show spantree [mod_num/port_num]
4. VTP(VLAN Trunk Protocol)配置:
一个VTP域是由一些具有同一域名的交换机组成的,在配置VLAN应先决定在网络中是否使用VTP。一个VTP域管理第二层信息(即VLAN信息)如VLAN的增加、删除和重命名等,这些信息通过trunk link在域内广播。VTP有三种模式:Server、Client、Transparent,每台交换机只能有一种VTP模式。
在Server模式中,你能在交换机上配置VALN的信息如增加、删除VLAN,VTP Server把这些信息通过trunk link 广播给域内其它交换机,以同步VLAN信息。交换机上VTP缺省的模式是Server。
在Client模式中,交换机只能从VTP Server接收VLAN信息,不
1. Supervisor Engine Software 的配置:
首先Supervisor Engine Module 需要一个in-band(sc0)接口的IP地址,这是一个可管理的地址,可以通过telnet、SNMP来管理5505。此外还有一个SLIP(sl0)接口,这个接口不常用,这里不作介绍。
sc0缺省的IP地址是0.0.0.0,属于VLAN1。(VLAN1 是5505缺省的VLAN ,所有的端口都属于VLAN1。
配置如下,例:
Console> (enable)set interface sc0 ip_addr netmask
Console> (enable) set interface sc0 vlan_num
其次是缺省网关的设置:5505可以设置3个网关,其中两个是冗余网关
例:Console> (enable) set ip route default gateway [primary]
设置静态路由:例:Console> (enable) set ip route destination gateway
[metric]
2. 配置Fast EtherChannel:
Fast EtherChannel 提供高达800Mbps的带宽,Fast EtherChannel是由两个或四个具有Fast EtherChannel功能的快速以太网端口组成的,这些Channel 的mode有on、off、auto、desirable四种模式。组成channel的端口应是连续的端口。配置如下:
Console> (enable) set port channel mod_num/ports {on | off | auto |
desirable}
Console> (enable) show port channel
3. STP配置:
在5505上,STP缺省的配置是激活的,并且你只能enable或disable所有的VLANs,而不能针对某一个VLAN。通过对每个端口优先级的设置,可以实现相同链路的负载分担。常用命令如下:
Console> (enable) set spantree enable [vlan]
Console> (enable) set spantree portpri mod_num/port_num priority [vlans]
Console> (enable) set spantree portvlanpri mod_num/port_num priority
[vlans]
Console> (enable)set spantree disable [vlan]
Console> (enable) show spantree [mod_num/port_num]
4. VTP(VLAN Trunk Protocol)配置:
一个VTP域是由一些具有同一域名的交换机组成的,在配置VLAN应先决定在网络中是否使用VTP。一个VTP域管理第二层信息(即VLAN信息)如VLAN的增加、删除和重命名等,这些信息通过trunk link在域内广播。VTP有三种模式:Server、Client、Transparent,每台交换机只能有一种VTP模式。
在Server模式中,你能在交换机上配置VALN的信息如增加、删除VLAN,VTP Server把这些信息通过trunk link 广播给域内其它交换机,以同步VLAN信息。交换机上VTP缺省的模式是Server。
在Client模式中,交换机只能从VTP Server接收VLAN信息,不
上一篇:思科Catalyst6000/...下一篇:华为路由器交换机配置命令