Page 296 / 757 Scroll up to view Page 291 - 295
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
292
config gratuitous_arp send duplicate_ip_detected
Description
The command is used to enable/disable sending of gratuitous ARP request packet while
duplicate IP is detected. By default, the state is disabled. For this command, the duplicate IP
detected means that the system received an ARP request packet that is sent by an IP
address that match the system’s own IP address. In this case, the system knows that some
body out there uses an IP address that is conflict with the system. In order to reclaim the
correct host of this IP address, the system can send out the gratuitous ARP request packet
for this duplicate IP address.
Parameters
enable
- Enable sending of gratuitous ARP when duplicate IP is detected.
disable
- Disable sending of gratuitous ARP when duplicate IP is detected.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable send gratuitous ARP request when duplicate IP is detected:
DGS-3627:admin# config gratuitous_arp send dup_ip_detected enable
Command: config gratuitous_arp send dup_ip_detected enable
Success.
DGS-3627:admin#
config gratuitous_arp learning
Purpose
Used to enable or disable learning of ARP entry in ARP cache based on the received
gratuitous ARP packet.
Syntax
config gratuitous_arp learning
[enable | disable]
Description
Normally, the system will only learn the ARP reply packet or a normal ARP request packet
that asks for the MAC address that corresponds to the system’s IP address. The command is
used to enable/disable learning of ARP entry in ARP cache based on the received gratuitous
ARP packet. The gratuitous ARP packet is sent by a source IP address that is identical to the
IP that the packet is queries for. Note that, with the gratuitous ARP learning, the system will
not learn new entry but only do the update on the ARP table based on the received gratuitous
ARP packet. By default, the state is disabled.
Parameters
enable
- Enable learning of ARP entry based on the received gratuitous ARP packet.
disable
- Disable learning of ARP entry based on the received gratuitous ARP packet.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable update ARP table when Gratuitous ARP received:
DGS-3627:admin# config gratuitous_arp learning enable
Command: config gratuitous_arp learning enable
Success.
DGS-3627:admin#
config gratuitous_arp periodical_send
Purpose
Used to configure the interval for periodical sending of gratuitous ARP request packet.
Syntax
config gratuitous_arp send periodically ipif <ipif_name 12> interval <value 0-65535>
Page 297 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
293
config gratuitous_arp periodical_send
Description
The command is used to configure the interval for periodical sending of gratuitous ARP
request packet. By default, the interval is 0.
Parameters
ipif <ipif_name 12>
- Interface name of L3 interface.
interval <value 0-65535>
- Periodically send gratuitous ARP interval time in seconds.0 means
not send gratuitous ARP periodically.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure gratuitous ARP interval to 5 for IPIF System:
DGS-3627:admin# config gratuitous_arp send periodically ipif System interval 5
Command: config gratuitous_arp send periodically ipif System interval 5
Success.
DGS-3627:admin#
enable gratuitous_arp trap
Purpose
Used to enable gratuitous ARP trap and log state.
Syntax
enable gratuitous_arp {ipif <ipif_name 12>} {trap | log}
Description
The command is used to enable gratuitous ARP trap and log state. The switch can trap and
log the IP conflict event to inform the administrator. By default, trap is disabled and event log
is enabled.
Parameters
ipif <ipif_name 12>
- Interface name of L3 interface
trap
– Specify to enable traps for gratuitous ARP.
log
– Specify to enable the log for gratuitous ARP.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable system interface’s gratuitous ARP log and trap:
DGS-3627:admin# enable gratuitous_arp ipif System trap log
Command: enable gratuitous_arp ipif System trap log
Success.
DGS-3627:admin#
disable gratuitous_arp trap
Purpose
Used to disable interface’s gratuitous ARP log and trap.
Syntax
disable gratuitous_arp {ipif <ipif_name 12>} {trap | log}
Description
The command is used to disable gratuitous ARP trap and log state.
Parameters
ipif <ipif_name 12>
- Interface name of L3 interface
trap
– Specify to disable traps for gratuitous ARP.
log
– Specify to disable the log for gratuitous ARP.
Restrictions
Only Administrator and Operator-level users can issue this command.
Page 298 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
294
Example usage:
To disable system interface’s gratuitous ARP log and trap:
DGS-3627:admin# disable gratuitous_arp ipif System trap log
Command: disable gratuitous_arp ipif System trap log
Success.
DGS-3627:admin#
show gratuitous_arp
Purpose
Used to display gratuitous ARP configuration.
Syntax
show gratuitous_arp {ipif <ipif_name 12>}
Description
The show gratuitous_arp command is used to display gratuitous ARP configuration.
Parameters
ipif <ipif_name 12>
- Interface name of L3 interface.
Restrictions
None.
Example usage:
To display gratuitous ARP configuration:
DGS-3627:admin# show gratuitous_arp
Command: show gratuitous_arp
Send on IPIF status up
: Enabled
Send on Duplicate_IP_Detected
:
Disabled
Gratuitous ARP Learning
:
Enabled
IP Interface Name : System
Gratuitous ARP Trap
: Disabled
Gratuitous ARP Log
: Enabled
Gratuitous ARP Periodical Send Interval
: 5
IP Interface Name : ip1
Gratuitous ARP Trap
: Enabled
Gratuitous ARP Log
: Disabled
Gratuitous ARP Periodical Send Interval
: 6
Total Entries: 2
DGS-3627:admin#
Page 299 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
295
39
IEEE 802.1Q VLAN COMMANDS
Along with normal VLAN configurations, this Switch now incorporate Double VLANs. Better known as Q-IN-Q VLANs,
Double VLANs allow network providers to expand their VLAN configurations to place VLANs within a larger inclusive
VLAN, which adds a new layer to the VLAN configuration. This basically lets large ISP's create L2 Virtual Private
Networks and also create transparent LANs for their customers, which will connect two or more customer LAN points
without over complicating configurations on the client's side. Not only will over-complication be avoided, but now the
administrator has over 4000 VLANs in which over 4000 VLANs can be placed, therefore greatly expanding the VLAN
network.
Implementation of this feature adds a VLAN frame to an existing VLAN frame for the ISP VLAN recognition and
classification. To ensure devices notice this added VLAN frame, an Ethernet encapsulation, here known as a tpid, is also
added to the frame. The device recognizes this tpid and therefore checks the VLAN tagged packet to see if a provider
VLAN tag has been added. If so, the packet is then routed through this provider VLAN, which contains smaller VLANs
with similar configurations to ensure speedy and guaranteed routing destination of the packet.
The IEEE 802.1Q VLAN commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command
Parameters
create vlan
<vlan_name 32> {tag <vlanid 2-4094> | type 1q_vlan | advertisement}
delete vlan
<vlan_name 32>
config vlan
<vlan_name 32> {[add [tagged | untagged | forbidden] | delete] <portlist> |
advertisement [enable | disable]}
config vlan
<vlan_name 32> delete <portlist>
config gvrp
[<portlist> | all] {state [enable | disable] | ingress_checking [enable | disable] |
acceptable_frame [tagged_only | admit_all] | pvid <vlanid 1-4094>}
enable gvrp
disable gvrp
show vlan
{[<vlan_name 32> | vlanid <vidlist>] | ports <portlist>}
show gvrp
{<portlist>}
enable double_vlan
disable double_vlan
create double_vlan
<vlan_name 32> spvid <vlanid 1-4094> {tpid <hex 0x0-0xffff>}
config double_vlan
<vlan_name> {[[add [access | uplink] | delete] <portlist> | tpid <hex 0x0-0xffff>]}
delete double_vlan
<vlan_name>
show double_vlan
{<vlan_name>}
enable pvid auto_assign
disable pvid auto_assign
show pvid auto_assign
Each command is listed, in detail, in the following sections.
Page 300 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
296
create vlan
Purpose
Used to create a VLAN on the Switch.
Syntax
create vlan <vlan_name 32> {tag <vlanid 2-4094> | type 1q_vlan | advertisement}
Description
This command allows the creation of a VLAN on the Switch.
Parameters
<vlan_name 32>
The name of the VLAN to be created.
tag <vlanid 2-4094>
The VLAN ID of the VLAN to be created. Allowed values = 2-4094
type
– This parameter uses the
type
field of the packet header to determine the packet protocol
and destination VLAN:
1q_vlan
– Allows the creation of a normal 802.1Q VLAN on the Switch.
advertisement
Specifies that the VLAN is able to join GVRP.
Restrictions
Each VLAN name can be up to 32 characters. Only Administrator and Operator-level users can
issue this command.
Example usage:
To create a VLAN v1, tag 2:
DGS-3627:admin# create vlan v1 tag 2
Command: create vlan v1 tag 2
Success.
DGS-3627:admin#
delete vlan
Purpose
Used to delete a previously configured VLAN on the Switch.
Syntax
delete vlan <vlan_name 32>
Description
This command will delete a previously configured VLAN on the Switch.
Parameters
<vlan_name 32>
The VLAN name of the VLAN to delete.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To remove the VLAN “v1”:
DGS-3627:admin# delete vlan v1
Command: delete vlan v1
Success.
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