How to develop a batch script for Brocade ICX switches?

Let’s connect to the Brocade ICX switch.
First, let’s set the reload time to 10 minutes. In case of making a mistake, the switch will reload after 10 minutes and we will be connected again when it is turned on.
If successful, very short network outage will occur and then we will cancel reload process via “reload cancel” command.

######################

enable
reload after 00:00:10
conf t
batch buffer 1 &
config t
vlan 100
no untagged e 1/1/47 to 1/1/48
tagged e 1/1/47 to 1/1/48
exit

lag “to BACKBONE” static id 10
ports ethernet 1/1/47 to 1/1/48
primary-port 1/1/47
port-name Uplink ethernet 1/1/47
port-name Uplink ethernet 1/1/48
deploy
exit &

exit

execute batch 1 now

######################

By:

Posted in:


Leave a comment