HPE Switching |
Introduction |
Knowledge Base |
How to Configure VLAN in HPE Switch 10504 |
Synopsis
This article will provide the example to configure the VLAN in HPE 10504 Switches
Configurations Steps:
1) Login the device
login: username
password:
2) Once you will login the switch , You will be enter in Operational level
switch>
3) Go to Manager Level from operational Level
switch>enable
switch]
4) Configure the Hostname in Switch
switch] vlan vlan-id
switch-vlan-id]name VLAN-NAME
switch-vlan-id]exit
Example
] vlan 100
[Switch-vlan-100]name Test-vlan
5)Assign the vlan on inteface as access mode
switch] interface GigabitEthernet1/0/1
switch-GigabitEthernet1/0/1]port access vlan 100
switch-GigabitEthernet1/0/1]exit
6) Save the Configuration
[Switch1] save force
7) To verify the configured vlan and port which has been assigned for this vlan
[switch]display vlan
Total VLANs: 2
The VLANs include:
1(default), 100[switch] display vlan 100
VLAN ID: 100
VLAN type: Static
Route interface: Not configured
Description: VLAN 100
Name: TEST VLAN
Tagged ports: None
Untagged ports:
GigabitEthernet1/0/1