Page 651 / 757 Scroll up to view Page 646 - 650
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
647
config stacking force_master_role
current stacking topology. If the state is enabled, the master’s priority will become zero after
the stacking has stabilized.
Parameters
force_master_rol
e - Used to enable or disable the switch’s Stacking Force Master Role state.
The default setting is disabled.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable the stacking force master role state:
DGS-3627:admin# config stacking force_master_role state enable
Command: config stacking force_master_role state enable
Success.
DGS-3627:admin#
Page 652 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
648
85
STATIC MAC-BASED VLAN COMMANDS
The Static MAC-Based VLAN commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
For bridges that implement MAC-based VLAN classification, the VID associated with an Untagged or Priority-tagged
Frame is determined based on the source MAC address. The each entry of VLAN_MAC table specifies a relationship for
a source MAC address with a VLAN. If the source MAC address of ingress untagged or priority-tagged frame is match
with the entry, the VLAN of the frame will be assigned according VLAN assignment rule in the entry.
Command
Parameters
create mac_based_vlan
mac_address
<macaddr> vlan [<vlan_name 32> | vlanid <vlanid 1-4094>]
delete mac_based_vlan
[mac_address <macaddr> | all]
show mac_based_vlan
{mac_address <macaddr> | [vlan <vlan_name 32>]}
Each command is listed, in detail, in the following sections.
create mac_based_vlan
Purpose
Used to create a static mac-based vlan entry.
Syntax
create mac_based_vlan mac_address <macaddr> [vlan <vlan_name 32> | vlanid <vlanid 1-
4094>]
Description
The user can use this command to create a static mac-based VLAN entry.
When a static mac_based_vlan entry is created for a user, the traffic from this user will be able to
be serviced under the specified VLAN regardless of the authentiucation function operated on this
port.
There is a global limitation of the maximum entries supported for the static mac-based entry. It is
1024.
Parameters
mac_address
The MAC address.
vlan
The VLAN to be associated with the MAC address.
vlanid
- The VLAN ID to be associated with the MAC address.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage
To create mab_local:
DGS-3627:admin# create mac_based_vlan mac_address 00-00-00-00-00-01 vlan default
Command: create mac_based_vlan mac_address 00-00-00-00-00-01 vlan default
Success.
DGS-3627:admin#
Page 653 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
649
delete mac_based_vlan
Purpose
Used to delete the static MAC-based VLAN entry.
Syntax
delete mac_based_vlan [mac_address <macaddr> | all]
Description
Use this command to delete a database entry. If the mac_address and vlan is not specified, all
static entries associated with the port will be removed.
Parameters
mac_address
The MAC address.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage
To delete a static mac-based-vlan entry:
DGS-3627:admin# delete mac_based_vlan mac_address 00-00-00-00-00-01 vlan default
Command: delete mac_based_vlan mac mac_address 00-00-00-00-00-01 vlan default
Success.
DGS-3627:admin#
show mac_based_vlan
Purpose
Used to show the static or dynamic MAC-based VLAN entry.
Syntax
show mac_based_vlan {mac_address <macaddr> |
[vlan <vlan_name 32>]}
Description
User can use this command to display the static or dynamic MAC-Based VLAN entry.
Parameters
mac_address
Specifies the entry that you would like to display.
vlan
Specifies the VLAN to be associated with the MAC address that you would like to display.
Restrictions
None.
Example usage
To display the static MAC-based VLAN entry:
DGS-3627:admin# show mac_based_vlan
Command: show mac_based_vlan
MAC Address
VLAN
Status
Type
-------------
-----------
-------------
------------
00-80-e0-14-a7-57
200
Active
Static
00-80-c2-33-c3-45
200
Inactive
Mac based access control
00-80-c2-33-c3-45
300
Active
JWAC
00-80-c2-33-c3-90
400
Active
WAC
00-a2-44-17-32-98
500
Active
Multiple Authentication
00-a2-44-17-32-97
500
Active
802.1x
Total Entries : 6
DGS-3627:admin#
Page 654 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
650
86
STATIC MULTICAST ROUTE COMMANDS
The static multicast route commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
IP multicast static routes are used to configure static RPF check paths that don’t depend on the unicast route table. The
main goal of IP multicast static routes is to let multicast traffic diverge from unicast traffic.
Command
Parameters
create ipmroute
<network_address> rpf_address [<ipaddr> | null]
delete ipmroute
[<network_address> | all]
show ipmroute
{ <network_address>}
Each command is listed, in detail, in the following sections.
create ipmroute
Purpose
Used to create an ip multicast static route configuration entry.
Syntax
create ipmroute <network_address> rpf_address [<ipaddr> | null]
Description
Normally, when a IP multicast packet is received, the source IP address of the packet is used to
do the RPF check. When an RPF network is configured for network, and the source IP address
of the received IP multicast packet matches this network, the RPF network will be used to do
RPF check.
Parameters
network_address
– If the source IP address of the received IP multicast packet matches this
network, the RPF network is used to do RPF check.
ipaddr
– If it specifies a ip address, if the source IP address of the received IP multicast packet
match network_address, ipaddr will be used to check whether packet receive from legal
upstream interface. If it is set to null, it means that if the source IP address in the received IP
multicast packet match network_address, RPF check will always fail.
Restrictions
Only Administrator and Operator-level users can issue this command. Current, static multicast
routes only support PIM environment.
Usage examle:
To create an IP multicast static route entry:
DGS-3627:admin# create ipmroute 10.0.0.9/8 rpf_address 20.1.1.1
Command: create ipmroute 10.0.0.9/8 rpf_address 20.1.1.1
Success.
DGS-3627:admin#
delete ipmroute
Purpose
Used to delete an IP multicast static route configuration entry.
Syntax
delete ipmroute [<network_address>|all]
Page 655 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
651
delete ipmroute
Description
Deletes an IP multicast static route configuration entry.
Parameters
network_address
– The entry corresponds to the specified network to be deleted.
all
– All configured entries will be removed.
Restrictions
Only Administrator and Operator-level users can issue this command.
Usage examle:
To delete an IP multicast static route entry:
DGS-3627:admin# delete ipmroute 10.0.0.9/8
Command: delete ipmroute 10.0.0.9/8
Success.
DGS-3627:admin#
show ipmroute
Purpose
Used to display an IP multicast static route configuration entry.
Syntax
show ipmroute { <network_address>}
Description
The show ipmroute command displays the RPF check entry to a source IP address range.
Parameters
network_address
– The network address that will be used, if the IP multicast packet received
matches it, the RPF address configured
will be used to do the RPF check.
Restrictions
None.
Usage examle:
To display an IP multicast static route entry:
DGS-3627:admin# show ipmroute 10.0.0.0/8
Command: show ipmroute 10.0.0.0/8
Index
Source IP Address
RPF IP Address
-----
--------------------
---------------------
1
10.0.0.0/8
20.1.1.1
Total Entries
: 1
DGS-3627:admin#

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

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

Share
Top