1. re-enabling the Telnet service
Switch (config) #no telnet server shutdown
(config) #rbridge-id 3
#no Telnet Server shutdown
2. Establishing an SSH connection
#ssh-L Admin 10.20.51.68
#ssh-L admin-m hmac-md5-c AES128-CBC 10.20.51.68
Use-m and-c options to override the default encryption and hash algorithms.
3.importing SSH Public Key
Enter certutil import sshkey,followed by user Username host IP_Address directory File_path
File Key_filename Login login_id
#certutil Import sshkey user admin host 10.70.4.106 directory/users/home40/bmeenaks/.ssh
File Id_rsa.pub Login FVT
If you is in VCS mode,you must enter Rbridge ID configuration mode before issuing the
Command
#certutil Import sshkey user admin host 10.70.4.106 directory/users/home40/bmeenaks/.ssh
File id_rsa.pub Login FVT rbridge_id 3
Delete an SSH public key
#no certutil sshkey user admin Rbridge-id All
#ssh Server shutdown
4. Configuring a static IPV4 Ethernet address
#do Show Running-config Interface Management
Interface Management 1/0
No IP address DHCP
IP address 10.24.85.81/20
VRF forwarding MGMT-VRF
No IPv6 address AutoConfig
A top-of-rack (ToR) switch has a single management Port,and the port number for management
Port is always 0.
On a modular switch with the redundant management modules,you can configure both management
Ports. The port numbers is 1 and 2.
Switch (config) #rbridge-id 1
Switch (config-rbridge-id-1#chassis virtual-ip 10.24.85.90/20
Apart from the same IP address on the management modules,modular switches also supports a
Chassis virtual IP address. Using the virtual IP address,you can login to the switch. The VCS
Virtual IP address binds to the active MM automatically.
5. Displaying the network interface
#show Interface Management
6. Confiuring the Management interface speed
#configure Terminal
#interface Management 1/0
#speed Auto
The valid values are 10,100, and auto.
7. Setting and dispalying the host name and chassis name
#configure Terminal
#no Telnet Server Disable
#switch-attributes 1
#host-name lab1_vds0023
#chassis-name lab1_vds0023
#exit
8. Viewing switch types
#show Chassis
9. Creating a logical chassis cluster
#vcs vcsid Rbridge-id logical-chassis Enbale
Enter the VCS command with options to set the VCD id,the Rbridge ID and enable logical
Chassis mode for the switch.
Changing only the Rbridge ID is each time. You must,however,set the VCS ID to the same value on
Each node, belongs to the cluster.
Node 2 Local configuration before matching the combined global configuration
#interface tengigabitethernet 4/0/3
Fabric ISL Enable
Fabric Trunk Enable
Switchport
Switchport mode access
Switchport Access VLAN 1
Spanning-tree shutdown
Mac Access-group Test1 in
No shutdown.
Converting a fabric cluster to a logical chassis cluster
Enter the VCS logical-chassis enable command with desired options;
#vcs logical-chassis enable Rbridge-id all Default-config
#show VCs
#show vcs Detail
Converting to a fabric cluster while preserving configuration
#copy rbridge-running-config Rbridge-id "id" <location_configfilename>
Saving the configuration file to a remote Ftp,scp,sftp,or USB location
#no vcs logical-chassis enable Rbridge-id all Default-config
Removing a node from a logical chassis cluster
#no vcs logical-chassis enable Rbridge-id Default-config
#no VCs enable Rbridge-id 110
Replacing a node in a logical chassis cluster
Run the following command on the principal switch
#vcs Replace Rbridge-id 3
Enter the WWN of the new switch:
Assign the Rbridge ID of 3 to the new node by running the following command on the new
Node
#vcs Rbridge-id 3
Changing an Rbridge ID on a switch within a fabric
#chassis Disable
#no VCs enable Rbridge-id 3
#show vcs Detail
Displaying Switch Interface
#show Running-config Interface Tengigabitethernet
17.
#show Slots
#show mm Display the management modules
#show SFM display switch fabric modules
#show Linecard Display information for the line cards.
Replacing a line card
#power-off Linecard 4
#configure Terminal
#rbridge-id 1
#no Linecard 4
#linecard 4 "line name"
#exit
#copy Running-config Startup-config
#show running-config Rbridge-id 4 linecard
19.
#reload ' cold reboot '
#fastboot ' cold reboot '
#reload system
Configuring automatic uploading of Supportsave data
#support autoupload-param hostip 10.31.1.22 username supportadmin Directory
/users/support/ffdc_autoupload Protocol ftp password (<string>)
21st.
#do Show Running-config Support Autoupload-param
NTP setting.
#clock Set 2015-04-04t12:00:00 Rbridge-id all
#clock timezone America/los_angeles Rbridge-id All
#show Clock
#show Clock Rbridge-id All
#ntp Server 192.168.1.1
Syncronzies the time to local switch.
#show NTP status
. Default configuration
Defaultconfig.novcs
Defaultconfig.vcs
#show file Defaultconfig.novcs
#show file Defaultconfig.vcs
#copy Running-config Flash://myconfig
#dir
24.
#copy Startup-config Ftp://admin:****@10.0.0.1//archive/startup-config_vds
Enable the USB device
#usb on
#copy Startup-config Usb://startup-config
Configuring SNMP Community Strings
#snmp-server Community public groupname user
Snmp-server host Ipv4_host dns_host community-string [version {1|2c}] [Udp-port port]
[Severity-level|none|debug|info|warning|error|critical]command.
#snmp-server host 10.0.0.1 commaccess version 2c udp-port 162 severity warning.
Configuring SNMP Server Groups
Snmp-server Group ' groupname ' {V1|v2c|v3{auth|noauth|priv}} [read ' ViewName '] [write
' ViewName '] [notify ' viewname '] command.
#snmp-server Group GROUPL v3 auth Read MyView write MyView notify MyView
Configuring SNMP Server Users
#snmp-server user user1 groupname group1
#snmp-server user user2 groupname group1 auth MD5 auth-password password priv DES priv-
Password
#snmp-server user snmpadmin1 groupname snmpadmin auth sha Auth-password private123 priv DES
Priv-password public123
Configuring interconnected Ethernet Fabrics
#interface Port-channel 300
#do Show Running-config Interface Port-channel 300
#switchport
#switchport Mode Trunk
#switchport Trunk Allow VLANs all
#channel-group mode active type standard
#do Show Running-config interface
Configuration Zone
#show running-config Zoning
#configure Terminal
#zoning definded-configuration alias Aliasl
#no Member-entry 10:00:00:00:00:00:00:02
#exit
#zoning enabled-configuration cfg-action Cfg-save
This article from "Nerd is not two wet chest" blog, declined reprint!
Brocade Study Notes