《VDX6740学习基础配置文档资料.doc》由会员分享,可在线阅读,更多相关《VDX6740学习基础配置文档资料.doc(9页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、-+博科VDX交换机快速配置手册一、登录交换机1.1 串口线连接Windows平台:传输速率:9600bit/sec数据位 :8校验位 :None停止位 :1流控制 :None1.2 登录交换机 用户级别VDX Switch enable -只能使用?、ping 和 show命令VDX Switch # -查看交换机详细信息 全局配置模式VDX Switch # configure terminal VDX Switch (config) # -配置模式二、升级交换机固件1、给交换机配一个管理地址:VDX Switch # conf tVDX Switch # interface Manage
2、ment 1/0VDX Switch # ip address 10.77.77.76/242、使用FTP服务器升级固件VDX switch# firmware download interactivefirmware download interactiveServer name or IP address: 10.31.2.25File name: /users/home40/Builds/NOS_v5.0.0Protocol (ftp, scp, sftp): ftpUser: fvtPassword: *Do manual download y/n: nSystem sanity ch
3、eck passed.Do you want to continue? y/n: y使用USB升级固件VDX Switch # usb on VDX Switch # usb dirVDX Switch # firmware download usb directory nos6.0.0 coldboot Performing system sanity check.This command will cause a cold/disruptive reboot and will require that existing telnet, secure telnet or SSH sessio
4、ns be restarted.Do you want to continue? y/n:yChecking conditions for downloading to 6.0.0System settings check passed (0).检查升级后的版本VDX Switch # show version 三、调整时区+设置本地时间VDX Switch # clock timezone Asia/Shanghai (修改时区)VDX Switch # clock set 2015-05-21T16:10:00(设置本地时间)VDX Switch # show clock rbridge-
5、id 1: 2015-05-21 15:56:10 Asia/Shanghai四、设置timeoutVDX Switch (config)# line vty exec-timeout 5 (设置超时时间为5分钟)VDX Switch (config-line-vty)# do show running-config line vty line vtyexec-timeout 5!五、添加/移除license添加license:VDX Switch # license add licStr “*B H*#“ (添加license)移除license:VDX Switch # license r
6、emove licStr “FCOE_BASE“ (移除license)六、设置登录密码VDX Switch(config)# username admin role admin password password enable true七、修改设备名称VDX Switch # conf tVDX Switch (config)# switch-attributes 1 host-name VDX6740 chassis-name VDX6740八、关闭telnet:Switch(config)# telnet server shutdown 在VCS模式中关闭telnet:Switch(co
7、nfig)#rbridge-id 3Switch (config-rbridge-id-3)# telnet server shutdown启用telnet:Switch (config)# no telnet server shutdown九、组建VCS逻辑机箱同一个VCS 中每台VDX具有不同的RB-id和相同的VCSID: VDX Switch # vcs rbridge-id 1 vcsid 12 logical-chassis enable VDX Switch # show fabric islports all十、修改principle switchVDX switch# con
8、figureVDX switch(config)# rbridge-id 5VDX switch(config-rbridge-id-5)# logical-chassis principal-priority 1VDX switch(config-rbridge-id-5)# end VDX switch# logical-chassis principal-switchover十一、创建VLAN VDX Switch (config)# interface vlan 10 VDX Switch (config)# interface TenGigabitEthernet 1/0/1-4 V
9、DX Switch (conf-if-te-1/0/1-4)# switchport VDX Switch (conf-if-te-1/0/1-4)# switchport mode access VDX Switch(conf-if-te-1/0/1-4)# switchport access vlan 10十二、给VLAN配置IP地址VDX Switch (config)# rb 1VDX Switch (config-rbridge-id-1)# interface ve 10VDX Switch (config-rbridge-Ve-30)# ip address 172.168.2.
10、19/24VDX Switch (config-rbridge-Ve-30)# no shutdown 十三、配置生成树协议(STP/RSTP)VDX Switch (config)# protocol spanning-tree stp/rstpVDX Switch (config-stp)# bridge-priority 4096十四、配置多生成树(MSTP)VDX Switch (config)# protocol spanning-tree mstp VDX Switch (config-mstp)# instance 10 vlan 10-19 VDX Switch (config
11、-mstp)# instance 20 vlan 20-29VDX Switch (config-mstp)# instance 10 priority 4096VDX Switch (config)# interface TenGigabitEthernet 1/0/1-4 VDX Switch (conf-if-te-1/0/1-4)# switchport mode trunk VDX Switch (conf-if-te-1/0/1-4)# switchport trunk allowed vlan allVDX Switch (conf-if-te-1/0/1-4)# int te
12、2/0/1-4VDX Switch (conf-if-te-2/0/1-4)# switchport mode trunkVDX Switch (conf-if-te-2/0/1-4)# switchport trunk allowed vlan all 十五、配置vLAGVDX Switch (config)# interface Port-channel 10 VDX Switch (config-Port-channel-10)# vlag ignore-split VDX Switch (config-Port-channel-10)# switchport VDX Switch (c
13、onfig-Port-channel-10)# switchport mode trunkVDX Switch (config-Port-channel-10)# switchport trunk allowed vlan all VDX Switch (config-Port-channel-10)# no shutdownVDX Switch_1 (config)# int te 1/0/1VDX Switch (conf-if-te-1/0/1)# channel-group 10 mode active type standardVDX Switch_2 (conf-if-te-1/0
14、/1)# int te 2/0/1VDX Switch (conf-if-te-2/0/1)# channel-group 10 mode active type standard 十六、配置静态路由静态路由不是全局参数,需要进入到每台设备上配置:VDX SWITCH (config)# rb 1VDX SWITCH (config-rbridge-id-1)# ip route x.x.x.x/x x.x.x.xVDX SWITCH (config)# rb 2VDX SWITCH (config-rbridge-id-2)# ip route x.x.x.x/x x.x.x.x十七、配置O
15、SPF OSPF不是全局参数,需要进入到每台设备上配置:VDX SWITCH (conf)# rb 1 VDX SWITCH (config-rbridge-id-1)# router ospf VDX SWITCH (config-router-ospf-vrf-default-vrf)# area 0 VDX SWITCH (config-rbridge-id-1)# int ve 30VDX SWITCH (config-rbridge-Ve-30)# ip ospf area 0VDX SWITCH (config)# rb 2VDX SWITCH (config-rbridge-id
16、-2)# router ospf VDX SWITCH (config-router-ospf-vrf-default-vrf)# area 0VDX SWITCH (config-router-ospf-vrf-default-vrf)# int ve 30VDX SWITCH (config-rbridge-Ve-30)# ip ospf area 0十八、配置VRRP/VRRP-ERB1:VDX SWITCH (config)#rbridge 1VDX SWITCH (config)#protocol vrrp-extendedVDX SWITCH (config)#interface
17、ve 30VDX SWITCH (config)#vrrp-extended-group 30VDX SWITCH (config)#priority 125VDX SWITCH (config)#advertise-backup enable VDX SWITCH (config)#preempt-mode enable VDX SWITCH (config)# short-path-forwarding revert-priority 90VDX SWITCH (config)#vritual-ip 172.168.2.100VDX SWITCH (config)#track ten 1/
18、0/6 priority 20VDX SWITCH (config)#enable RB2:VDX SWITCH (config)#rbridge 2VDX SWITCH (config)#protocol vrrp-extendedVDX SWITCH (config)#interface ve 30VDX SWITCH (config)#vrrp-extended-group 30VDX SWITCH (config)#priority 120VDX SWITCH (config)#advertise-backup enable VDX SWITCH (config)#preempt-mo
19、de enable VDX SWITCH (config)# short-path-forwarding revert-priority 90VDX SWITCH (config)#vritual-ip 172.168.2.100VDX SWITCH (config)#track ten 2/0/6 priority 10VDX SWITCH (config)#enable 十九、配置FlexportVDX SWITCH (config)#hardwareVDX SWITCH (config-hardware)#flexport2/0/45VDX SWITCH (config-flexport
20、-2/0/45)#flexport2/0/46VDX SWITCH (config-flexport-2/0/46)#flexport2/0/47VDX SWITCH (config-flexport-2/0/47)#flexport2/0/48VDX SWITCH (config-hardware)#flexport2/0/45VDX SWITCH (config-flexport-2/0/45)#typefibre-channelVDX SWITCH (config-flexport-2/0/45)#flexport2/0/46VDX SWITCH (config-flexport-2/0
21、/46)#typefibre-channelVDX SWITCH (config-flexport-2/0/46)#flexport2/0/47VDX SWITCH (config-flexport-2/0/47)#typefibre-channelVDX SWITCH (config-flexport-2/0/47)#flexport2/0/48VDX SWITCH (config-flexport-2/0/48)#typefibre-channel二十、QSFP breakout 配置VDX SWITCH (config)#interface fortygigabitethernet 1/
22、0/49VDX SWITCH (conf-if-fo-1/0/49)# shutdownVDX SWITCH (conf-if-fo-1/0/49)#exitVDX SWITCH (config)#hardwareVDX SWITCH (config-hardware)#connector 1/0/49VDX SWITCH (conf-if-fo-1/0/49)#sfp breakoutVDX SWITCH (conf-if-fo-1/0/49)#do reload二十一、设置syslog服务器VDX SWITCH (config)# logging syslog-server x.x.x.x
23、二十、收集supportsave存放到到FTP服务器:VDX SWITCH (config)# copy support-interactiveServer Name or IP Address: 172.168.2.25Protocol (ftp, scp): ftpUser: adminPassword: *Directory:/home/admin/supportVCS support y/n? (y): y存放到到USB:switch# usb onUSB storage enabledswitch# usb dirfirmwarekey 0B 2010 Aug 15 15:13support 106MB 2010 Aug 24 05:36support1034 105MB 2010 Aug 23 06:11config 0B 2010 Aug 15 15:13firmware 380MB 2010 Aug 15 15:13Available space on usbstorage 74%switch# copy support usb directory support
限制150内