I wonder if it is possible to set a VLAN for a selected traffic with a policy condition command.
For example:
Code: Select all
policy condition fromPort1 source port 1/1
policy action vlan 1234Code: Select all
policy condition fromPort1 source port 1/1
policy action vlan 1234Yes I know that but let me explain my idea... Like I said in my previous topic (thank you for your helpcedric1 wrote:hello
for qos you can classify in this way :
Condition Combinations
The CLI prevents you from configuring invalid condition combinations that are never allowed; however, it
does allow you to create combinations that are supported in some scenarios. For example, you might
configure source ip and a destination ip for the same condition.
The following conditions are supported and may be combined with other conditions and/or actions:
• Layer 1—source port, source port group, destination port, destination port group.
• Layer 2—source MAC, source MAC group, destination MAC, destination MAC group, 802.1p, inner
802.1p, ethertype, source VLAN, inner source VLAN, destination VLAN (multicast policies only).
• Layer 3—IP protocol, source IP, source IPv6, multicast IP, destination IP, destination IPv6, source
network group, destination network group, multicast network group, IPv6 traffic, IPv6 next header
(NH), IPv6 flow label (FL), ToS, DSCP, ICMP type, ICMP code.
• Layer 4—source TCP/UDP port, destination TCP/UDP port, service, service group, TCP flags (ECN
and CWR are only supported on the OmniSwitch 6800).
• IP Multicast—An IP multicast condition is used in IGMP ACLs. The multicast IP is the multicast
group address used in the IGMP report packet.
Code: Select all
policy condition fromPort1 source port 1/1Code: Select all
policy condition fromPort2 source port 1/2Code: Select all
policy action mirror1 ingress egress mirror 1/12Code: Select all
policy rule mirrorPort1 condition fromPort1 action mirror1Code: Select all
policy rule mirrorPort2 condition fromPort2 action mirror1