:local queueName "Client- $leaseActMAC";
:if ($leaseBound = "1") do={
/queue simple add parent=ALL name=$queueName target=($leaseActIP . "/32") max-limit=5M/5M comment=[/ip dhcp-server lease get [find where active-mac-address=$leaseActMAC && active-address=$leaseActIP] host-name];
} else={
/queue simple remove $queueName
}
Biar gak hilang aja jadi aku tulis disini, mana tau ada kawan yang memiliki kasus yang sama..
Jumat, 05 Juli 2024
Queue Dinamis Dhcp Mikrotik
Sabtu, 16 Maret 2024
Perintah Dasar Config Switch Huawei
Tambah Vlan:
<HUAWEI> system-view
[HUAWEI] vlan 100
[HUAWEI] name Vlan_name
[HUAWEI] descriptoion vlan_description
[HUAWEI] commit
IP Address:
<HUAWEI> system-view
[HUAWEI] interface vlanif 99
[~HUAWEI-vlanif] ip 10.10.10.10 30
[~HUAWEI] quit
[HUAWEI] commit
Config interface sebagai Trunk:
<HUAWEI> system-view
[HUAWEI] interface 10GE1/0/24
[HUAWEI] port link-type trunk
[HUAWEI] port trunk allow-pass vlan 99
[HUAWEI]device transceiver 10GBASE-FIBER
[HUAWEI] quit
[HUAWEI] commit
Config interface sebagai access:
<HUAWEI> system-view
[HUAWEI] interface GigabitEthernet 0/0/13
[HUAWEI-GigabitEthernet 0/0/13]port link-type access
[HUAWEI-GigabitEthernet 0/0/13]port default vlan 6
[HUAWEI-GigabitEthernet 0/0/13]quit
Disable negotiation :
<HUAWEI> system-view
[HUAWEI] interface 10GE1/0/24
[HUAWEI] interface 10GE1/0/24
Menampilan Modul SFP:
<HUAWEI>display interface 40GE 1/0/1 transceiver
Menampilan Power Modul SFP:
<HUAWEI>display interface 40GE 1/0/1 transceiver brief
Menampilkan Detail Interface:
<HUAWEI>display interface 10GE1/0/2
Menampilkan waktu:
<HUAWEI>display clock