setup

Sets up the controller network interface settings.
Syntax
setup
Modes

Privileged EXEC mode

Usage Guidelines

Use the command to help you configure the network interface settings using prompts.

This command is supported on all SmartZone platforms except SmartZone Data Plane controller.

Examples

The following example walks you through prompts to help you set up a SZ300 controller.

ruckus# setup

################################################
Start controller setup process:
################################################

Network is not setup.

************************************************
IP Version Support
************************************************
1. IPv4 only
2. IPv4 and IPv6
************************************************
Select address type: (1/2) 2

************************************************
IPv4 address setup for Control interface
************************************************
1. Manual
2. DHCP
************************************************
Select IP configuration: (1/2) 2

************************************************
IPv4 address setup for Cluster interface
************************************************
1. Manual
2. DHCP
************************************************
Select IP configuration: (1/2) 2

************************************************
IPv4 address setup for Management interface
************************************************
1. Manual
2. DHCP
************************************************
Select IP configuration: (1/2) 2

************************************************
Default Gateway Interface
************************************************
1. Control
2. Cluster
3. Management
************************************************
Select gateway interface: (1/2/3) 3
Primary DNS: 172.17.17.16
Secondary DNS: 

************************************************
IPv6 address setup for Control interface
************************************************
1. Manual
2. DHCPv6
************************************************
Select IPv6 configuration: (1/2) 2

************************************************
IPv6 address setup for Management interface
************************************************
1. Manual
2. DHCPv6
************************************************
Select IPv6 configuration: (1/2) 2

************************************************
IPv6 Default Gateway Interface
************************************************
1. Control
2. Management
************************************************
Select IPv6 gateway interface: (1/2) 1
Primary IPv6 DNS: 
Secondary IPv6 DNS: 

************************************************
Current Network Settings (Before Applying)
************************************************
************************************************
IP Version Support Settings:
************************************************
IP Version Support   : IPv4 and IPv6

Interface IPv4 settings:
************************************************
Control:
************************************************
IP Type              : DHCP
IP Address           : 192.168.2.53
Netmask              : 255.255.255.0
Gateway              : 192.168.2.219

************************************************
Cluster:
************************************************
IP Type              : DHCP
IP Address           : 192.168.100.88
Netmask              : 255.255.255.0
Gateway              : 

************************************************
Management:
************************************************
IP Type              : DHCP
IP Address           : 172.17.25.55
Netmask              : 255.255.255.0
Gateway              : 
Default Gateway      : yes

************************************************
DNS Server Settings:
************************************************
Primary DNS Server   : 172.17.17.16
Secondary DNS Server : 

Interface IPv6 settings:
************************************************
Control:
************************************************
IP Type              : DHCPv6
IP Address           : 
Gateway Type         : RA
Gateway              : 
Default Gateway      : yes

************************************************
Management:
************************************************
IP Type              : DHCPv6
IP Address           : 
Gateway Type         : RA
Gateway              : 

************************************************
DNS Server Settings:
************************************************
Primary DNS Server   : 
Secondary DNS Server : 
************************************************
Enter 'y' to apply, 'n' to modify
Do you want to apply the settings? (y/n) 
Please wait while sytem configures the network.
It may take a few minutes...

************************************************
Current Network Settings (After Applying)
************************************************
************************************************
IP Version Support Settings:
************************************************
IP Version Support   : IPv4 and IPv6

Interface IPv4 settings:
************************************************
Control:
************************************************
IP Type              : DHCP
IP Address           : 192.168.2.53
Netmask              : 255.255.255.0
Gateway              : 

************************************************
Cluster:
************************************************
IP Type              : DHCP
IP Address           : 192.168.100.88
Netmask              : 255.255.255.0
Gateway              : 

************************************************
Management:
************************************************
IP Type              : DHCP
IP Address           : 172.17.25.55
Netmask              : 255.255.255.0
Gateway              : 172.17.25.1
Default Gateway      : yes

************************************************
DNS Server Settings:
************************************************
Primary DNS Server   : 172.17.17.16
Secondary DNS Server : 

Interface IPv6 settings:
************************************************
Control:
************************************************
IP Type              : DHCPv6
IP Address           : fccc:192:168:2::eba/128
Gateway Type         : RA
Gateway              : fe80::20c:29ff:fef9:7e85
Default Gateway      : yes

************************************************
Management:
************************************************
IP Type              : DHCPv6
IP Address           : fccc:172:17:25::705/128
Gateway Type         : RA
Gateway              : fe80::20c:29ff:fef9:7e85

************************************************
DNS Server Settings:
************************************************
Primary DNS Server   : 
Secondary DNS Server : 
************************************************
Enter 'y' to accept, 'n' to modify
Accept these settings and continue? (y/n) y


SZ300# setup
################################################
Start SZ300 setup process:
################################################
Current Network Settings
************************************************
IP Version Support Settings:
************************************************
IP Version Support   : IPv4 and IPv6

Interface IPv4 settings:
************************************************
Control:
************************************************
IP Type              : DHCP
IP Address           : 192.168.2.53
Netmask              : 255.255.255.0
Gateway              : 

************************************************
Cluster:
************************************************
IP Type              : DHCP
IP Address           : 192.168.100.88
Netmask              : 255.255.255.0
Gateway              : 

************************************************
Management:
************************************************
IP Type              : DHCP
IP Address           : 172.17.25.55
Netmask              : 255.255.255.0
Gateway              : 172.17.25.1
Default Gateway      : yes

************************************************
DNS Server Settings:
************************************************
Primary DNS Server   : 172.17.17.16
Secondary DNS Server : 

Interface IPv6 settings:
************************************************
Control:
************************************************
IP Type              : DHCPv6
IP Address           : fccc:192:168:2::eba/128
Gateway Type         : RA
Gateway              : fe80::20c:29ff:fef9:7e85
Default Gateway      : yes

************************************************
Management:
************************************************
IP Type              : DHCPv6
IP Address           : fccc:172:17:25::705/128
Gateway Type         : RA
Gateway              : fe80::20c:29ff:fef9:7e85

************************************************
DNS Server Settings:
************************************************
Primary DNS Server   : 
Secondary DNS Server : 
************************************************
Do you want to setup network? (y/n) n
(C)reate a new cluster or (J)oin an exist cluster (c/j): c
Cluster Name (cluster name can contain letters (a-z, A-Z), numbers (0-9), and dashes (-)): ruckus-cluster-1
Controller Description: ruckus controller

************************************************
Create/Join       : create
DISCOVERY PROTOCOL: tcp
Cluster Name      : ruckus-cluster-1
Blade ID          : 83405b79-9286-4b57-8701-c7ecddf27c40
DESCRIPTION       : ruckus controller
************************************************
Are these correct (y/n): y
Enter the controller name of the blade ([a-zA-Z0-9-]): ruckus-controller
Is this controller behind NAT? (y/n) n
System UTC Time: 2020-02-06 07:39:53 UTC
NTP Server ([a-zA-Z0-9.-]): [ntp.ruckuswireless.com] 
Check if NTP server [ntp.ruckuswireless.com] is reachable...
System time after synchronization: 2020-02-06 07:40:01 UTC
Convert ZoneDirector APs in factory settings to SZ300 APs automatically (y/n) [N] 
Reset admin's password!
Enter admin password: 
Enter admin password again: 
Enter the CLI enable command password: 
Enter the CLI enable command password again: 
Reset admin's password done!
Setup configurations done. Starting setup process after 5 seconds...
/etc/init.d/snmpd restart
New hostname: ruckus-controller
Change admin password done!

************************************************
Check installation status
************************************************
Wait for cluster config operation start!
Wait for cluster config operation start!
Wait for cluster config operation start!
Wait for cluster config operation start!
Bootstrapping, Tue Feb 06 07:40:33 UTC 2020                           
Blade Channel Opened, Tue Feb 06 07:40:36 UTC 2020                    
Configurer Channel Opened, Tue Feb 06 07:40:46 UTC 2020               
Cassandra Started, Tue Feb 06 07:41:59 UTC 2020                       
ElasticSearch Started, Tue Feb 06 07:43:08 UTC 2020                   
Cassandra Initialized, Tue Feb 06 07:47:31 UTC 2020
Certificate and Root Key created, Tue Feb 06 07:49:02 UTC 2020        
SZ300 Apps Started, Tue Feb 06 08:03:58 UTC 2020                        
Available, Tue Feb 06 08:04:13 UTC 2020
[##################################################]100%
% System setup is finished. The current CLI session will be terminated. Please login again.

Note: At this point, log on to the controller CLI, and then run the setup command again.

ruckus# setup
################################################
Start SCG setup process:
################################################
Current network settings:
************************************
Control(AP/Dataplane):
************************************
IP TYPE : dhcp
IP Address : 10.2.6.231
Netmask : 255.255.0.0
Gateway : 10.2.0.1
Default Gateway : no
Primary DNS Server : 172.17.17.16
Secondary DNS Server : 168.95.1.1
************************************
************************************
Cluster:
************************************
IP TYPE : dhcp
IP Address : 10.2.6.229
Netmask : 255.255.0.0
Gateway : 10.2.0.1
Default Gateway : no
Primary DNS Server : 172.17.17.16
Secondary DNS Server : 168.95.1.1
************************************
************************************
Management(Web):
************************************
IP TYPE : dhcp
IP Address : 10.2.6.230
Netmask : 255.255.0.0
Gateway : 10.2.0.1
Default Gateway : yes
Primary DNS Server : 172.17.17.16
Secondary DNS Server : 168.95.1.1
************************************
Server need to restart network after network setting.
Do you want to setup network? [YES/no]: no
(C)reate a new cluster or (J)oin an exist cluster: (c/j) c
Cluster Name ([a-zA-Z0-9_-]): test_cluster
Controller Description: test_cluster
************************************
Create/Join : create
DISCOVERY PROTOCOL: tcp
Cluster Name : test_cluster
Blade ID : f7585769-6dd7-4e63-aa2c-e6da76501680
DESCRIPTION : test_cluster
************************************
Are these correct? (y/n): y
Enter the controller name of the blade([a-zA-Z0-9_-]): test_cluster
NTP Server ([a-zA-Z0-9._-]): [pool.ntp.org]
Reset admin's password!
Enter admin password:
Enter admin password again:
Enter the enable password:
Enter the enable password again:
Reset admin's password done!
stty: standard input: Invalid argument
New hostname: test_cluster
Change admin password done!
************************************
Check SCG installation status
************************************
Wait for cluster config operation start!
Wait for cluster config operation start!
Wait for cluster config operation start!
Wait for cluster config operation start!
Bootstrapping, Tue Dec 18 15:25:32 GMT 2012
Blade Channel Jointed, Tue Dec 18 15:25:34 GMT 2012
Configurer Channel Jointed, Tue Dec 18 15:25:43 GMT 2012
Cassandra Started, Tue Dec 18 15:26:03 GMT 2012
Cassandra Initialized, Tue Dec 18 15:27:14 GMT 2012
First Time Initialization Process Done, Tue Dec 18 15:28:02 GMT 2012
Available, Tue Dec 18 15:29:47 GMT 2012