博科BrocadeSAN交换机常用命令
博科Brocade SAN交换机常用命令
1.查看IP地址命令 (2)
2.查看firmware版本 (2)
3.查看交换机状态 (2)
4.查看交换机license-id (3)
5.配置ZONE (3)
6.查看zone配置文件 (4)
7.查看ZONE (5)
8.查看系统日志信息 (6)
9.关机 (6)
10.设置博科Brocade交换机IP地址 (6)
11.博科brocade交换机查看OS版本信息 (6)
12.博科brocade交换机添加license授权信息 (7)
13.查看博科brocade交换机license授权信息 (7)
14.博科Brocade Slikworm 300交换机license (7)
15.博科Brocade交换机修改密码命令 (7)
16.博科 brocade SAN交换机密码重置 (7)
17.登陆后是用passwddefault命令恢复出厂密码 (9)
18.交换机升级 (9)
19.帮助信息 (13)
1.查看IP地址命令
swd77:admin>ipaddrshow
SWITCH
Ethernet IP Address: 10.77.77.77
Ethernet Subnetmask: 255.255.255.0
Fibre Channel IP Address: none
Fibre Channel Subnetmask: none
Gateway IP Address: none
DHCP: Off
swd77:admin>
2.查看firmware版本
swd211:admin>
swd211:admin>firmwareshow
Appl Primary/Secondary Versions
------------------------------------------
FOS v6.2.1
v6.2.1
3.查看交换机状态
swd211:admin>switchoshow
rbash: switchoshow: command not found
swd211:admin> switchshow
switchName: swd211
switchType: 34.0
switchState: Online
switchMode: Native
switchRole: Principal
switchDomain: 1
switchId: fffc01
switchWwn: 10:00:00:05:1e:02:a2:10
zoning: ON (FC01)
switchBeacon: OFF
Area Port Media Speed State Proto
=====================================
0 0 id N2 Online F-Port 50:08:05:f3:00:1b:4e:91
1 1 id N4 Online F-Port 10:00:00:00:c9:53:b2:8d
2 2 id N4 Online F-Port 10:00:00:00:c9:53:b3:c1
3 3 id N
4 Online F-Port 10:00:00:00:c9:53:b3:c2
4 4 id N4 Online F-Port 50:06:0b:00:00:66:00:c4
5 5 id N4 Online F-Port 50:06:0b:00:00:66:01:1e
6 6 id N2 Online F-Port 50:05:08:b3:00:93:b2:81
7 7 -- N4 No_Module
8 8 id N4 Online F-Port 50:01:43:80:04:c7:87:d8
9 9 id N4 Online F-Port 50:01:43:80:04:c7:87:dc
10 10 id N4 Online F-Port 50:01:43:80:06:31:cf:7c
11 11 -- N4 No_Module
12 12 -- N4 No_Module
13 13 -- N4 No_Module
14 14 -- N4 No_Module
15 15 -- N4 No_Module
swd211:admin>
4.查看交换机license-id
swd211:admin>
swd211:admin>licenseidshow
10:00:00:05:1e:02:a2:10
swd211:admin>
5.配置ZONE
案例:
1) Create Aliases
>alicreate “Eng_Host”,“1,0”
>alicreate “Eng_Stor”,“1,4; 1,5”
>alicreate “Mkt_Host”,“Mktwwn”
>alicreate “Mkt_Stor”,“s3wwn; s4wwn; s5wwn”
2) Create Zones
>zonecreate “Zone_Eng”,“Eng_Host; Eng_Stor”
>zonecreate “Zone_Mkt”,“Mkt_Host; Mkt_Stor”
3) Create Configuration
>cfgcreate “Cfg_EngMkt”,“Zone_Eng; Zone_Mkt”
sw4100:admin> cfgshow
Defined configuration:
cfg: Cfg_EngMkt
Zone_Eng; Zone_Mkt
zone: Zone_Eng Eng_Host; Eng_Stor
zone: Zone_Mkt Mkt_Host; Mkt_Stor
alias: Eng_Stor 1,4; 1,5
alias: Eng_Host 1,0
alias: Mkt_Stor 21:00:00:20:37:87:49:29; 21:00:00:20:37:87:e5:20; 21:00:00:20:37:87:20:c5
alias: Mkt_Host 21:00:00:20:37:87:23:e2
Effective configuration:
no configuration in effect
4) Enable Configuration
>cfgenable “Cfg_EngMkt”
sw4100:admin> cfgshow
Defined configuration:
cfg: Cfg_EngMkt
one_Eng; Zone_Mkt
zone: Zone_Eng Eng_Host; Eng_Stor
zone: Zone_Mkt Mkt_Host; Mkt_Stor
alias: Eng_Stor 1,4; 1,5
alias: Eng_Host 1,0
alias: Mkt_Stor 21:00:00:20:37:87:49:29; 21:00:00:20:37:87:e5:20; 21:00:00:20:37:87:20:c5
alias: Mkt_Host 21:00:00:20:37:87:23:e2
Effective configuration:
cfg: Cfg_EngMkt
zone: Zone_Eng 1,0; 1,4; 1,5
zone: Zone_Mkt 21:00:00:20:37:87:23:e2; 21:00:00:20:37:87:e5:20; 21:00:00:20:37:87:49:29; 21:00:00:20:37:87:20:c5
6.查看zone配置文件
swd211:admin>
swd211:admin>cfgshow
Defined configuration:
cfg: FC01 OADB_ML6030; SPC_MSA1000; SFDB_EVA4400; SFDB04_MSA1500; SFEVA4400_SMA
zone: OADB_ML6030
1,7; 1,14; 1,15
zone: SFDB04_MSA1500
1,10; 1,6
zone: SFDB_EVA4400
1,3; 1,4; 1,5; 1,7; 1,8; 1,9
zone: SFEVA4400_SMA
1,8; 1,9; 1,11
zone: SPC_MSA1000
1,0; 1,1; 1,2; 1,7
Effective configuration:
cfg: FC01
zone: OADB_ML6030
1,7
1,14
1,15
zone: SFDB04_MSA1500
1,10
1,6
zone: SFDB_EVA4400
1,3
1,4
1,5
1,7
1,8
1,9
zone: SFEVA4400_SMA
1,8
1,9
1,11
zone: SPC_MSA1000
1,0
1,1
1,2
1,7
swd211:admin>
swd211:admin>
7.查看ZONE
swd211:admin>zoneshow
Defined configuration:
cfg: FC01 OADB_ML6030; SPC_MSA1000; SFDB_EVA4400; SFDB04_MSA1500; SFEVA4400_SMA
zone: OADB_ML6030
1,7; 1,14; 1,15
zone: SFDB04_MSA1500
1,10; 1,6
zone: SFDB_EVA4400
1,3; 1,4; 1,5; 1,7; 1,8; 1,9
zone: SFEVA4400_SMA
1,8; 1,9; 1,11
zone: SPC_MSA1000
1,0; 1,1; 1,2; 1,7
Effective configuration:
cfg: FC01
zone: OADB_ML6030
1,7
1,14
1,15
zone: SFDB04_MSA1500
1,10
1,6
zone: SFDB_EVA4400
1,3
1,4
1,5
1,7
1,8
1,9
zone: SFEVA4400_SMA
1,8
1,9
1,11
zone: SPC_MSA1000
1,0
1,1
1,2
1,7
swd211:admin>
8.查看系统日志信息
swd211:admin>supportshow
日志比较多,建议log出来查看.
9.关机
swd211:admin>sysshutdown
10.设置博科Brocade交换机IP地址
博科交换机的默认IP地址是10.77.77.77,在命令行模式下可以通过ipaddrset命令对交换机的IP地址进行设置和修改
swd77:admin>ipaddrset
Ethernet IP Address [10.77.77.77]: #输入交换机需要设置的IP地址
Ethernet Subnetmask [255.255.255.0]: #输入掩码
Fibre Channel IP Address [none]:
Fibre Channel Subnetmask [none]:
Gateway IP Address [none]: # 输入网关
DHCP [Off]: #是否开启DHCP
swd77:admin>
11.博科brocade交换机查看OS版本信息
swd77:admin>version
Kernel: 2.6.14.2 //linux内核版本
Fabric OS: v6.1.0a // 交换机OS版本
Made on: Thu Apr 17 21:45:31 2008 // 生产日期
Flash: Tue Jan 13 23:33:44 2009
BootProm: 4.6.6
swd77:admin>
12.博科brocade交换机添加license授权信息
swd77:admin>licenseadd XXXXXXXX(博科的激活号)
13.查看博科brocade交换机license授权信息
在命令行模式下使用licenseshow命令可以查看博科交换机的授权情况,使用licenseadd 命令可以添加授权。
博科Brocade Slikworm 210E交换机授权情况
swd77:admin> licenseshow
RzcQSXXXCS0RTc:
Unknown1 license
S9zXXXCSzRTScl:
Unknown2 license
b9QQGGHJHARRdF:
Fabric license
swd77:admin>
其中两个Unknown1 和Unknown2这两个授权应该是两个4端口的授权。Fabric license是级联license授权,是我后来添加的,默认的210E交换机是没有的。
14.博科Brocade Slikworm 300交换机license
swd77:admin>licenseshow
XSCJBCmH3SARFa7BXrVVBGGFFRRXBArGR:
Fabric license //级联License
Enhanced Group Management license //增强组管理授权
8 Gig FC license //8Gb的授权
swd77:admin>
15.博科Brocade交换机修改密码命令
Brocade交换机在命令行模式下可以通过passwd命令来修改用户密码:
以brocade 300为例:
swd77:admin>passwd #使用passwd命令修改当前用户密码
Changing password for admin
Enter old password: #输入目前使用的密码
Enter new password: #输入新密码
Re-type new password: #确认新密码
passwd: all authentication tokens updated successfully
Saving password to stable storage.
Password saved to stable storage successfully.
swd77:admin>
16.博科 brocade SAN交换机密码重置
博科300的默认用户名是admin,默认密码是password。由于这台机器用户做过设置,密码改过了需要重设一下。博科交换机是没有reset按钮的,必须通过console线连接通过命令重置。
博科300的os是用的linux 2.6的核心,最高权限的管理帐号是root。重置交换机密码就是用这个帐号。
swd77 login: root
Password: fibranne
使用该帐号登陆后会出现下面的信息:
Disclaimer for Root and Factory Accounts Usage!
This Fibre Channel switch is equipped with Root and Factory accounts
that are intended for diagnostics and debugging purposes solely by
the Equipment vendor's trained engineers. Improper use of the
functionality made available through the Root or Factory account could
cause significant harm and disruption to the operation of the SAN fabric.
Your use of the functionality made available through the Root or Factory account is at your sole risk and you assume all liability resulting from
such use. The Equipment vendor shall have no liability for any losses
or damages arising from or relating to the use of the Root or Factory
account (and the functionality enabled thereby) by anyone other than
the Equipment vendor's authorized engineers.
Proceeding with the usage of this switch as the Root or Factory user
explicitly indicates your agreement to the terms of this disclaimer.
Please change passwords for switch default accounts now.
Use Control-C to exit or press 'Enter' key to proceed.
这里用Control-C结束就行了,如果回车会让分别设置各个帐号的密码,出现如下信息:Warning: Access to the Root and Factory accounts may be required for proper support of the switch. Please ensure the Root and Factory passwords are documented in a secure location. Recovery of a lost Root
or Factory password will result in fabric downtime.
for user - root
Changing password for root
Enter new password:
Password unchanged.
passwd: Authentication token manipulation error
Please change passwords for switch default accounts now.
for user - factory
Changing password for factory
Enter new password:
Password unchanged.
passwd: Authentication token manipulation error
Please change passwords for switch default accounts now.
for user - admin
Changing password for admin
Enter new password:
Password unchanged.
passwd: Authentication token manipulation error
Please change passwords for switch default accounts now.
for user - user
Changing password for user
Enter new password:
Password unchanged.
passwd: Authentication token manipulation error
17.登陆后是用passwddefault命令恢复出厂密码
swd77:root>passwddefault
Password policies are already set to default.
All account passwords have been successfully set to factory default.
swd77:root>
18.交换机升级
将Brocade 200E交换机现有微码版本v5.0.1b 升级至v6.2.1,具体操作步骤如下:
1、资源准备:网线一根,BROCADE 200E firmware version ,控制台(PC或笔记本),要安装Java JRE 1.5版本以上
2、设备连接:用网线将控制台(PC 或笔记本)的网卡连接到交换机的管理口上。
3、控制台环境设置:将控制台的网卡IP地址设备为10.77.77.1,子网掩码为
255.255.255.0。然后在控制台的安装FTP服务或软件,FTP的根目录设置为版本软件所在
的目录,并设置一个用户lab,密码为lab123。
确认控制台与交换机(brocade)的网络连接正常。执行以下命令:
Ping 10.77.77.77 (默认管理口地址)
4、登陆交换机:输入telnet 10.77.77.77 ,用户名为:admin,密码为:password,登
录到交换机。登陆进入后,会提示更改admin帐户的密码,如需更改直接回车,不更改则按ctrl + c 。
5、登录后输入firmwareshow,回车,可以查看现有的微码版本,如果不是v6.2.1,则需
要升级到v6.2.1。
Concept
1). Every Brocade switch has 2 partitions (one is master, the other is slave).
2). Switch can be upgrade online
3). Slave upgrade first, after the slave partition upgraded, slave partition become master, master become slave, then firmware copy from master to slave
Version Information:
Port Speed Product Firmware Version Upgrade info
2GB 3900 4.x or 5.x v5.2.0a or v5.3.0c
2GB 12000 4.x or 5.x v5.2.0a or v5.3.0c
4GB 42000 4.x or 5.x v5.2.0a or v5.3.0c
NOTICE:
1> when current Version is 4.4.2 or later, Please Online Upgrade.
2> Before Upgrade firmware, please backup current configuration.
3> Copy new version firmware packages to ftp server directory.
Upgrade Firmware process (Step by Step)
This is demo switch from Brocade Shanghai office. Don't change IP address please.
If you meeproblem
swd77 login: admin
Password:
swd77:admin> version
Kernel: 2.4.19
Fabric OS: v4.4.0d // Please check current version
Made on: Wed May 18 21:08:14 2007
Flash: Mon Jun 6 06:35:26 2007
BootProm: 4.5.0
swd77:admin>configupload //backup the switch configuration
Protocol (scp or ftp) [ftp]: ftp
Server Name or IP Address [host]: 202.134.79.36 //ftp server ip-address
User Name [user]: lab//ftp server user name
File Name [config.txt]: config.txt // specify configuration file name Password: //ftp server user password
Upload complete
swd77:admin>firmwaredownload//download new version firmware
You can run firmwareDownloadStatus to get the status of this command.
This command will cause the switch to reset and will
require that existing telnet, secure telnet or SSH
sessions be restarted.
Do you want to continue [Y]: y
Server Name or IP Address: 10.77.77.1//ftp server ip-address
User Name: admin //ftp server user name
File Name: /v5.1.0/v5.1.0/release.plist /v5.2.0/v5.2.0/release.plist
/v5.3.0/v5.3.0/release.plist
/v6.0.0/v6.0.0/release.plist
/v6.1.0/v6.1.0/release.plist
/v6.2.1/v6.2.1/release.plist
Password: //ftp server user password
注意: 升级需要30分钟的格式化,需要10分钟的备分区同步版本,总共花销时间需:40分钟
[0]: Sun Feb 19 05:59:40 2012 Firmware is being downloaded to the switch. This step may take up to 30 minutes.
[1]: Sun Feb 19 06:04:35 2012 Firmware has been downloaded to the secondary partition of the switch.
[2]: Sun Feb 19 06:06:15 2012 The firmware commit operation has started. This may take up to 10 minutes.
firmwareshow检查版本是否主分区与备分区同步
Firmwaredownload has started.
Start to install packages......
dir ##################################################
ldconfig ##################################################
glibc##################################################
bash ################################################## readline ################################################## terminfo ################################################## termcap ################################################## setup ################################################## swbd12-setup ################################################## which ################################################## findutils ################################################## bzip ################################################## zlib ################################################## chkconfig ################################################## fileutils ################################################## sed ################################################## textutils ################################################## procps ################################################## psmisc ################################################## modutils ################################################## sin ################################################## rcinit ################################################## misc ################################################## pam ################################################## util-linux ##################################################
sh-utils ################################################## popt ################################################## grep ################################################## rpm ################################################## sysvinit ################################################## man ################################################## less ################################################## gzip ################################################## tar ################################################## rsync ################################################## cpio ################################################## dev ################################################## swbd23-bootenv ################################################## wdtd ################################################## wget ################################################## fwdl ################################################## swbd23-prom ################################################## Please avoid powering off the system during prom update.
kernel ################################################## swbd21-drivers ################################################## pcmcia-cs ################################################## sysklogd ################################################## Write kernel image into flash. ..............................
Verification SUCCEEDED
Removing unneeded files, please wait ...
Finished removing unneeded files.
All packages have been downloaded successfully.
Firmwaredownload has completed successfully.
HA Rebooting ... // waiting for upgrade another controller
Fabric OS (swd77)
Firmwaredownload command has completed successfully.
swd77:admin>firmwareshow//check firmware version for all controller
Primary partition: v4.4.2
Secondary Partition: v4.4.2
swd77:admin>
-End-
19.帮助信息
swd211:admin>help
aaaconfig Configure RADIUS for AAA services
ad Specifies all administration domain (AD)-level operations
ag Configure the Access Gateway feature
agshow Displays the Access Gateway information registered with the fabric
agtcfgdefault Reset SNMP agent to factory default
aliadd Add a member to a zone alias
alicreate Create a zone alias
alidelete Delete a zone alias
aliremove Remove a member from a zone alias
alishow Print zone alias information
aptpolicy Get and set Advanced Performance Tuning policy auditcfg Modifies and displays audit log filter configuration.
auditdump Display audit log
authutil Get and set authentication configuration backplanetest Backplane connection test for multi-blade systems. backport Test for back-end ASIC pair to ASIC pair links. bannerset Set security banner
bannershow Display security banner
bcastshow Display broadcast routing information
bladedisable Disables all user ports on a blade.
bladeenable Enables all User Ports on a blade. bpportloopbacktest Functional test of port via blade processor path. bpturboramtest MBIST test for AP blade BP ASICs
burninerrclear Clear errors that are stored in the non-volatile storage
burninerrshow Display errors that are stored in the non-volatile storage
burninstatus Display the diagnostics burnin status.
camtest Verify QuickLoop's Content Addressable Memory
(CAM).SID translation
centralmemorytest Test ASIC central memory operation.
cfgactvshow Display Effective zone configuration information cfgadd Add a member to a configuration
cfgclear Clear all zone configurations
cfgcreate Create a zone configuration
cfgdelete Delete a zone configuration
cfgdisable Disable a zone configuration
cfgenable Enable a zone configuration
cfgmcdtmode Configure legacy MCDT zoning behavior
cfgremove Remove a member from a configuration
cfgsave Save zone configurations in flash cfgsaveactivetodefined Moves the effective configuration to the defined configuration
cfgshow Print zone configuration information
cfgsize Print size details of zone database
cfgtransabort Abort zone configuration transaction cfgtransshow Print zone configurations in transaction buffer chassisbeacon Set chassis beacon on or off
chassisconfig Display or set the chassis configuration chassisdisable Disable all ports in chassis
chassisenable Enable all ports in chassis
chassisname Display or set the chassis's Name
chassisshow Display all Field Replaceable Units (FRU) chipregshow Displays the port registers for a given chip number.
clihistory Displays a log of most recently executed CLI commands
cmemretentiontest Data retention test of the central memory SRAMs. cmitest Verify CMI bus between ASICs.
configdefault Reset config to factory default
configdownload Load switch config from a server
configlist List the stored config files
configremove Remove a stored config file
configshow Print switch config parameters
configupload Save switch config to a server
configure Set logical switch config parameters configurechassis Set chassis config parameters
cryptocfg Configure encryption node functions
datatypeshow Display available diagnostic data types.
date Print/set the system date and time
dbgshow Display debug levels of various modules
defzone Activates or deactivates a default zone configuration.
diagclearerror Clears diagnostics failure status. diagcommandshow Display diagnostic command descriptions. diagdisablepost Disable diagnostic POST.
diagenablepost Enable diagnostic POST.
diaghelp Display diagnostic command descriptions. diagloopid Select the diagnostics loop ID.
diagmodeshow Displays diagnostic mode configuration.
diagpost Displays the contents of port registers and memories.
diagretry Sets diagnostic retry mode
diagsetcycle Set diagnostic script parameters. diagsetesdmode Set or display ESD mode.
diagsetshowtime Set or display diagnostic show-time mode. diagshow Display diagnostic status.
diagshowtime Set or display diagnostic show-time mode. diagstatus Display currently running diagnostic tests. distribute Distributes data to switches in a fabric. dlsreset Turn off the dynamic load sharing (DLS) option dlsset Turn on the dynamic load sharing (DLS) option dlsshow Display the state of the dynamic load sharing option
dnsconfig Configure DNS service
enclosureshow Display the switch enclosure attributes
errclear Clear error log
errdelimiterset Sets the error log start and end delimiter for messages sent to the console and syslog
errdump Print error log (no page breaks)
errfilterset Sets a filter for an error log destination errmoduleshow Displays all the defined modules in the system errshow Print error log
fabportshow Display contents of a particular port's data fabretryshow Display retry count of various fabric commands fabriclog Displays or manipulates the fabric log fabricprincipal Configure Principal Switch Selection mode fabricshow Print fabric membership info
fabstateclear Clears the fabric state information fabstateresize Changes the number of state entries fabstateshow Displays the fabric state information fabstatsshow Displays the fabric statistics information fabswitchshow Display fabric switch state information fandisable Disables a fan unit.
fanenable Enables a fan unit.
fanshow Print fan status
fastboot Reboot this switch and bypass POST
fastwritecfg Configure FC fastwrite feature
fcipchiptest Functional Test of Components in FCIP Complex. fciphelp Print FCIP help info
fcippathtest Data Path Test of the FCIP complex.
fcping Sends a FC ELS ECHO request to a port fcplogclear Clear the FCP log
fcplogdisable Disable logging of FCP events
fcplogenable Enable logging of FCP events
fcplogshow Display FCP probing log information fcpprobeshow Display FCP probing information
fcprlsshow Display FCP RLS (read link state) information fcrbcastconfig Configure interfabric broadcast frame forwarding fcrchiptest Functional Test of FCR FPGA.
fcrconfigure Sets FC Router configuration parameters. fcrfabricshow Displays FC Routers on a backbone fabric.
fcrlsan Configure LSAN policies
fcrlsancount Display maximum LSAN zone limit.
fcrlsanmatrix Manage LSAN fabric matrix configuration.
fcrpathtest Data Path Test on Connection between FCR FPGA and Central ASIC.
fcrphydevshow Displays FC Router physical device information. fcrproxyconfig Displays or configures proxy devices presented by an FC Router.
fcrproxydevshow Displays FC Router proxy device information. fcrresourceshow Displays FC Router physical resource usage. fcrrouterportcost Modify FC Router port cost configuration. fcrrouteshow Displays FC Router route information.
fcrxlateconfig Displays or persistently configures a translate
(xlate) domain's domain ID for both
EX_Port-attached fabric and backbone fabric.
fddcfg fddcfg manages the fabric data distribution configuration parameters.
fdmicacheshow Display abbreviated remote FDMI device information according to remote domain ID
fdmishow Display detailed FDMI device information
ficonclear Clears contents of the specified FICON management database
ficoncupset Sets FICON-CUP parameters for a switch ficoncupshow Displays FICON-CUP parameters for a switch ficonhelp Displays FICON commands
ficonshow Displays contents of the specified FICON management database
filtertest Run frame filter test for bloom ASICs.
fipscfg Configure FIPS mode operation
firmwarecommit Commit firmware to stable storage firmwaredownload Download firmware into switch firmwaredownloadstatus Display the progress and status of firmwareDownload firmwarekeyshow Manage the keys used to check firmware signatures firmwarekeyupdate Manage the keys used to check firmware signatures firmwarerestore Restore the old firmware in the switch firmwareshow Display firmware versions in the switch
fosconfig Enable/disable FabOS services
fosexec Invoke command in alternate VF context
fporttest Functional test of F->N N->F point to point path.
framerpathtest Tests data path between ASICs
frureplace Replace a Field Replacable Unit
fspfshow Print FSPF global information
fwalarmsfilterset Configure alarms filtering for Fabric Watch fwalarmsfiltershow Show alarms filtering for Fabric Watch
fwclassinit Initialize all Fabric Watch classes
fwconfigreload Reload Fabric Watch configuration
fwconfigure Configure Fabric Watch
fwfrucfg Configure FRU state and notification
fwhelp Print Fabric Watch help info
fwmailcfg Configure Fabric Watch Email Alert
fwportdetailshow Create a report with detailed port information fwsamshow Show availability monitor information
fwset Set port persistence time
fwsettocustom Set boundary & alarm level to custom
fwsettodefault Set boundary & alarm level to default
fwshow Show thresholds monitored and port persistence time grep Linux grep command
h Print shell history
hadisable Disables the High Availability feature in the switch.
hadump Displays information about the status of the High Availability feature in the switch.
haenable Enables the High Availability feature in the switch hafailover Forces the failover mechanism so that the Standby Control Processor (CP)becomes the Active CP. hashow Displays control processor (CP) status
hasyncstart Enables HA state synchronization.
hasyncstop Disables the HA state synchronization.
help Print this list
historylastshow Displays last history record
historymode Display or set the mode of the history log historyshow Displays entire history log
httpcfgshow Used to show the version of the Java plug-in used by the Webtools
i Display process summary
iclcfg Configure ICL state
ifmodeset Set the link operating mode for a network interface ifmodeshow Display the link operating mode for a network interface
interfaceshow Display the FSPF (TM) interface information interopmode Displays/enables/disables Brocade switch interoperability with switches from other
manufacturers
ioddelayreset Configure in-order-delivery (IOD) delay parameter ioddelayshow Configure in-order-delivery (IOD) delay parameter iodreset Turn off the in-order delivery (IOD) option
iodset Manage the in-order delivery (IOD) option
iodshow Display the state of the in-order delivery option ipaddrset Set ethernet and FC IP addresses
ipaddrshow Print ethernet and FC IP addresses
ipfilter Manage/display IP filters
ipsecconfig Configure IPSec feature
iscsihelp Print iSCSI help info
islshow Display the current connections and status
killtelnet Terminate telnet/serial login sessions
interactively
ldapcfg Configure LDAP role mapping
ledtest Cycle system LEDs.
lfcfg Configure logical fabrics
lfexec Invoke command in alternate VF context
licenseadd Adds license keys to switch
licensehelp Print license help info
licenseidshow Displays the system license ID
licenseport Configure per-port POD license assignments licenseremove Removes a license key from this system
licenseshow Displays current license keys
linkcost Set or print the FSPF cost of a link
login Login as a new user
logout Logout from remote session
loopporttest Functional test of L-port M->M path on a loop.
lscfg Configure logical switches
lsdbshow Displays the FSPF link state database
memshow Display memory usage in the system.
minispropshow Displays ASIC pair properties.
more Linux more command
mscapabilityshow Display Management Server Capability.
msconfigure Configure Management Server
msplatshow Display the Management Server Platform Database msplatshowdbcb Display the Management Server Database Control
Block
msplcleardb Clear the Management Server Platform Database fabric-wide
msplmgmtactivate Activate the Management Server Platform Database fabric-wide
msplmgmtdeactivate Deactivate the Management Server Platform Database fabric-wide
mstddisable Disables the Management Server Topology Discovery
Management Service
mstdenable Enables the Management Server Topology Discovery Management Service
mstdreadconfig Display status of Management Server Topology
Discovery Service
myid Display the current login session details nbrstateshow Display FSPF (TM) neighbors' states
nbrstatsclear Reset the FSPF (TM) interface counters
netstat Display network connections and statistics nodefind Display all the devices' PID matching the given world wide name
nsaliasshow Display local Name Server information with Aliases nsallshow Print global Name Server information
nscamshow Print local Name Server Cache information
nsshow Print local Name Server information information nszonemember Display the information of all the online devices which are zoned with the given device.
opensource Display information on open source software utilized in FabOS
passwd Set usernames and passwords
passwdcfg passwdcfg manages the password policies.
pathinfo Display routing information between two ports pdshow Show information from Panic Dump file perfaddeemonitor Add end-to-end monitor
perfaddipmonitor Add monitor for IP trafic frame count perfaddreadmonitor Add filter-based monitor - SCSI Read perfaddrwmonitor Add monitor - SCSI Read and Write perfaddscsimonitor Add monitor for SCSI frame count perfaddusermonitor Add filter-based monitor
perfaddwritemonitor Add filter-based monitor - SCSI Write
perfcfgclear Clear Performance settings from FLASH perfcfgrestore Restore Performance configuration from FLASH perfcfgsave Save Performance configuration to FLASH perfclearalpacrc Clears the CRC error count associated with a port and Arbitrated Loop Physical Address (AL_PA).
perfcleareemonitor Clears statistics counters of one or more
end-to-end performance monitors.
perfclearfiltermonitor Clears counters of one or more filter-based performance monitors.
perfdeleemonitor Delete end-to-end monitor
perfdelfiltermonitor Delete filter-based monitor
perfhelp Print Performance Monitoring help info perfmonitorclear Clear end-to-end/filter-based/ISL monitors perfmonitorshow Show end-to-end/filter-based/ISL monitors
perfsetporteemask Set overall mask for end-to-end monitors perfshowalpacrc Get ALPA CRC count by port and ALPA perfshoweemonitor Show user-defined end-to-end monitors perfshowfiltermonitor Show filter-based monitors
perfshowporteemask Show the current end-to-end mask
perfttmon Configure bandwidth usage monitor
ping Display the link operating mode for a network interface
ping6 Display the link operating mode for a network interface
pkicreate Creates public key infrastructure (PKI) objects pkiremove Removes existing public key infrastructure (PKI) objects
pkishow Displays existing public key infrastructure (PKI) objects
policy Configure IPSec encryption and authentication algorithms
portaddress Configure low 16 bits of Fibre Channel Porrt ID portalpashow Show the ALPAs of a port
portbuffershow Print the buffer allocations for the ports of a quad
portcamshow Display filter utilization
portcfg Create/Delete a new ip interface/route/arp entry on the GigE port
portcfgalpa Set AL_PA to 0x0 (default) or 0x13 portcfgautodisable Configure auto disable
portcfgcreditrecovery Configure credit recovery
portcfgdefault Restore the port configuration to defaults portcfgeport Enable/Disable a port from becoming E_Port portcfgexport Sets a port to be an EX_Port and sets and displays EX_Port configuration parameters.
portbeacon Configure a port to do port beacon
portcfgfillword Configure a port to a particular fill word portcfgfportbuffers Configure F_Port buffers
portcfggport Lock a port as a G_Port
portcfgislmode Configure a port to be ISL R_RDY Mode
enabled/disabled
portcfglongdistance Configure a Long Distance Port
portcfglosstov Configure frontend port signal debounce
portcfglport Lock a port as a L_Port
portcfgnpivport Enables and disables NPIV functionality on a port. portcfgnport Enable/disable N_Port capability for a port portcfgpersistentdisable Persistently disable a port
portcfgpersistentenable Enable a persistently disabled port
博科BROCADE交换机常用命令与zone配置
telnet 10.77.77.77 admin password ctrl+c Help 不带任何参数会列出所有交换机的命令 带参数时输出如下 Switchshow 查看交换机状态 Chassisshow 显示外壳信息.重要的是可以显示序列号
Configure, 以菜单的形式对交换机进行配置.这个命令需要先使用switchdisable命令将交换暂停使用.第一个选项Fabric parameters 如选yes.那么我们可以进入他的子选项去更改domain ID. Configdefault 恢复出厂默认设置,也需要先做switchdisable Licenseshow, licenseadd, licenseremove, license的添加,查看,删除命令 configupload 和configdownload,可以将配置文件上传或下载.支持ftp scp和local ipAddrShow和ipAddrSet,查看设置管理端口的IP地址
Version: 查看firmware 版本 Sfpshow查看sfp状态 Userconfig 查看和配置登陆账号
Domainsshow 查看交换机的domain信息 Zone 的配置 Zoning是Brocade交换机上的标准功能,通过在SAN网络中交换机上进行Zoning的配置,可以将连接在SAN网络中的设备,逻辑上划分为不同的区域,使各区域的设备相互间不能访问,是网络中的主机和设备间相互隔离 Zone的配置示例
创建Members,就是给端口或wwn创建别名,这里创建了3个别名,每个别名包括3个端口. 红线标出的1,1表示domain1 中的1号端口. 创建Zones 通过zonecreate 命令可以将别名,或端口名添加到zone中. 创建Configurations.将创建的zone添加到配置中.
华为交换机常用命令
华为交换机常用命令 1年。进入管理界面:系统视图 2。设置用户登录时需要的密码认证,认证密码为华为[魁伟]用户界面0 [魁伟-ui0]认证模式密码 [魁伟-ui0]设置认证密码简单华为 3。设置从用户界面登录后可访问的命令级别:用户权限级别将从用户界面登录后可访问的命令级别恢复为默认级别:撤消用户权限级别4。系统IP配置: a。创建并进入管理vlan接口视图:接口vlan-接口vlan-id删除管理VLAN:撤消接口VLAN-接口vlan-id b .配置管理VLAN接口ip地址:IP地址IP-地址网络掩码删除除管理VLAN接口IP地址:撤消IP 地址[IP-地址网络掩码] 5。进入以太网0/1以太网端口视图 [静音]接口以太网0/1 6。将以太网0/1配置为中继端口,并允许VLAN(如2、6到50和100)通过[静音-以太网0/1]端口链接型中继 [静音-以太网0/1]端口中继允许VLAN 26到50 100创建VLAN 100[魁伟] vlan 100
配置端口以太网0/1默认VLAN ID为100[安静-以太网0/1]端口中继pvid VLAN 100 7。创建VLAN并进入VLAN视图:VLAN _ id 删除创建的VLAN:撤消VLAN { VLAN _ id[到VLAN _ id] |全部} 8。为指定的VLAN添加以太网端口:端口接口列表 删除指定的VLAN的一些以太网端口:撤消端口接口列表 创建虚拟局域网2并进入其视图[魁伟] vlan 2 向vlan 2添加端口以太网0/1和以太网0/2[魁伟-VLAN 2]端口以太网0/1以太网0/2创建虚拟局域网3并进入其视图[魁伟-vlan2] vlan 3 向vlan 3添加端口以太网0/3和以太网0/4[魁伟-VLAN 3]端口以太网0/3以太网0/4 9。在以太网端口视图下打开/关闭以太网端口:关闭:关闭打开:撤消关闭 10。端口描述:描述文本 删除端口描述:撤消描述文本 11。设置端口双工状态: 双工{自动/全/半}恢复默认值:撤消双工默认为自协商 注意:当华为交换机连接到思科交换机时,应指定端口的双工状态和速度。两个对接端口设置为一致的 12。设置端口广播风暴抑制比:广播-抑制PCT 返回默认值:撤消广播-抑制PCT
实验三 交换机配置方式及基本命令的熟悉文档
实验三交换机配置方式及基本命令的熟悉 【实验目的】 通过对交换机设备的几种配置手段、配置模式和基本配置命令的认识,获得交换机的基本使用能力。 【实验任务】 1、认识交换机的配置方式。 2、按照给出的参考拓扑图构建逻辑拓扑图。 3、按照给出的配置参数表配置各个设备。 4、练习交换机的一些基本命令。 建议实验学时:2学时。 【实验背景】 在前面的实验中我们已经接触了Cisco的路由器运行的Cisco互联网络操作系统(ISO,Internetwork Operating System),熟悉了Cisco IOS软件内置的命令行界面(CLI,command-line interface)。同样,交换机可以通过一个菜单驱动程序的界面,或者通过命令行界面(CLI),或者在交换机配置了IP地址后通过Telnet远程登录、web登录的方式对交换机来进行配置。 交换机除了可以通过Console端口与计算机直接连接外,还可以通过交换机的普通端口进行连接。如果是堆叠型的,也可以把几台交换机一起进行配置,因为实际上这个时候它们是一个整体,这时通过普通端口对交换机进行管理时,就不再使用超级终端了,而是以Telnet 虚拟终端或Web浏览器的方式实现与被管理交换机的通信。前提是在本地配置方式中已为交换机配置好了IP地址,我们可通过IP地址与交换机进行通信,不过要注意,只有是网管型的交换机才具有这种管理功能。实际上最常用的Catalyst交换机OS被称为Catalyst OS、CatOS,其最大的特点是基于set 命令。但我们常用的是与路由器的IOS相类似的基于IOS 的Catalyst OS。下面简单介绍交换机的各种命令模式以及各种常用的命令。 表4.1交换机的各种命令模式的访问方式、提示符、退出方法及其描述
Brocade FWS 日常维护介绍 博科交换机配置命令
日常维护命令介绍
? 2011 Brocade Communications Systems, Inc.
10
Console Port
DB-9 male interface. VT-100 terminal - straight-through cable (female to female not a null-modem).
The VT-100 configuration is: 9600 Baud 8 Data Bits Parity = None Stop Bits = 1 Flow Control = None For MODEM Cross-Over cable (typically a DB-9F to DB-25F cable)
? 2011 Brocade Communications Systems, Inc.
11
Stackables Layout
1 2
3 4
5 6
7 8
Link / Act
? 2011 Brocade Communications Systems, Inc.
FDX 100
12
Command Line Interface (CLI) Basics
Configure via character-based terminal/session Direct Connect to the Serial Port or Telnet to the System “?” at any prompt shows available commands SW-FI4802-PREM>? enable fastboot ping show stop-traceroute traceroute Enter Privileged mode Select fast-reload option Ping IP node Display system information Stop current TraceRoute TraceRoute to IP Node
“?” At end of character string SW-FI4802-PREM> s? will list commands show Display system information that begin with stop-traceroute Stop current TraceRoute that string SW-FI4802-PREM> stop-traceroute ^? “^?” At the end of a character string will list
Commands can be abbreviated
? 2011 Brocade Communications Systems, Inc.
13
(完整版)华为交换机常用命令大全
华为交换机常用配置大全 2010-02-27
目录 一、基础配置举例 (3) 1.1配置文件处理 (3) 1.2配置交换机远程管理 (3) 二、以太网配置举例 (5) 2.1配置端口属性 (5) 2.2配置链路聚合 (7) 2.3配置VLAN (8) 9.配置MSTP (15) 三、可靠性 (22) 3.1配置基于主备份VRRP (22) 3.2配置基于负载分担VRRP (23) 四、IP路由 (25) 4.1配置静态路由 (25) 4.2配置动态路由 (26) 五、IP业务 (28) 5.1配置虚接口IP地址 (28) 5.2DHCP设置 (29) 5.3 ACL 举例 (32) 六、IGMP (33)
七、QOS (34) 八、安全性 (35) 8.1接口安全 (35) 九、网络管理 (36) 9.1简单网络管理协议配置 (36) 十、设备管理 (38) 10.1测试命令 (38) 一、基础配置举例 1.1配置文件处理 导入配置文件 tftp x.x.x.x get vrpcfg.zip vrpcfg.zip 导出配置文件 tftp x.x.x.x put vrpcfg.zip vrpcfg.zip 1.2配置交换机远程管理 aaa 方式 system-view aaa local-user huawei password simple huawei local-user huawei service-type telnet
local-user huawei priority level 3 quit user-interface vty 0 4 authentication-mode aaa quit 没有密码和使用密码认证同上
配置H3C交换机常用命令
H3C交换机常用步骤和命令 1.进入命令行sys 2.给交换机命名: sysname fuwuqi2 3.创建所属vlan: vlan 114 4.描述vlan 114 及分配情况: description fuwuqi2 5.把24个口划分到vlan114中: port e 1/0/1 to e 1/0/24 6.退出: quit 7.进入vlan 114: vlan 114 8.查看千兆口信息: dis int g 9.把25,26两个千兆口加到vlan 114中: port g 1/0/25 to g 1/0/26 10.退出: quit 11.进入vlan114 : int vlan 114 12.查看本接口信息dis this 13.退出quit 14.进入vlan 114虚接口下(可以配置管理地址):interface vlan-interface 114 15.配置管理地址ip address 111.115.76.98 27 16.查看信息dis this 17.退出quit 18.配置默认路由ip route-static 0.0.0.0 0.0.0.0 111.115.76.97(分别是目 的地址子网掩码网关) 19.建立一个登陆交换机的用户名local-user fuwuqi2 20.设置登陆密码password cipher fuwuqi2_2918 21.设置用户管理等级0-3,3是超级管理员authorization-attribute level 3 22.设置用“telnet”方式登陆service-type telnet 23.退出quit 24.打开telnet服务telnet server enable 25.设置0-5共6个用户可同时远程登陆user-interface vty 0 5 26.设置用户登陆方式,scheme是用户名+密码authentication-mode scheme 27.查看当前配置信息dis this 28.查看当前所有配置dis cur 29.保存配置信息save 30.查看交换机上有哪些VLAN dis vlan 31.查看各交换机端口状态及vlan情况: dis brief int 32.将某个端口加入到某个vlan中:sys Vlan 111 Port eth 1/0/1 33.查看当前各端口流量情况: dis int 34.查看交换机上mac地址:dis mac-address 物理地址 35.查看CPU占用:dis cup 36.静态IP与MAC地址绑定(不与端口绑定): sys arp static 192.168.11.204 0005-5d02-f2b3 查询:dis arp 192.168.11.204 取消:undo arp 192.168.11.204
Brocade光纤交换机常用命令
标签:? 2013-12-24 10:19?2062人阅读?(0)?? ?分类: San IBM的双机双柜,两光纤交换机分别引一根光纤到另一楼光纤交换机,插上无反应,后得知需要更改交换机的domain id 默认出厂为1。需改为不同号。下面是博科的交换机命令转。 Brocade SAN交换机常用命令 默认用户名:admin,默认密码password 1. switchStatusShow 查看交换机的总体健康状态 switch:admin> switchstatusshow Switch Health Report Switch Name: SWFCR SwitchState: MARGINAL Duration: 863:23 Power supplies monitor MARGINAL Temperatures monitor HEALTHY Fans monitor HEALTHY WWN servers monitor HEALTHY Standby CP monitor HEALTHY Blades monitor HEALTHY Flash monitor HEALTHY Marginal ports monitor HEALTHY Faulty ports monitor HEALTHY Missing SFPs monitor HEALTHY All ports are healthy switch:admin> 2. switchShow 查看交换机基本配置信息 Enter the switchShow command, which displays the following information for a switch: - switchname - The switch name. - switchtype - The switch model and firmware version numbers. - switchstate - The switch state: Online, Offline, Testing, or Faulty. - switchrole - Displays the switch role: Principal, Subordinate, or Disabled. - switchdomain - Displays the switch Domain ID. - switchid - The embedded port D_ID of the switch. - switchwwn - The switch World Wide Name.
华为交换机常用命令配置介绍
华为交换机配置命令 华为QuidWay交换机配置命令手册: 1、开始 建立本地配置环境,将主机的串口通过配置电缆与以太网交换机的Console口连接。 在主机上运行终端仿真程序(如Windows的超级终端等),设置终端通信参数为:波特率为9600bit/s、8位数据位、1位停止位、无校验和无流控,并选择终端类型为VT100。 以太网交换机上电,终端上显示以太网交换机自检信息,自检结束后提示用户键入回车,之后将出现命令行提示符(如
H C交换机常用配置命令
H3C交换机常用配置命令 一、用户配置
博科光纤交换机操作手册
与交换机交互,可以使用三种方式: 串口 以太网口 光纤口 缺省的串口参数是:9600,N,8,1 缺省IP访问方式是: IP地址: 10.77.77.77 用户名: admin 密码:password 时区: Pacific time 交换机名称:switch 可使用ipAddrSet命令来重新设置交换机的IP地址。 在2000和3000系列交换机之中,只能同时支持一个Telnet进程。 Brocade的交换机可以使用命令行和图形界面方式进行管理。 代表性的CLI方法代表性的如:Telnet,HyperTerm和tip。对于Fabric OS v4.1,SSH v2可以被使用。 如果Brocade Secure Fabric OS被设置有效,CLI 接口必须是Brocade Secure Telnet. Brocade API v2.1提供给用户扩展访问到交换机的方法;可以轻松的整合Brocade SAN Fabric的智能到已经存在的管理应用中,或者快速的开发用户SAN 的特殊功能。该工具包可以通过Brocade Connect 站点获得。 Brocade Fabric Manager v4.0 是一个实时管理多台Brocade 光纤交换机的很好的一个工具,它提供了有效的配置、监控、动态资源分配管理。 Brocade Web Tool是一个直观简单的管理小型SAN网络的管理工具。运行支持JRE的Web Browser上。 Brocade 提供基于SNMP的MIBs用来在交换机上读和配置公共设置。
串口管理: n 一条串口连接电缆 DB9 (female-to-female) n 使用超级终端或UNIX终端 n Windows: Hyper Terminal n UNIX: tip u Microsoft Windows? 环境之中 –传输速率: 9600bit/sec –数据位: 8 –校验位: None –停止位: 1 –流控制: None u UNIX? 环境下, 输入以下命令 # tip /dev/ttyb –9600 u 安装步骤 1. 通过串口线将两者进行连接 2. 确保交换机已经加电 3. 通过ipAddrSet命令设置IP地址 (注意: 命令是大小写敏感,但是全大写或全小写也可。) 登录方式: ?用户 ?admin: 可以执行所有的命令并查看交换机状态和修改交换机的配置 ?user: 执行Show命令来查看交换机的状态 ?改变密码
Brocade交换机的日常维护命令
Brocade交换机的日常维护命令 1、设备健康状态查询和日志信息收集 登陆到Brocade交换机: 一、串口线登陆 1)交换机自带一个串口线。将串口盖拿掉,将串口线连接上去 2)连接串口线到笔记本/工作站上的串口。 3)关闭工作站上的串口通讯程序 4)打开“超级终端”,配置如下: –传输速率: 9600bit/sec –数据位: 8 –校验位: None –停止位: 1 –流控制: None 5)确认交换机已经完成POST 6)当超级终端停止报告信息,按“Enter” 显示login 信息,login 7) 默认用户:admin,默认密码:password。 二、网络连接登陆 用Telnet工具通过IP 地址登陆。默认用户:admin,默认密码:password。 健康查询/日志收集命令 1)查看IP地址命令-ipaddrshow SW300-2:root> ipaddrshow SWITCH Ethernet IP Address: 10.77.77.78 Ethernet Subnetmask: 255.255.255.0 Gateway IP Address: none DHCP: Off 2) 设置交换机IP地址 博科交换机的默认IP地址是10.77.77.77,在命令行模式下可以通过ipaddrset命令对交换的IP地址进行设置和修改 SW300-2:root>ipaddrset Ethernet IP Address [10.77.77.77]: #输入交换机需要设置的IP地址 Ethernet Subnetmask [255.255.255.0]: #输入掩码 Fibre Channel IP Address [none]: Fibre Channel Subnetmask [none]: Gateway IP Address [none]: # 输入网关 DHCP [Off]: #是否开启DHCP
华为交换机常用命令
华为交换机常用命令: 1、display current-configuration 显示当前配置 2、display interface GigabitEthernet 1/1/4 显示接口信息 3、display packet-filter interface GigabitEthernet 1/1/4 显示接口acl应用信息 4、display acl all 显示所有acl设置3900系列交换机 5、display acl config all 显示所有acl设置6500系列交换机 6、display arp 10.78.4.1 显示该ip地址的mac地址,所接交换机的端口位置 7、display cpu显示cpu信息 8、system-view 进入系统图(配置交换机),等于config t 命令 9、acl number 5000 在system-view命令后使用,进入acl配置状态 10、rule 0 deny 0806 ffff 24 0a4e0401 f 40 在上面的命令后使用,,acl 配置例子 11、rule 1 permit 0806 ffff 24 000fe218ded7 f 34 //在上面的命令后使用,acl配置例子 12、interface GigabitEthernet 1/0/9 //在system-view命令后使用,进入接口配置状态 13、[86ZX-S6503-GigabitEthernet1/0/9]qos //在上面的命令后使用,进入接口qos配置 14、[86ZX-S6503-qosb-GigabitEthernet1/0/9]packet-filter inbound user-group 5000 //在上面的命令后使用 ,在接口上应用进站的acl 15、[Build4-2_S3928TP-GigabitEthernet1/1/4]packet-filter outbound user-group 5001 //在接口上应用出站 的acl
华三华为交换机-路由器配置常用命令汇总
H3C交换机配置命令大全 1、system-view 进入系统视图模式 2、sysname 为设备命名 3、display current-configuration 当前配置情况 4、language-mode Chinese|English 中英文切换 5、interface Ethernet 1/0/1 进入以太网端口视图 6、port link-type Access|Trunk|Hybrid 设置端口访问模式 7、undo shutdown 打开以太网端口 8、shutdown 关闭以太网端口 9、quit 退出当前视图模式 10、vlan 10 创建VLAN 10并进入VLAN 10的视图模式 11、port access vlan 10 在端口模式下将当前端口加入到vlan 10中 12、port E1/0/2 to E1/0/5 在VLAN模式下将指定端口加入到当前vlan中 13、port trunk permit vlan all 允许所有的vlan通过 H3C路由器配置命令大全 1、system-view 进入系统视图模式 2、sysname R1 为设备命名为R1 3、display ip routing-table 显示当前路由表 4、language-mode Chinese|English 中英文切换 5、interface Ethernet 0/0 进入以太网端口视图 6、ip address 192.168.1.1 255.255.255.0 配置IP地址和子网掩码 7、undo shutdown 打开以太网端口 8、shutdown 关闭以太网端口
交换机配置和设备常用命令
常用命令等 1、连接交换机并设置软件连接交换机/路由器等: 如果设备管理器里边没有端口选项则说明USB-COM驱动未安装好;到这里记录下COM口的端口号,我这里是COM4。 打开securecrt软件:打开crt解压到的目录点软件启动
在弹出的窗口中点击下图中的按钮 按照下图中选择选项:
选择完成后点击确定按钮后敲击回车,如窗口中显示XXXXX>则说明设备连接成功。 2、配置5750交换机步骤 A、第一步删除5750交换机现有配置,复制下边命令并粘贴到crt命令行内: en ruijie delete config.text y reload y B、重新配置5750交换机: en
conf t hos btjx-zhl-25750-2 vlan 101 exit int vlan 101 ip add 192.168.101.252 255.255.255.0 exit ip route 0.0.0.0 0.0.0.0 192.168.101.254 enable sec ruijie lin vty 0 4 pass ruijie exit rldp enable int r g0/1 – 22 sw mo acc sw acc vlan 101 rldp port loo shutdown-port exit int r g0/23 – 24 me fi sw mo tr int g0/24
des btjx-zhl-25750-1 exit err re int 1800 end wr wr 此配置是11日没有拆下来的交换机的配置: 此配置是11日拆除下来的5750交换机的配置(需要增加部分配置) 上边配置的5750交换机23口24口都是级联口5750-1-24口接86,5750-1-23连接5750-2-24口 3、2952交换机配置,修改级联口部分: en ruijie conf t int g0/49 sw mo tr int g0/51 sw mo tr
博科交换机操作手册
B24 交换机操作手册 一、基本配置操作 1. 连接到B24 1.1、SSH 说明: 交换机管理的最基本方法,通过命令行的方式直接登录到交换机上,通过交换机上操作系统(Fabric OS)提供的命令对交换机作管理工作。能完成对单台交换机管理的所有功能。 连接方法: 用SSH工具通过B24 IP地址登陆。默认用户:admin,默认密码:password。 1.2、Web Tools 说明: 图形界面的管理工具,通过浏览器对交换机完成管理工作。视觉效果比Telnet好很多,并且在性能监视时能提供多种视图。能完成对单台交换机管理的大多数功能。 连接方法: 在浏览器上输入B24的IP地址。默认用户:admin,默认密码:password。 1.3、串口管理 说明: 通过串口线连接到B24交换机的串口上进行管理 连接方法: 使用串口线连接B24和笔记本/工作站的串口,打开“超级终端”,配置如下: Bits per second: 9600 Data bits: 8 Parity: None Stop bits: 1 Flow control: None 当超级终端停止报告信息,按“Enter”显示login信息,
默认用户:admin,默认密码:password。 2. 设置IP地址 B24默认IP地址为:10.77.77.77/24. 设置交换机IP地址: > ipaddrset Ethernet IP Address [10.77.77.77]: 192.56.211.5 Ethernet Subnetmask [255.255.255.0]: Fibre Channel IP Address [none]: Fibre Channel Subnetmask [none]: Gateway IP Address [none]: DHCP [Off]: 显示交换机的IP > ipaddrshow 3. 设置默认账号密码 B24交换机有两个默认的账号,admin和user账号。 Admin:为管理员账号 User:为非管理员账号(比如可以用来监视系统) 3.1、登录时更改密码: 在第一次登录B24时,系统会提示更改系统账号密码或者跳过更改login: admin Password: Please change your passwords now. Use Control-C to exit or press 'Enter' key to proceed. for user - root Changing password for root Enter new password: *****
华为交换机状态查看常用命令
华为交换机状态查看常用命令 当华为交换机设备发生异常时,可以通过查看设备信息检查状态是否正常1、查看设备的部件信息和状态信息 [https://www.360docs.net/doc/8a1861111.html,]display device ? slot Slot | Matching output
3、查看设备序列号 每台设备的序列号ESN(Equipment Serial Number)是唯一的。 [https://www.360docs.net/doc/8a1861111.html,] display esn 4、查看版本信息 通过查看设备当前的版本信息,可以判断设备是否需要升级或者升级是否成功。 [https://www.360docs.net/doc/8a1861111.html,]display version ? slot Slot | Matching output
博科BrocadeSAN交换机常用命令
博科BrocadeSAN交换机常用命令 博科Brocade SAN交换机通用命令 1。查看IP地址命令............................................................................................................2 2.查看固件版本.......................................................................................................2 3.查看开关状态 (2) 4.查看交换机许可证-id........................................................................................3 5.配置ZONE........................................................................................................... .......3 6.查看区域配置文件.................................................................................................………4 7.查看区域.................................................................................................................. 5 8.检查系统日志信息................................................................................................... 6 9.停工.................................................................................................................. ................6 10.设置博科锦交换机的IP地址.............................................................................6 11.博科brocade交换机查看操作系统版本信息.................................................................6 12.
华三华为交换机路由器配置常用命令汇总
华三华为交换机路由器配置常用命令汇总 文件编码(008-TTIG-UTITD-GKBTT-PUUTI-WYTUI-8256)
H3C交换机配置命令大全 1、system-view 进入系统视图模式 2、sysname 为设备命名 3、display current-configuration 当前配置情况 4、 language-mode Chinese|English 中英文切换 5、interface Ethernet 1/0/1 进入以太网端口视图 6、 port link-type Access|Trunk|Hybrid 设置端口访问模式 7、 undo shutdown 打开以太网端口 8、 shutdown 关闭以太网端口 9、 quit 退出当前视图模式 10、 vlan 10 创建VLAN 10并进入VLAN 10的视图模式 11、 port access vlan 10 在端口模式下将当前端口加入到vlan 10中
12、port E1/0/2 to E1/0/5 在VLAN模式下将指定端口加入到当前vlan中 13、port trunk permit vlan all 允许所有的vlan通过 H3C路由器配置命令大全华为交换机常用配置实例 H3C交换机路由器telnet和console口登录配置 2009年11月09日星期一 10:00 级别说明 Level 名称 命令 参观 ping、tracert、telnet 1 监控 display、debugging 2 配置 所有配置命令(管理级的命令除外) 3 管理 文件系统命令、FTP命令、TFTP命令、XMODEM命令 telnet仅用密码登录,管理员权限
华为交换机配置常用命令
华为交换机配置命令: