======Brocade VDX 6720======
=====Notes=====
====Default passwords====
^account^Default password^
|root|fibranne|
|admin|password|
|user|password|
Source: [[https://www.web-workers.ch/index.php/2019/08/12/how-to-change-default-password-of-brocade-fibrechannel-san-switches/|Web Workers - How to change default password of Brocade fibre channel SAN switches]]
====Change password=====
Change password of admin and user:
username admin NEWPASSWORD
username user NEWPASSWORD
====Connect with recent versions of OpenSSH====
The VDX6720 uses an old version of sshd with an old HostKeyAlgorithm that newer versions of ssh no longer allow by default.
To connect to a VDX6720 with ssh you must provide the correct older HostKeyAlgorithm when connecting.
ssh -o HostKeyAlgorithms=ssh-rsa root@10.10.0.10
====Start cli from root shell====
When logging in as root you do not have access to the switch management tooling until you start:
noscli
====Save config====
copy running-config startup-config
====Back-up config====
A VDX6720 does not provide scp, but a cat via ssh redirected to a file can be used for creating a back-up of the current startup-config:
ssh -o HostKeyAlgorithms=ssh-rsa root@10.10.0.10 "cat /var/config/vcs/scripts/startup-config" > /data/backup/switch04/`date +%Y-%m-%d`\ -\ startup-config
====Show running-configuration for one interface====
show running-config int te 4/0/3
====Edit multiple interfaces at once====
For a range of interfaces:
conf t
int te 4/0/3-5
# Now enter the configuration commands that should apply to port 3, 4, and 5.
For 2 interfaces:
conf t
int te 4/0/1,6
# Now enter the configuration commands that should apply to port 1, and 6.
====Show media status====
Show the media status of interface 1 on switch with id 4.
show media te 4/0/1
Example output for a recognized SFP:
sw0# show media int te 4/0/1
Interface TenGigabitEthernet 4/0/1
Identifier 3 SFP
Connector 33 Copper Pigtail
Transceiver d580844104000001 10_GB/s TW Short_dist
Name cu
Encoding 0
Baud Rate 103 (units 100 megabaud)
Length 9u 0 (units km)
Length 9u 0 (units 100 meters)
Length 50u 0 (units 10 meters)
Length 62.5u 0 (units 10 meters)
Length Cu 3 (units 1 meter)
Vendor Name BROCADE
Vendor OUI 00:05:1e
Vendor PN 58-1000025-01
Vendor Rev A
Wavelength 0 (units nm)
Options 0012
BR Max 0
BR Min 0
Serial No CAS2111804520-2
Date Code 211026
Optical Monitor No
Temperature N/A
Voltage N/A
Current N/A
TX Power N/A
RX Power N/A
Example output for un unrecognized SFP:
sw0# show media int te 4/0/1
Interface TenGigabitEthernet 4/0/1
Optic is not Brocade qualified, optical monitoring is not supported
Transceiver d580844104000001
Identifier 3 SFP
Name cu
Vendor Name FS
Vendor OUI 00:00:00
Vendor PN SFPP-PC03
Vendor Rev A0
====Clear the MAC address table====
clear mac-address-table dynamic
====Show interface switchport====
Show interface switchport information:
sw04# show interface tengigabitethernet 4/0/1 switchport
Interface name : TenGigabitEthernet 4/0/1
Switchport mode : trunk
Fcoeport enabled : no
Ingress filter : enable
Acceptable frame types : vlan-tagged only
Native Vlan : 1
Active Vlans : 1-4,8-10,12-13,15
Inactive Vlans : -
====Show interface status and statistics====
sw04# show interface tengigabitethernet 4/0/1
TenGigabitEthernet 4/0/1 is up, line protocol is up (connected)
Hardware is Ethernet, address is 0005.3354.2269
Current address is 0005.3354.2269
Pluggable media present
Interface index (ifindex) is 17582555136
MTU 2500 bytes
LineSpeed Actual : 10000 Mbit
LineSpeed Configured : Auto, Duplex: Full
Priority Tag disable
IPv6 RA Guard disable
Last clearing of show interface counters: 3w1d01h
Queueing strategy: fifo
Receive Statistics:
0 packets, 0 bytes
Unicasts: 0, Multicasts: 0, Broadcasts: 0
64-byte pkts: 0, Over 64-byte pkts: 0, Over 127-byte pkts: 0
Over 255-byte pkts: 0, Over 511-byte pkts: 0, Over 1023-byte pkts: 0
Over 1518-byte pkts(Jumbo): 0
Runts: 0, Jabbers: 0, CRC: 0, Overruns: 0
Errors: 0, Discards: 0
Transmit Statistics:
47228 packets, 3721254 bytes
Unicasts: 580, Multicasts: 2493, Broadcasts: 44155
Underruns: 0
Errors: 0, Discards: 0
Rate info:
Input 0.000000 Mbits/sec, 0 packets/sec, 0.00% of line-rate
Output 0.001072 Mbits/sec, 2 packets/sec, 0.00% of line-rate
Time since last interface status change: 00:23:52