Cisco交换机3548配置
Http://www.Egocbd.com 点击数: 更新时间:2010-2-4 11:47:47
第一次连接交换机,配置终端参数为:
波特率:9600;数据位:8;停止位:1;奇偶校验:无;流控制:无。
通过串口线连上路由器后,按回车,即可看到配置向导:
(如果不是第一次配置,可以进入超级用户模式后用命令setup调用以下过程)
--- System Configuration Dialog ---
At any point you may enter a question mark '?' for help.任何时候可以打?取得帮助
Use ctrl-c to abort configuration dialog at any prompt.按Ctrl-C可以取消并退出
Default settings are in square brackets '[]'.默认参数在[]中
Continue with configuration dialog? [yes/no]: y继续交互配置吗?回答:y
Enter IP address: 10.1.1.249ip地址
Enter IP netmask: 255.255.255.0子网掩码
Would you like to enter a default gateway address? [yes]: y设置默认网关?y
IP address of default gateway: 10.1.1.254默认网关
Enter host name [3548_9A]:
The enable secret is a one-way cryptographic secret used
instead of the enable password when it exists.
Enter enable secret: _password输入超级用户密码
Would you like to configure a Telnet password? [yes]: y
Enter Telnet password: _password输入telnet密码
Would you like to enable as a cluster command switch? [yes/no]: n集群模式?n
The following configuration command script was created:已建立以下配置信息
ip subnet-zero
interface VLAN1
ip address 10.1.1.249 255.255.255.0
ip default-gateway 10.1.1.254
enable secret 5 $1$biZ3$AOLb9cMTtBwMtGB9lyBzr.
line vty 0 15
password _domainwlzx
snmp community private rw
snmp community public ro
!
end
Use this configuration? [yes/no]:使用该配置信息吗? y
修改配置:
禁止通过snmp管理:
3548>enable
password:
3548#config term
3548(config)#no snmp community private
3548(config)#no snmp community public
接着配置干道:(确定上级交换机对应端口已设为干道模式)
3548(config)#inter g0/1 选择第一个千兆口
3548(config if)# switchport mode trunk设为干道模式
如果g0/2用于连接另一台3548,也设为干道
3548(config)#inter g0/2
3548(config if)# switchport mode trunk
返回
3548(config if)# exit
3548(config)# exit
3548#
验证: ping 10.1.1.254
配置Vlan数据:
3548#vlan database
3548(vlan)#reset清除以前的配置
3548(vlan)#vtp client设为vtp客户模式
3548(vlan)#vtp dom
波特率:9600;数据位:8;停止位:1;奇偶校验:无;流控制:无。
通过串口线连上路由器后,按回车,即可看到配置向导:
(如果不是第一次配置,可以进入超级用户模式后用命令setup调用以下过程)
--- System Configuration Dialog ---
At any point you may enter a question mark '?' for help.任何时候可以打?取得帮助
Use ctrl-c to abort configuration dialog at any prompt.按Ctrl-C可以取消并退出
Default settings are in square brackets '[]'.默认参数在[]中
Continue with configuration dialog? [yes/no]: y继续交互配置吗?回答:y
Enter IP address: 10.1.1.249ip地址
Enter IP netmask: 255.255.255.0子网掩码
Would you like to enter a default gateway address? [yes]: y设置默认网关?y
IP address of default gateway: 10.1.1.254默认网关
Enter host name [3548_9A]:
The enable secret is a one-way cryptographic secret used
instead of the enable password when it exists.
Enter enable secret: _password输入超级用户密码
Would you like to configure a Telnet password? [yes]: y
Enter Telnet password: _password输入telnet密码
Would you like to enable as a cluster command switch? [yes/no]: n集群模式?n
The following configuration command script was created:已建立以下配置信息
ip subnet-zero
interface VLAN1
ip address 10.1.1.249 255.255.255.0
ip default-gateway 10.1.1.254
enable secret 5 $1$biZ3$AOLb9cMTtBwMtGB9lyBzr.
line vty 0 15
password _domainwlzx
snmp community private rw
snmp community public ro
!
end
Use this configuration? [yes/no]:使用该配置信息吗? y
修改配置:
禁止通过snmp管理:
3548>enable
password:
3548#config term
3548(config)#no snmp community private
3548(config)#no snmp community public
接着配置干道:(确定上级交换机对应端口已设为干道模式)
3548(config)#inter g0/1 选择第一个千兆口
3548(config if)# switchport mode trunk设为干道模式
如果g0/2用于连接另一台3548,也设为干道
3548(config)#inter g0/2
3548(config if)# switchport mode trunk
返回
3548(config if)# exit
3548(config)# exit
3548#
验证: ping 10.1.1.254
配置Vlan数据:
3548#vlan database
3548(vlan)#reset清除以前的配置
3548(vlan)#vtp client设为vtp客户模式
3548(vlan)#vtp dom
上一篇:Cata 3550的配置清单下一篇:常见远程交换机配置方式:Tel...