S
S
Sienore2022-02-11 15:11:44
Telephony
Sienore, 2022-02-11 15:11:44

How to configure VLAN for telephony?

Available:

  • Mikrotik hAP ac lite
  • 4 Cisco SPA502G phones
  • 4 computers


A wire from the provider is connected to ether1. Ports ether2 - ether5 are united in a bridge, telephones are connected to them, to which computers are connected. How to allocate phones to a hotel VLAN? What will be tagged and what will be untagged in this case?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Melnikov, 2022-02-11
@Mi11er

If it’s simple, then through the vlan software on the bridge
1) 2 vlan interfaces are created (one for hosts, the other for phones), we hang them on the bridge
2) we enable vlan filtering
in the bridge 3) we create 2 of these vlans in the bridge itself
4) we shove into tagged bridge + port
5) On the phone, enable the use of vlans and specify vlan for the phone and vlan for the port of the second

A
Amy Doelly, 2022-02-12
@AmyDoelly

answer from Amy hope this helps
The VLAN setup process is actually very simple, it only consists of two steps: (1) Name each VLAN group; (2) Map the corresponding VLAN to the corresponding switch port.
The specific configuration process is as follows:
Step 1: Configure HyperTerminal, connect to the 1900 switch, and configure the switch VLAN through HyperTerminal. After connecting successfully, the main configuration interface will appear as shown below (the switch has completed the basic information configuration before):
1 user(s) now active in the Management Console.
User interface menu
[M] Menu
[K] Command line
[I] IP configuration
Enter selection:
[Note] HyperTerminal is executed using the “Hypertrm” program provided with Windows system. Please refer to the related information for details.
Step 2: Press the "K" button, select the "[K] Command Line" option in the main interface menu, and enter the following command line configuration interface:
The CLI session with the switch is open.
To end the CLI session, enter [Logout].
>
At this point, we have entered the switch's normal user mode, just like a router, this mode can only view the current configuration, but cannot change the configuration, and the commands that can be used are very limited. So, we have to enter "privileged mode".
Step 3: Enter the privileged mode command "enable" in the previous ">>" prompt to enter privileged mode, the command format is "">enable", and then enter the switch's privileged mode configuration prompt:
#config t
Enter the configuration commands, one at a time per line. Finally press CNTL/Z.
(configuration)#
Step 4: For security and convenience, we will name the three switches Catalyst 1900 and set a password to enter privileged mode. In the following, Switch1 is used only as an example for reference. The configuration code looks like this:
(config)#Switch1 hostname
Switch1(config)# enable password level 15 XXXXXX
Switch 1 (config) #
[Note] The privileged mode password must be between 4 and 8 characters. It should be noted that the password entered here is displayed directly in plain text, so please keep it confidential. The switch uses the level size to determine the password authority. Level 1 is the password to enter the command line interface, that is, after setting the level 1 password, the next time you connect to the switch and enter K, you will be prompted for a password, which is the password set by level 1. And level 15 is the privileged mode password that you will be prompted for after entering the “enable” command.
Step 5: Set the VLAN name. Since the four VLANs belong to different switches, the VLAN naming command looks like this: vlan vlan number name vlan name, and the codes to configure VLAN 2, 3, 4, and 5 on Switch1, Switch2, Switch3 and switches:
Switch1 (config)#vlan 2 name Prod
Switch2 (config)#vlan 3 name Fina
Switch3 (config)#vlan 4 name Huma
Switch3 (config)#vlan 5 name Information
[Note] The above configuration is performed according to the rules shown in Table 1.
Step 6: In the previous step, we configured the VLAN groups for each switch, and now these VLANs should match the switch port numbers listed in Table 1. The command corresponding to the port number is "vlan-membership static/dynamic VLAN number". In this command, one of the "static" (static) and "dynamic" (dynamic) allocation methods must be selected, but the "static" (static) method is usually selected.
Amybaud.com _

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question