Aruba-3810M

增加/移除VLAN

增加

Aruba-3810M-16SFPP-2-slot# conf t
Aruba-3810M-16SFPP-2-slot(config)# vlan 99

移除

# no vlan 99

show VLAN information
# show vlan

設定untagged/tagged Ports

untagged/tagged就是在Cisco上之switchport access vlan x/switchport mode trunk

原先沒有untagged ports

# show running-config

untagged

Aruba-3810M-16SFPP-2-slot# conf t
Aruba-3810M-16SFPP-2-slot(config)# vlan 5
Aruba-3810M-16SFPP-2-slot(vlan-5)# untagged 16

# show running-config

現在有untagged ports了,tagged的設法也一樣

untagged2

加上management IP

  1. 進入CLI後,先確認目前設定中是否已有IP被指定
    # show running-config
    show_run
  2. 再在想要設定IP的VLAN設定IP(Generally speaking the IP address is assigned to the VLAN),再確認一下running-config,若無誤,就寫入Flash。
    Aruba-3810M-16SFPP-2-slot# configure terminal
    Aruba-3810M-16SFPP-2-slot(config)# interface vlan 4
    Aruba-3810M-16SFPP-2-slot(vlan-4)# ip address 10.10.10.10 255.255.255.0
    Aruba-3810M-16SFPP-2-slot(vlan-4)# show running-config
    Aruba-3810M-16SFPP-2-slot(vlan-4)# write memory

    add_ip.png

 

移除management IP

與加上management IP完全一樣,只差在要在欲移除的IP前加上"no",即可。
Aruba-3810M-16SFPP-2-slot(vlan-4)# no ip address 10.10.10.10 255.255.255.0

更改management IP(其實下載設定檔,直接編輯完該文字檔再上傳(一定要用Traditional GUI),又快又方便)

若要更改一個已存在的management IP(或者加上一個同網段的IP),會出現以下狀況,也就是同一網段只能有一個management IP。
over-lapping.png

所以若欲更改IP(如以上192.168.40.13改成192.168.40.11)必須

先加一不同網段的IP(如以上的172.168.0.1),然後以此IP連入CLI(連線電腦可能需更改網路設定)。

再將192.168.40.13移除,再將192.168.40.11加入。

change_ip

最後可以cdp檢查「被」連接的連接設備的IP以確認


#sh cdp neighbors detail



https://community.arubanetworks.com/t5/Wired-Intelligent-Edge-Campus/Configure-Interface-IP-on-Aruba-2930F/td-p/292993

在CISCO中VLAN,VLAN inetrface是不同的,但在aruba只有VLAN一詞
VLAN :為Layer2 指定某些ports給某VLAN
VLAN inetrface :為Layer3設定manage ip,route相關等等
To clarify a bit on the syntax for ArubaOS-Switch: there is only one VLAN context (as opposed to the split 'VLAN' and 'VLAN interface' used by Cisco, Comware, etc); this context is used for both L3 configuration as well as assigning the VLAN to ports.