Miscellaneous Cisco Switch Commands For The Cisco Catalyst Operating System - IBM eserver Cluster 1350 Installation And Service Manual

Table of Contents

Advertisement

set vlan <2> 2/1-10
To set Ethernet address for switch assigned to Management VLAN, type:
set interface sc0 <2> <172.30.50.3/255.255.0.0>
To set switch interface to a VLAN, type:
set interface sc0 <2>
To create an EtherChannel, type:
set port channel mod/port mode desirable non-silent
To assign a name to the switch, type:
set system name <some string>
For the following command to succeed make sure all ports in the group are set up
identically. If an EtherChannel does not form, type:
set port channel <mod/port> mode on
This command generates an error message about port differences. Once the
command succeeds, set it back to the desired mode.
To turn off the spanning-tree protocol on ports going to compute and storage nodes,
type:
set port host
To see the VLAN setup, type:
show vlan
To set the switch as the spanning-tree protocol primary, type this command once for
each VLAN:
set spantree root <vlanid>
To set the switch as the spanning-tree protocol secondary, type this command once
for each VLAN:
set spantree root secondary <vlanid>
To view spanning-tree protocol root information on a port-by-port basis, type:
show spantree
To view EtherChannels that are up and running, type:
show channel
To disable and re-enable an EtherChannel that fails to link up, type:
set port disable <mod/port>
set port enable <mod/port>
Miscellaneous CISCO switch commands for the Cisco Catalyst
Operating System
To clear configuration information from all modules in the switch, type:
clear config <all>
To clear configuration information from a module, type:
clear config <mod>
86
IBM Eserver Cluster 1350 Installation and Service Guide

Advertisement

Table of Contents
loading

Table of Contents