
74
MES3000 Ethernet switch series
Ethernet and Port-Channel interface configuration mode commands (interface range)
Command line request in configuration interface configuration mode appears as follows:
console#
configure
console(config)#
interface
{
gigabitethernet
gi_port
| tengigabitethernet
te_port
|
port-channel
group
|
range
{…}
}
console(config-if)#
Table 5.44 —Ethernet interface configuration mode commands (interface range)
Command
Value
Action
selective-qinq list ingress
add_vlan
vlan_id
[ingress_vlan
ingress_vlan_id
]
vlan_id
:
(1..4094);
ingress_vlan_id:
(1..4094)
Create the rule that will be used for adding the second mark
vlan_id
to the packet with the external mark
ingress_vlan_id
. If
ingress_vlan_id
is not defined, the rule will be applied to all
inbound packets not falling under any other rule ('default rule').
selective-qinq list ingress deny
[ingress_vlan
ingress_vlan_id
]
ingress_vlan_id:
(1..4094)
Create the restriction rule that will be used for dropping packets
with external tag mark
ingress_vlan_id
. If
ingress_vlan_id
is not
defined, all inbound packets will be dropped.
selective-qinq list ingress
permit [ingress_vlan
ingress_vlan_id
]
ingress_vlan_id:
(1..4094)
Create the allowing rule that will allow to transmit inbound
packets with external tag mark
ingress_vlan_id
without any
changes. If
ingress_vlan_id
is not defined, all inbound packets will
be transmitted without changes.
selective-qinq list ingress
override_vlan
vlan_id
[ingress_vlan
ingress_vlan_id
]
vlan_id: (1..4094);
ingress_vlan_id:
(1..4094)
Create the rule that will replace
ingress_vlan_id
mark of the
inbound packet with vlan_id. If
ingress_vlan_id
is not defined, the
rule will be applied to all inbound packets.
selective-qinq list egress
override_vlan
vlan_id
[ingress_vlan
ingress_vlan_id
]
vlan_id: (1..4094);
ingress_vlan_id:
(1..4094)
Create the rule that will replace
ingress_vlan_id
mark of the
outbound packet with vlan_id. If
ingress_vlan_id
is not defined,
the rule will be applied as default rule.
no selective-qinq list ingress
[ingress-vlan
vlan_id
]
vlan_id: (1..4094)
Remove the selected selective qinq rule for inbound packets. The
command without ingress vlan parameter will delete the default
rule.
no selective-qinq list egress
ingress-vlan
vlan_id
vlan_id: (1..4094)
Remove the selective qinq rule list for outbound packets.
EXEC mode commands
Command line request in EXEC mode appears as follows:
console#
Table 5.45 —EXEC mode commands
Command
Value
Action
show selective-qinq
-
Show selective qinq rule list.
show selective-qinq interface
{
gigabitethernet
gi_port
|
tengigabitethernet
te_port
|
port-channel
group
}
gi_port: (1..8/0/1..24);
te_port: (1..8/0/1..4);
group:(1..12)
Show selective qinq rule list for the specific port.
Example execution of commands
Create the rule that will replace the external mark 11 of the inbound packet to 10.
console#
configure
console(config)#
interface gigabitethernet 1/0/1
console(config-if)#
selective-qinq list ingress override vlan
10
ingress-
vlan
11
console(config-if)# end