Page 311 / 757 Scroll up to view Page 306 - 310
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
307
config qinq ports
Purpose
Used to configure QinQ ports parameters.
Syntax
config qinq ports [<portlist> | all] {role [nni | uni] | missdrop [enable | disable] | [outer_
tpid | tpid]<hex 0x1 - 0xffff> | use_inner_priority [enable | disable]}(1)
Description
The command used to configure QinQ port parameters, include:
Role of a port.
Missdrop of a port.
Outer-TPID of a port.
Use inner-priority of a port.
Parameters
ports
- A range of ports to configure.
role
- Port role in QinQ mode
UNI
- Port is connecting to customer network.
NNI
- Port is connecting to service provider network.
outer_tpid | tpid
- Outer-TPID of a port.
use_inner_priority
- Specify whether to use the priority in the C-VLAN tag as the priority in the
S-VLAN tag. By default, the setting is disabled.
missdrop
- Enable/disable miss drop of port.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To config port list 1-4 as NNI port, set TPID to 0x88A8:
DGS-3627:admin# config qinq ports 1-4 role nni outer_tpid 0x88a8
Command: config qinq ports 1-4 role nni outer_tpid 0x88a8
Success.
DGS-3627:admin#
show qinq ports
Purpose
Used to show qinq configuration of ports.
Syntax
show qinq ports {<portlist>}
Description
The command used to show qinq configuration of ports, include:
Role of port.
Outer-TPID of port.
Miss drop state of port.
Use inner-priority of a port.
Parameters
portlist
- Specifies a range of ports to be displayed. (Unit ID: port number).
If no parameter specified, system will display all ports information.
Restrictions
None.
Example usage:
To show QinQ mode for ports 1-4 of unit 1:
Page 312 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
308
DGS-3627:admin# show qinq ports 1:1-1:4
Command: show qinq ports 1:1-1:4
Port
Role
Missdrop
TPID
Use Inner Priority
-----
------
--------
-----------
------------------
1:1
Normal
Disabled
0x8100
Disabled
1:2
Normal
Disabled
0x8100
Disabled
1:3
Normal
Disabled
0x8100
Disabled
1:4
Normal
Disabled
0x8100
Disabled
DGS-3627:admin#
delete vlan_translation ports
Purpose
Used to delete existed VLAN translation rules.
Syntax
delete vlan_translation ports [ <portlist> | all ] { cvid <vidlist> }
Description
The delete vlan_translation command is used to delete translation relationship between C-
VLAN and S-VLAN.
Parameters
ports
- The translation rule for the specified ports.
cvid
- The rules for the specified CVIDs. If CVID is not specified, all rules configured for the
port will be deleted.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To delete VLAN translation rule on ports 1-4:
DGS-3627:admin#
delete vlan_translation ports 1-4
Command: delete vlan_translation ports 1-4
Success.
DGS-3627:admin#
show vlan_translation
Purpose
Used to show existed C-VLAN based VLAN translation rules.
Syntax
show vlan_translation {[ports <portlist>}
Description
Used to show existed C-VLAN based VLAN translation rules.
Parameters
ports
- The C-VLAN based VLAN translation rule of the ports.
Restrictions
None.
Example usage:
To show C-VLAN based VLAN translation rules in the system:
Page 313 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
309
DGS-3627:admin# show vlan_translation
Commands: show vlan_translation
Port
CVID
SVID
Action
Priority
------
-----
-----
------
--------
1
10
100
Add
4
1
20
100
Add
5
1
30
200
Add
6
2
10
100
Add
7
2
20
100
Add
1
Total Entries: 5
DGS-3627:admin#
create vlan_translation ports
Purpose
Use this command to create the CVID VLAN translation rules.
Syntax
create vlan_translation ports [<portlist> | all ] cvid <vidlist> [add | replace] svid <vlanid
1-4094> {priority <value 0-7>}
Description
Use this command to create the CVID VLAN translation rules.
Parameters
portlist
- A range of ports on which the S-VLAN will be translated
to C-VLAN
add
- The action indicates to add a tag for the assigned S-VLAN before the C-VLAN tag.
replace
- The action indicates to replace the C-VLAN tag with the SP VLAN.
cvid
- Specify the C-VLAN ID to match.
svid
- Specify the S-VLAN ID.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To replace C-Tag which CVID is 20 by S-Tag, S-VID is 200, at UNI Port 1:
DGS-3627:admin#
create vlan_translation ports 1 replace cvid 20 svid 200
Command: create vlan_translation ports 1 replace cvid 20 svid 200
Success.
DGS-3627:admin#
To Add S-Tag, S-VID is 300, to a packet which CVID is 30 at UNI Port 1:
DGS-3627:admin#
create vlan_translation ports 1 add cvid 30 svid 300
Command: create vlan_translation ports 1 add cvid 30 svid 300
Success.
DGS-3627:admin#
Page 314 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
310
41
IGMP AND MLD SNOOPING COMMANDS
The Internet Group Management Protocol (IGMP) is a Layer 4 protocol used to manage the membership of Internet
Protocol multicast groups. IGMP is used by IP hosts and adjacent multicast routers to establish multicast group
memberships. IGMP snooping, as implied by the name, is a feature that allows a Layer 2 switch to "listen in" on the IGMP
conversation between hosts and routers by processing the Layer 4 IGMP packets sent in a multicast network.
The Multicast Listener Discovery (MLD) is protocol used by an IPv6 router to discover the presence of multicast listeners
(that is, nodes wishing to receive multicast packets) on its directly attached links, and to discover specifically which
multicast addresses are of interest to those neighboring nodes.
Multicast Listener Discovery (MLD) Snooping is an IPv6 function used similarly to IGMP snooping in IPv4. It is used to
discover ports on a VLAN that are requesting multicast data. Instead of flooding all ports on a selected VLAN with
multicast traffic, MLD snooping will only forward multicast data to ports that wish to receive this data through the use of
queries and reports produced by the requesting ports and the source of the multicast traffic.
MLD snooping is accomplished through the examination of the layer 3 part of an MLD control packet transferred between
end nodes and a MLD router. When the Switch discovers that this route is requesting multicast traffic, it adds the port
directly attached to it into the correct IPv6 multicast table, and begins the process of forwarding multicast traffic to that
port. This entry in the multicast routing table records the port, the VLAN ID and the associated multicast IPv6 multicast
group address and then considers this port to be a active listening port. The active listening ports are the only ones to
receive multicast group data.
MLD Control Messages
Three types of messages are transferred between devices using MLD snooping. These three messages are all defined
by three ICMPv6 packet headers, labeled 130, 131 and 132.
Multicast Listener Query
– Similar to the IGMPv2 Host Membership Query for IPv4, and labeled as 130 in the
ICMPv6 packet header, this message is sent by the router to ask if any link is requesting multicast data. There
are three types of MLD query messages emitted by the router. The General Query is used to advertise all
multicast addresses that are ready to send multicast data to all listening ports, the Multicast Specific query
advertises a specific multicast address that is also ready, and the MLD Query, which is a Multicast Specific-
source query used for MLD Snooping version 2. These different types of messages are distinguished by a
multicast destination address located in the IPv6 header and a multicast address in the Multicast Listener Query
Message. MLDv2 has three types of messages General Query, Multicast Group Specific Query and Multicast
Group-and-Source Specific Query.
Multicast Listener Report
– Comparable to the Host Membership Report in IGMPv2, and labeled as 131 in the
ICMP packet header, this message is sent by the listening port to the Switch stating that it is interested in
receiving multicast data from a multicast address in response to the Multicast Listener Query message. MLDv2
introduces the concept of ‘Source List’ and ‘Filtering Mode’ therefore its listener report is labeled as 143 in the
packet header. There has also been six new filtering report modes added which include; MODE_IS_INCLUDE,
MODE_IS_EXCLUDE, CHANGE_TO_INCLUDE, CHANGE_TO_EXCLUDE, ALLOW_NEW and BLOCK_OLD.
Multicast Listener Done
– Akin to the Leave Group Message in IGMPv2, and labeled as 132 in the ICMPv6
packet header, this message is sent by the multicast listening port stating that it is no longer interested in
receiving multicast data from a specific multicast group address, therefore stating that it is “done” with the
multicast data from this address. Once this message is received by the Switch, it will no longer forward multicast
traffic from a specific multicast group address to this listening port.
Page 315 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
311
The IGMP and MLD Snooping commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command
Parameters
config igmp_snooping
[vlan_name <vlan_name 32> | all] {host_timeout <sec 1-16711450> |
router_timeout <sec 1-16711450> | leave_timer <sec 1-16711450> | state
[enable | disable] | fast_leave [enable | disable] | report_suppression [enable |
disable]}(1)
config igmp_snooping querier
[vlan_name <vlan_name 32> | all]{ query_interval <sec 1-65535> |
max_response_time <sec 1-25> | robustness_variable <value 1-255> |
last_member_query_interval <sec 1-25> | state [enable | disable]| version
<value 1-3> }
config router_ports
<vlan_name 32> [add | delete] <portlist>
config router_ports_forbidden
<vlan_name 32> [add | delete] <portlist>
enable igmp_snooping
{forward_mcrouter_only}
disable igmp_snooping
{forward_mcrouter_only}
create igmp_snooping static_group
[vlan<vlan_name 32> | vlanid <vlanid_list> ] <ipaddr>
delete igmp_snooping static_group
[vlan<vlan_name 32> | vlanid <vlanid_list> ] <ipaddr>
config igmp_snooping static_group
[vlan <vlan_name 32> | vlanid <vlanid_list> ] < ipaddr > [ add | delete] <portlist>
show igmp_snooping static_group
{[vlan <vlan_name 32> | vlanid <vlanid_list>] < ipaddr >}
show igmp_snooping
{vlan <vlan_name 32>}
show igmp_snooping group
{vlan <vlan_name 32>}
show igmp_snooping forwarding
{vlan <vlan_name 32>}
show router_ports
{vlan <vlan_name 32>} {static | dynamic | forbidden}
config mld_snooping
[vlan_name <vlan_name 32>| all] {node_timeout <sec 1-16711450> |
router_timeout <sec 1-16711450> | done_timer <sec 1-16711450> | state
[enable | disable] | fast_done [enable | disable]}(1)
config mld_snooping querier
[vlan_name <vlan_name 32> | all] {query_interval <sec 1-65535> |
max_response_time <sec 1-25> | robustness_variable <value 1-255> |
last_listener_query_interval <sec 1-25> | state [enable | disable] | version <value
1-2> }(1)
config mld_snooping mrouter_ports
vlan <vlan_name 32> [add | delete] <portlist>
config mld_snooping
mrouter_ports_forbidden
vlan <vlan_name 32> [add | delete] <portlist>
enable mld_snooping
{forward_mcrouter_only}
disable mld_snooping
{forward_mcrouter_only}
show mld_snooping
{vlan <vlan_name 32>}
show mld_snooping group
{vlan <vlan_name 32>}
show mld_snooping forwarding
{[vlan <vlan_name 32> | vlanid <vlanid_list>]}
show mld_snooping mrouter_ports
vlan <vlan_name 32> {[static | dynamic | forbidden]}
Each command is listed, in detail, in the following sections.
config igmp_snooping
Purpose
Used to configure IGMP snooping on the switch.

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top