H3C S5500 V2 series basic configuration
1. Configure the exchange web interface
<h3c>sys (enter system mode)
[h3c]int vlan 1 (enter virtual interface VLAN 1)
[h3c-int-vlan 1]undo ip address (clear the original address)
[h3c-int-vlan 1]ip add 2.10.3.1 255.255.255.0 (Configure web interface ip address)
[h3c-int-vlan 1]quit (return to the previous level)
[h3c]ip http enable (enable web service)
[h3c]local-user admin (set local user name, here user name admin)
[h3c-admin]password simple admin(Set local password, password here is admin)
[h3c-admin]service-type telnet level 3 (set the service level to level 3)
[h3c-admin]quit (return to the previous level)
[h3c]loal-user admin
[h3c-admin]service-type terminal telnet http https (security protection measures, authentication method)
[h3c-admin]quit (return to the previous level)
Note: After the above configuration is completed, access the server using IE to access the IP address 2.10.3.1.
2. The switch divides vlan
<h3c>sys (enter system mode)
[h3c]vlan 2 (divide vlan 2)
[h3c-vlan 2]quit (return to the previous level)
[h3c]vlan 3 (divide vlan 3)
[h3c-vlan 3]quit (return to the previous level)
[h3c]vlan 2 (enter vlan 2)
[h3c-vlan 2]port g/0/1 to g1/0/12 (Port division of vlan 2 - here vlan 2 is divided into ports 1-12)
[h3c-vlan 2]quit (return to the previous level)
[h3c]vlan 3 (enter vlan 3)
[h3c-vlan 3]port g/0/13 to g1/0/24 (Port division of vlan 3 - here vlan3 is divided into ports 13-24)
Note: The above configuration is based on the site requirements. The 24-port switch is divided into two vlans and all ports are equally divided.
3. Switch VLAN IP intercommunication
[h3c]int vlan 2
[h3c-vlan-interface 2]ip add 192.168.2.1 255.255.255.0
[h3c-vlan-interface 2]quit
[h3c]int vlan 3
[h3c-vlan-interface 3]ip add 192.168.3.1 255.255.255.0
[h3c-vlan-interface 3]quit
Note: After the above configuration is completed, the port of vlan 2 can communicate with the port of vlan 3.
4. Simple and commonly used configuration commands
<huawei> system-view abbreviation: sy |
Enter system view |
[huawei]sysname huawei |
Switch naming |
[huawei]quit abbreviation: q |
Back to previous |
[huawei]return abbreviation: ret |
Return directly to user view |
<huawei>save abbreviation: sa |
Save configuration |
<huawei>reboot |
Reboot the device |
[huawei]dis cur |
View configuration |
[huawei]dis vlan |
View Vlan |
[huawei]dis int g0/0/1 |
View port |
[huawei]vlan 100 |
Create new Vlan |
[huawei]undo vlan 100 |
Delete Vlan |
[huawei-vlan100]port g0/0/1 |
Put the port into Vlan 100 |
[huawei-vlan100]undo port g0/0/1 |
Indicates deleting the current Vlan port 1 |
[huawei-vlan100]description wifi |
NameVlan |
[huawei]int vlan 100 |
Enter Vlan |
[huawei-vlanif100]ip address |
Configure Vlan management address |
[huawei] int g0/0/1 |
Entry port |
[ huawei -GigabitEthernet0/0/1]port link-type access |
Set the port to access mode |
[Huawei-GigabitEthernet0/0/1]port default vlan 100 |
Put the port into Vlan 100 |
[ huawei -GigabitEthernet0/0/1]port link-type trunk |
Set the port to trunk mode |
[ huawei -G0/0/1] port trunk allow-pass vlan all |
Set to allow all Vlan packets to pass |
[ huawei -GigabitEthernet0/0/1]undo port link-type |
Delete port configuration |
<huawei>reset saved-configuration |
Remove old configuration files |
[Huawei-Vlanif60]dhcp select global |
The DHCP acquisition scope is obtained from the global global |