Enter System name [Aruba5000]: Aruba-local01
Enter VLAN 1 interface IP address [172.16.0.254]: 172.16.0.253
Enter VLAN 1 interface subnet mask [255.255.255.0]: 255.255.255.0
Enter IP Default gateway [none]:
Enter Switch Role, (master|local) [master]: local
Enter Master switch IP address: 10.3.22.220
Enter Password for admin login (up to 32 chars): *****
Re-type Password for admin login: *****
Enter Password for enable mode (up to 15 chars): ******
Re-type Password for enable mode: ******
Do you wish to shutdown all the ports (yes|no)? [no]: no
 
Current choices are:
 
System name: Aruba-local01
VLAN 1 interface IP address: 172.16.0.253
VLAN 1 interface subnet mask: 255.255.255.0
IP Default gateway:
Switch Role: local
Master switch IP address: 10.3.22.220
Ports shutdown: no
 
If you accept the changes the switch will restart!
Type <ctrl-P> to go back and change answer for any question
Do you wish to accept the changes (yes|no)yes
Creating configuration... Done.
 
System will now restart!
2、  Core VLAN Configuration
(Aruba-local01)
User: admin
Log in to controller
 
Password: *****
(Aruba-local01) >enable
Password:******
(Aruba-local01) #configure terminal
Create VLAN 5 & assign an IP address
 
 
Enter Configuration commands, one per line. End with CNTL/Z
(Aruba-local01) (config) #vlan 5
 
(Aruba-local01) (config) #interface vlan 5
(Aruba-local01) (config-subif)#ip address 10.3.22.21 255.255.255.0
(Aruba-local01) (config-subif)#exit
(Aruba-local01) (config-if)#write m
Saving Configuration...
 
Saved Configuration
 
3VLAN CONFIGRUATION
 
(Aruba-local01) #configure terminal
Enter Configuration commands, one per line. End with CNTL/Z
(Aruba-local01) (config-range) # show vlan
Check port assignments
 
 

 
VLAN CONFIGURATION
------------------
VLAN  Name       Ports
----  ----       -----
1     Default    Fa2/0-23 Gig2/24 Gig2/25
5     VLAN0005
Assign all Fast Ethernet and Gigabit Ethernet ports to VLAN 5
 
(Aruba-local01) (config) #interface range fastethernet 2/0-23
(Aruba-local01) (config-range) # switchport access vlan 5
(Aruba-local01) (config-range) # exit
(Aruba-local01) (config) #interface range gigabitethernet 2/24-25
(Aruba-local01) (config-if)#switchport access vlan 5
(Aruba-local01) (config-range) # show vlan
VLAN CONFIGURATION
------------------
Double-check assignments & save configuration
 
VLAN  Name       Ports
----  ----       -----
1     Default
5     VLAN0005   Fa2/0-23 Gig2/24 Gig2/25
(Aruba-local01) (config-if)#write m
Saving Configuration...
 
Saved Configuration
 
4
Saved Configuration
Saving Configuration...
(Aruba-local01) (config-if)#write m
(Aruba-local01) (config-if)#switchport trunk native vlan 5
(Aruba-local01) (config-if)#switchport trunk allowed vlan all
(Aruba-local01) (config-if)#switchport mode trunk
(Aruba-local01) (config) #interface fastethernet 2/0
Enter Configuration commands, one per line. End with CNTL/Z
(Aruba-local01) #configure terminal
5
 
(Aruba-local01) #configure terminal
Enter Configuration commands, one per line. End with CNTL/Z
Assign default gateway
 
(Aruba-local01) (config) #ip default-gateway 10.3.22.1
(Aruba-local01) (config-if)#write m
Saving Configuration...
 
Saved Configuration
 
6