Page 91 / 757 Scroll up to view Page 86 - 90
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
87
config flow_meter profile_id
field rewritten using this parameter and entering the DSCP value to replace.
drop
– Enter this parameter to drop packets that are in the yellow flow.
counter [enable | disable] –
Use this parameter to enable or disable the packet counter
for the specified ACL entry in the yellow flow.
violate
This field denotes the
red
packet flow. Red packet flows may have excess packets
permitted through or dropped. Users may replace the DSCP field of these packets by checking its
radio button and entering a new DSCP value in the allotted field.
permit
– Enter this parameter to allow packet flows that are in the red flow.
replace_dscp <value 0-63>
Packets that are in the red flow may have their DSCP field
rewritten using this parameter and entering the DSCP value to replace.
drop
– Enter this parameter to drop packets that are in the red flow.
counter [enable | disable] –
Use this parameter to enable or disable the packet counter
for the specified ACL entry in the red flow.
delete
– Use this parameter to delete the specified flow meter.
Restrictions
Only Administrator and Operator-level users can issue this command. Only two counters may be
enabled at any given time.
Example usage:
To enable the sFlow function:
DGS-3627:admin# config flow_meter profile_id 1 access_id 1 tr_tcm cir 1000 cbs 200 pir
2000 pbs 200 exceed replace_dscp 21 violate drop
Command: config flow_meter profile_id 1 access_id 1 tr_tcm cir 1000 cbs 200 pir 2000 pbs
200 exceed replace_dscp 21 violate drop
Success.
DGS-3627:admin#
show flow_meter
Purpose
Used to display the ACL flow meter parameters set on the switch.
Syntax
show flow_meter {profile_id <value 1-14> {access_id <value 1-128>}}
Description
This command will display the flow meter parameters set on the switch.
Parameters
profile_id <value 1-14>
Enter the profile ID of the ACL entry to be viewed for flow
metering.
access_id <value 1-128>
Enter the access ID corresponding to the ACL entry to be
viewed.
Restrictions
None.
Example usage:
To enable the sFlow function:
Page 92 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
88
DGS-3627:admin# show flow_meter profile_id 1 access_id 1
Command: show flow_meter profile_id 1 access_id 1
Profile ID : 1
Access ID : 1
Mode: trTCM
CIR: 1000(64kbps)
CBS: 200(Kbyte)
PIR: 2000(64kbps)
PBS : 200(Kbyte)
Action:
Conform : Permit
Counter : Disabled
Exceed
: Permit
Replace DSCP: 21
Counter : Disabled
Violate : Drop
Counter : Disabled
Total Entries : 1
DGS-3627:admin#
Page 93 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
89
11
ADDRESS RESOLUTION PROTOCOL (ARP) COMMANDS
The Address Resolution Protocol (ARP) commands in the Command Line Interface (CLI) are listed (along with the
appropriate parameters) in the following table.
Command
Parameters
create arpentry
<ipaddr> <macaddr>
delete arpentry
[<ipaddr> | all]
config arpentry
<ipaddr> <macaddr>
config arp_aging time
<min 0-65535>
clear arptable
show arpentry
{ipif <ipif_name 12> | ipaddress <ipaddr> | static | mac_address <macaddr>}
Each command is listed, in detail, in the following sections.
create arpentry
Purpose
Used to create a static entry in the ARP table.
Syntax
create arpentry <ipaddr> <macaddr>
Description
This command is used to enter a static ARP entry into the switch’s ARP table.
Parameters
ipaddr
- The IP address of the end node or station.
macaddr
- The MAC address corresponding to the IP address above.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To create a static ARP entry for the IP address 10.48.74.121 and MAC address 00-50-BA-00-07-36:
DGS-3627:admin# create arpentry 10.48.74.121 00-50-BA-00-07-36
Command: create arpentry 10.48.74.121 00-50-BA-00-07-36
Success.
DGS-3627:admin#
delete arpentry
Purpose
Used to delete a static entry from the ARP table.
Syntax
delete arpentry [<ipaddr> | all]
Description
This command is used to delete an ARP entry, by specifying either the IP address of the
entry or all. Specifying ‘all’ clears the switch’s ARP table.
Parameters
ipaddr
- The IP address of the end node or station.
all
- Delete all ARP entries.
Restrictions
Only Administrator and Operator-level users can issue this command.
Page 94 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
90
Example usage:
To delete an entry of IP address 10.48.74.121 from the ARP table:
DGS-3627:admin# delete arpentry 10.48.74.121
Command: create arpentry 10.48.74.121
Success.
DGS-3627:admin#
config arpentry
Purpose
Used to configure a static entry’s MAC address in the ARP table.
Syntax
config arpentry <ipaddr> <macaddr>
Description
This command configures a static entry’s MAC address in the ARP table. Specify the IP
address and MAC address of the entry.
Parameters
ipaddr
- The IP address of the end node or station.
macaddr
- The MAC address corresponding to the IP address above.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure a static ARP entry with IP address 10.48.74.121 to have a MAC address of 00-50-BA-00-07-37:
DGS-3627:admin# config arpentry 10.48.74.121 00-50-BA-00-07-37
Command: config arpentry 10.48.74.121 00-50-BA-00-07-37
Success.
DGS-3627:admin#
config arp_aging time
Purpose
Used to configure the aging out time for an ARP entry.
Syntax
config arp_aging time <min 0-65535>
Description
This command sets the maximum amount of time, in minutes, that a dynamic ARP entry can
remain in the switch’s ARP table, without being accessed, before it is dropped from the table.
Parameters
min
- The ARP age-out time, in minutes. The default is 20. The range is 0 to 65535.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure an ARP aging time of 30 minutes:
DGS-3627:admin# config arp_aging time 30
Command: config arp_aging time 30
Success.
DGS-3627:admin#
Page 95 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
91
clear arptable
Purpose
Used to clear all the dynamic ARP entries from the ARP table.
Syntax
clear arptable
Description
This command is used to clear all the dynamic entries from ARP table.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To clear the ARP table:
DGS-3627:admin# clear arptable
Command: clear arptable
Success.
DGS-3627:admin#
show arpentry
Purpose
Used to display the ARP table.
Syntax
show arpentry {ipif <ipif_name 12> | ipaddress <ipaddr> | static | mac_address
<macaddr> }
Description
This command is used to displays the ARP table. You can filter the display by IP address,
interface name, static entries, or MAC address.
Parameters
ipif_name
- The name of the IP interface the end node or station for which the ARP table
entry was made, resides on.
ipaddr
- The IP address of the end node or station.
static
- Display the static entries in the ARP table.
macaddr
- Displays the ARP entry by MAC address.
Restrictions
Only Administrator, Operator, and User level users can issue this command.
Example usage:
To display the ARP table:

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

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

Share
Top