можно ли сделать policy_route на основе vlan (тоесть выбор route в зависимости от vlan тега), и покажите как, что-то у меня не выходит.
(dgs-3627g), пока делаю так (по src ip), но это не совсем удобно в моем случае:
|10.3.144.1|--->|L2 vlan 144|--->|L3 router|--->|10.2.0.254|
Код:
create vlan vlan_144 tag 144
create ipif ipif_144 10.3.144.254/24 vlan_144 state enable
create access_profile profile_id 1 ip source_ip_mask 255.255.255.0
config access_profile profile_id 1 add access_id 1 ip source_ip 10.3.144.0 port 23 permit
create policy_route name ipif_144
config policy_route name ipif_144 acl profile_id 1 access_id 1 nexthop 10.2.0.254 state enable
create ipif to_shaper 10.3.0.253/24 default state enable
Спасибо