Page 631 / 757 Scroll up to view Page 626 - 630
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
627
DGS-3627:admin# disable sflow
Command: disable sflow
Success.
DGS-3627:admin#
show sflow
Purpose
Show the sFlow information.
Syntax
show sflow
Description
This command is used to show the sFlow information.
sFlow Address:
The IPv4 address associated with this agent.
sFlow AddressV6:
The IPv6 address associated with this agent.
sFlow State:
The current state of the sFlow agent.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To show the sFlow information:
DGS-3627:admin# show sflow
Command: show sflow
sFlow Version
: V5
sFlow Address
sFlow AddressV6 : FE80::285:43FF:FE26:3101
sFlow State
: Enabled
DGS-3627:admin#
show sflow flow_sampler
Purpose
Used to displaythe the sFlow flow_sampler information of ports which have been created.
Syntax
show sflow flow_sampler
Description
This command is used to show the sFlow flow_sampler configured for ports. The actual value
rate is 256 times the displayed rate value. There are two types of rates. The Configured Rate
is configured by the user. In order to limit the number of packets sent to the CPU when the
rate of traffic to the CPU is high, the sampling rate will be decreased. This is specified as the
active rate.
Parameters
None.
Restrictions
None.
Example usage:
To show the sFlow flow_sampler information of ports which have been created:
Page 632 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
628
DGS-3627:admin# show sflow flow_sampler
Command: show sflow flow_sampler
Port
Analyzer
Configured
Configured
Active
Active
Max Header
Server ID
Rx Rate
Tx Rate
Rx Rate
Tx Rate
Size
------
---------
----------
----------
-------
-------
-----------
10
1
1
2
0
0
20
Total Entries: 1
DGS-3627:admin#
show sflow flow_poller
Purpose
Used to display the sFlow counter_poller information of ports which have been created.
Syntax
show sflow counter_poller
Description
This command is used to show the sFlow counter_pollers which have been configured for
port.
Parameters
None.
Restrictions
None.
Example usage:
To show the sFlow counter_poller information of ports which have been created:
DGS-3627:admin# show sflow counter_poller
Command: show sflow counter_poller
Port
Analyzer Server ID
Polling Interval (secs)
----
------------------
-----------------------
1
1
disable
Total Entries: 1
DGS-3627:admin#
show sflow analyzer_server
Purpose
Used to display the sFlow analyzer server information.
Syntax
show sflow analyzer_server
Description
This command is used to show the sFlow analyzer_server information. The Timeout field
specifies the time configured by user. The Current Countdown Time is the current time
remaining before the server timeout.
Parameters
None.
Restrictions
None.
Example usage:
To show the sFlow flow_sampler information of ports which have been created:
Page 633 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
629
DGS-3627:admin# show
sflow analyzer_server
Command: show sflow analyzer_server
sFlow Analyzer_server Information
------------------------------
Server ID
: 1
Owner
: 1
Timeout
: Infinite
Current Countdown Time
: Infinite
Collector Address
: 10.0.0.1
Collector Port
: 655
Max Datagram Size
: 301
Total Entries: 1
DGS-3627:admin#
Page 634 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
630
83
SIMPLE NETWORK MANAGEMENT PROTOCOL (SNMP)
COMMANDS
The Simple Network Management Protocol (SNMP) commands in the Command Line Interface (CLI) are listed (along
with the appropriate parameters) in the following table.
Command
Parameters
create snmp community
<community_string 32> view <view_name 32> [read_only | read_write]
delete snmp community
<community_string 32>
show snmp community
{ <community_string 32> }
create snmp user
<user_name 32> <groupname 32> {encrypted [by_password auth [ md5
<auth_password 8-16 > | sha <auth_password 8-20 >] priv [none | des
<priv_password 8-16>] | by_key auth [md5 <auth_key 32-32> | sha <auth_key
40-40>] priv [none | des <priv_key 32-32>]]}
delete snmp user
<user_name 32>
show snmp user
create snmp group
<groupname 32> [v1 | v2c | v3 [noauth_nopriv | auth_nopriv | auth_priv]]
{read_view <view_name 32> | write_view <view_name 32> | notify_view
<view_name 32>}
delete snmp group
<groupname 32>
show snmp groups
create snmp view
<view_name 32> <oid> view_type [included | excluded]
delete snmp view
<view_name 32> [all | <oid>]
show snmp view
{<view_name 32>}
create snmp
[ host <ipaddr> | v6host <ipv6addr>] [v1 | v2c | v3 [noauth_nopriv | auth_nopriv |
auth_priv] ] <auth_string 32>
delete snmp
[host <ipaddr> | v6host <ipv6addr>]
show snmp host
{ <ipaddr> }
show snmp v6host
{ <ipv6addr> }
config snmp engineID
<snmp_engineID 10-64>
show snmp engineID
Each command is listed, in detail, in the following sections.
create snmp community view
Purpose
Use an SNMP community string to define the relationship between the SNMP manager and
the agent. The community string acts like a password to permit access to the agent on the
switch. You can specify one or more of the following characteristics associated with the
string:
Page 635 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
631
create snmp community view
An access list of IP addresses of the SNMP managers that are permitted to use the
community string to gain access to the agent.
A MIB view, which defines the subset of all MIB objects accessible to the given community.
Read and write or read-only permission for the MIB objects accessible to the community.
Syntax
create snmp community <community_string 32> view <view_name 32> [read_only |
read_write]
Description
The create snmp community command is used to creates an SNMP community string.
This is SNMPv3 command, if it is used; All SNMPv1/v2 commands are not necessary.
Parameters
<community_string 32>
- Community string. Max string length is 32. The acceptable chars for
community string are the same as a general octet string, except that ‘#’ is not accepted.
view
- A MIB view name.
[read_only | read_write]
- Read and write or read-only permission. Allows the user using the
above community string to have read only or read and write access to the switch’s SNMP
agent.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To create a read-only level SNMP community “System” with a “CommunityView” view:
DGS-3627:admin# create snmp community System view CommunityView read_only
Command: create snmp community System view CommunityView read_only
Success.
DGS-3627:admin#
show snmp community
Purpose
This command is used to display the community string configurations.
Syntax
show snmp community { <community_string> }
Description
The show snmp community command displays the community string configurations.
Note: This is SNMPv3 command, if it is used; All SNMPv1/v2 commands are not necessary.
Parameters
community_string
- Community string.
If not specify community string , all community string information will be displayed.
Restrictions
None.
Example usage:
To display SNMP community:

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

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

Share
Top