
🌐 Machine-translated from Russian. Show original
⚙️ Commands and menu items are standard. Syntax varies between firmware models and versions: refer to documentation and check for changes on the test device or outside working hours.
In this part:
Site-to-site IPsec
The most convenient VPN wizard → IPsec Wizard (Site-to-Site type) is most convenient for office communication:
- Remote gateway — an external IP or DDNS name of the second office.
- Authentication is a shared key (long and random) or certificates.
- Local and remote subnets are non-overlapping (addressing plan).
- The wizard will create the tunnel, routes, and policies; check that policies allow only the necessary traffic between offices.
If the other end is not FortiGate (MikroTik, another brand), agree on phase 1 and 2 parameters: encryption algorithms, DH groups, key lifetime — they must match on both sides. For MikroTik, see the series.
Remote employee access
FortiGate supports remote access via IPsec (dial-up) and the FortiClient client. Recommendations:
Read more
🌐 Machine-translated from Russian. Show original
⚙️ Commands and menu items are standard. Syntax varies between firmware models and versions: refer to documentation and check for changes on the test device or outside working hours.
In this part:
What is FortiGate
FortiGate is a next-generation firewall (NGFW) from Fortinet: routing, firewall policies, NAT, VPN, and security profiles (antivirus, IPS, web filtering, application control). Managed via web interface and CLI; for multiple devices — centrally via FortiManager.
First connection
- Connect to the management port (default address is specified in the model documentation).
- Change the administrator password, set the device name and time zone, update FortiOS to the recommended version.
- Restrict administrative access:
config system interface
edit "port1"
set ip 192.168.99.1 255.255.255.0
set allowaccess ping https ssh
next
edit "wan1"
set mode dhcp
set allowaccess ping
next
end
⚠️ Do not allow HTTPS and SSH administration on the WAN interface. If external access is needed — only via VPN or from trusted addresses (Trusted Hosts at the administrator account).
Interfaces and VLANs
config system interface
edit "vlan10"
set vdom "root"
set interface "port2"
set vlanid 10
set ip 192.168.10.1 255.255.255.0
set allowaccess ping
next
end
Read more
🌐 Machine-translated from Russian. Show original
⚙️ Commands and menu items are standard. Syntax varies between firmware models and versions: refer to documentation and check for changes on the test device or outside working hours.
In this part:
Huawei VRP: modes
Huawei's command line (VRP) differs from Cisco's:
| Action | Cisco | Huawei VRP |
|---|
| Configuration mode | configure terminal | system-view |
| Show configuration | show running-config | display current-configuration |
| Go above | exit | quit |
| Save | write | save |
| Remove the | no ... | undo ... |
Huawei: VLAN, access, and trunk
system-view
sysname SW-ACCESS-02
vlan batch 10 20 30 40 99
interface GigabitEthernet0/0/5
description PC-Office-05
port link-type access
port default vlan 10
quit
interface GigabitEthernet0/0/24
description Uplink
port link-type trunk
port trunk allow-pass vlan 10 20 30 40 99
quit
interface Vlanif99
ip address 192.168.99.12 255.255.255.0
quit
ip route-static 0.0.0.0 0.0.0.0 192.168.99.1
Huawei: SSH access
stelnet server enable
aaa
local-user admin password irreversible-cipher <сложный-пароль>
local-user admin service-type ssh
local-user admin privilege level 15
quit
user-interface vty 0 4
authentication-mode aaa
protocol inbound ssh
The AAA and SSH command sets differ between VRP versions — check the documentation for your model.
Huawei: useful displays
Read more
🌐 Machine-translated from Russian. Show original
⚙️ Commands and menu items are standard. Syntax varies between firmware models and versions: refer to documentation and check for changes on the test device or outside working hours.
In this part:
Why together
SNR and Eltex switches use a command line in the style of Cisco IOS: modes, command structure, and logic are similar. Once you master one, it's easy to work with others — but there are differences in details, especially in the syntax of VLAN lists.
CLI modes
switch> enable ! привилегированный режим
switch# configure terminal ! режим глобальной конфигурации
switch(config)# interface ... ! настройка интерфейса
switch(config-if)# exit
switch# show running-config ! текущая конфигурация
switch# write ! сохранить (у Cisco также copy running-config startup-config)
Basic setup
hostname SW-CORE-01
username admin privilege 15 secret <сложный-пароль>
ip domain-name corp.example.kz
crypto key generate rsa modulus 2048 ! для SSH (у SNR и Eltex команда может отличаться)
line vty 0 15
transport input ssh
login local
no ip http server
VLAN
vlan 10
name USERS
vlan 30
name CCTV
vlan 99
name MGMT
Management address in VLAN 99:
interface vlan 99
ip address 192.168.99.11 255.255.255.0
ip default-gateway 192.168.99.1
Access port
Read more
🌐 Machine-translated from Russian. Show original
⚙️ Commands and menu items are standard. Syntax varies between firmware models and versions: refer to documentation and check for changes on the test device or outside working hours.
In this part:
What is Omada
Omada is a line of TP-Link business equipment (gateways, switches, access points) with centralized control via a controller:
- hardware controller (separate device);
- software controller on a server or PC;
- Cloud controller.
Standalone devices can be configured individually via the web interface, but on a network of several devices, a controller is more convenient.
Connecting devices to the controller
- Install or enable the controller, create a website (office).
- Devices in the same network are detected by the controller itself; in another network — specify the controller's address via the DHCP option or detection utility.
- Adopt devices in the controller — after that, settings are set centrally.
- Update the firmware of all devices from the controller.
Networks and VLANs
In the network settings section, create networks according to the addressing plan, DHCP. For switches — port profiles:
- "Camera" profile — access VLAN 30;
- the "Access Point" profile — native management VLAN + user and guest VLAN tags;
- Uplink profile — all VLANs.
Read more
🌐 Machine-translated from Russian. Show original
In this part:
Why VLAN
A VLAN divides one physical switch into several logical networks. Cameras, employees, guests, and servers end up on different networks, and traffic between them passes only through the router or firewall — where it can be controlled.
Access and trunk
| Port type | What transmits | Where | is connected
| --- | --- | --- |
| Access | one tagless VLAN | computer, printer, camera, |
| Trunk | multiple VLANs with 802.1Q tags | another switch, router, access point, virtualization server, |
| Hybrid / general (for some brands) | one VLAN without a tag and several with tags | IP phone with computer behind it, access points, |
Native VLAN on trunk — VLAN transmitted without a tag. It must match at both ends of the link, otherwise traffic will "flow" to the wrong place.
Addressing plan
Make it before setting up the equipment:
| VLAN | Name | Subnet | Gateway |
|---|
| 10 | USERS | 192.168.10.0/24 | 192.168.10.1 |
| 20 | SERVERS | 192.168.20.0/24 | 192.168.20.1 |
| 30 | CCTV | 192.168.30.0/24 | 192.168.30.1 |
| 40 | GUEST | 192.168.40.0/24 | 192.168.40.1 |
| 99 | MGMT | 192.168.99.0/24 | 192.168.99.1 |
- Management VLAN (MGMT) — separate: addresses of switches, access points, controllers. Access — administrators only.
- For branches — non-overlapping bands (for example, 10...0/24).
Spanning Tree
Read more