vLAN & DHCP
Création d'un vLan
(ArubaS2500-24P) (VLAN "4") #vlan 10
(ArubaS2500-24P) (VLAN "10") #description lab
(ArubaS2500-24P) (VLAN "10") #exit
Attribution d'une IP
(ArubaS2500-24P) (vlan "10") #ip address 172.16.255.250 255.255.0.0
(ArubaS2500-24P) (vlan "10") #mtu 1500
(ArubaS2500-24P) (vlan "10") #exit
Configuration du switching-profile pour le vLAN
(ArubaS2500-24P) (config) #interface-profile switching-profile vlan10-sw
(ArubaS2500-24P) (switching profile "vlan10-sw") #switchport-mode access
(ArubaS2500-24P) (switching profile "vlan10-sw") #access-vlan 10
(ArubaS2500-24P) (switching profile "vlan10-sw") #native-vlan 10
(ArubaS2500-24P) (switching profile "vlan10-sw") #exit
Application du vLAN à un port
(ArubaS2500-24P) (config) #interface gigabitethernet 0/0/0
(ArubaS2500-24P) (gigabitethernet "0/0/8") #switching-profile vlan10-sw
(ArubaS2500-24P) (gigabitethernet "0/0/8") #exit
Application du vLAN à un groupe de ports
(ArubaS2500-24P) (config) #interface-group gigabitethernet vlan10-grp
(ArubaS2500-24P) (gigabitethernet "vlan10") #apply-to 0/0/0-0/0/3
(ArubaS2500-24P) (gigabitethernet "vlan10") #trusted port
(ArubaS2500-24P) (gigabitethernet "vlan10") #no shutdown
(ArubaS2500-24P) (gigabitethernet "vlan10") #switching-profile vlan10
(ArubaS2500-24P) (gigabitethernet "vlan10") #exit
(ArubaS2500-24P) (config) #exit
(ArubaS2500-24P) #write memory
Ajout ou suppression d'interface à un vLAN
(ArubaS2500-24P) (gigabitethernet "vlan10") #apply-to [add | remove] <interface-list>
DHCP
(ArubaS2500-24P) (dhcp server profile "vlan10-pool") #
(ArubaS2500-24P) (dhcp server profile "vlan10-pool") #?
clone Copy data from another dhcp server profile
default-router DHCP default router in A.B.C.D format
dns-server DNS servers in A.B.C.D format
domain-name Specify domain name
exclude-address Configure exclude address
hardware-address MAC address of the device
lease DHCP server pool lease time (Default: 12 hours)
netbios-name-server Configure netbios name servers in A.B.C.D format
network DHCP server network pool
no Delete Command
option Configure server option
vendor-class-identifi.. Configure vendor-class-identifier (Default: ArubaAP)
No Comments