advertisement
SNMP Commands Set
Netstar Commands Level snmp system-name
[System Name] snmp system-location
[System Location] snmp system-contact
[System Contact] snmp agent-mode
[v1v2c|v3|v1v2cv3] snmp communitystrings [Community]
Description
G
Set SNMP agent
G
system name
Set SNMP agent system location
Example
switch(config)#snmp system-
name l2switch
switch(config)#snmp system-
location lab
switch(config)#snmp system-
contact where
G
Set SNMP agent system contact
G
Select the agent mode switch(config)#snmp agent-mode of SNMP
v1v2cv3
G
Add SNMP community switch(config)#snmp community- string.
strings public right rw right
[RO/RW] snmp-server host
[IP address] community
[Community-string] trap-version
[v1|v2c] snmpv3 context-name
[Context Name ] snmpv3 user
[User Name] group
[Group Name] password
[Authentication
G
Configure SNMP switch(config)#snmp-server host server host information
192.168.1.50 community public
and community string
trap-version v1
(remove)
G
Configure the context name
Switch(config)#no snmp-server
host 192.168.1.50
switch(config)#snmpv3 context-
name Test
switch(config)#snmpv3 user
G
Configure the user profile for SNMPV3 agent. Privacy password could be empty.
test01 group G1 password
AuthPW PrivPW
Password] [Privacy
Password] snmpv3 access context-name
Name ]
[Context
G
Configure the access table of SNMPV3 agent switch(config)#snmpv3 access
context-name Test group G1 security-level AuthPriv
138
group
[Group Name ] security-level
[NoAuthNoPriv|AuthNo
Priv|AuthPriv] match-rule
[Exact|Prifix] views
[Read View Name]
[Write View Name]
[Notify View Name] snmpv3 mibview view
[View Name] type
[Excluded|Included] sub-oid
[OID] show snmp no snmp communitystrings [Community]
[Group Name ] security-level
[NoAuthNoPriv|AuthNo
Priv|AuthPriv] no snmp-server host
[Host-address] no snmpv3 user
[User Name] no snmpv3 access context-name [Context
Name ] group match-rule Exact views V1 V1 V1
G
Configure the mibview switch(config)#snmpv3 mibview table of SNMPV3
view V1 type Excluded sub-oid
agent
1.3.6.1
P
Show SNMP configuration
G
G
Remove the specified community.
Remove the SNMP server host. switch(config)#no snmp
community-strings public
switch(config)#no snmp-server
host 192.168.1.50
G
Remove specified user switch(config)#no snmpv3 user of SNMPv3 agent.
Test
G
Remove specified access table of
SNMPv3 agent. switch#show snmp switch(config)#no snmpv3 access
context-name Test group G1 security-level AuthPr iv match-rule Exact views V1 V1
V1
139
match-rule
[Exact|Prifix] views
[Read View Name]
[Write View Name]
[Notify View Name] no snmpv3 mibview view
[View Name] type
[Excluded|Included] sub-oid
[OID]
G
Remove specified mibview table of
SNMPV3 agent. switch(config)#no snmpv3
mibview view V1 type Excluded sub-oid 1.3.6.1
140
advertisement
Related manuals
advertisement
Table of contents
- 12 Introduction
- 12 Hardware Features
- 15 Software Features
- 18 Package Contents
- 19 Hardware Description
- 19 Physical Dimension
- 19 Front (LED) Panel
- 20 LED Indicators
- 22 Hardware Installation
- 22 Desktop Installation
- 22 Rack-mounted Installation
- 24 Cabling
- 27 Wiring the Power Inputs
- 28 Wiring the Fault Alarm Contact
- 29 Network Application
- 30 X-Ring Application
- 31 Coupling Ring Application
- 32 Dual Homing Application
- 33 Central Ring Application
- 34 X-RSTP Application
- 35 Console Management
- 35 Connecting to the Console Port
- 35 Pin Assignment
- 36 Login in the Console Interface
- 37 CLI Management
- 37 Commands Level
- 39 Web-Based Management
- 39 About Web-based Management
- 39 Preparing for Web Management
- 40 System Login
- 41 System Information
- 42 IP Configuration
- 44 DHCP Server
- 45 System configuration
- 46 Client Entries
- 47 Port and IP Bindings
- 48 Update Firmware
- 49 Restore Configuration
- 50 Backup Configuration
- 51 System Event Log
- 51 Syslog Configuration
- 53 System Event Log—SMTP Configuration
- 55 System Event Log—Event Configuration
- 57 Fault Relay Alarm
- 58 SNTP Configuration
- 62 IP Security
- 64 User Authentication
- 65 Advanced Configuration
- 65 Broadcast Storm Filter
- 67 Aging Time
- 68 Jumbo Frame
- 69 Port Statistics
- 71 Port Counters
- 74 Port Control
- 76 Port Trunk
- 76 Aggregator setting
- 78 Aggregator Information
- 82 State Activity
- 84 Port Mirroring
- 85 Rate Limiting
- 86 VLAN configuration
- 87 Port-based VLAN
- 90 802.1Q VLAN
- 95 Rapid Spanning Tree
- 95 System Configuration
- 97 Port Configuration
- 99 SNMP Configuration
- 99 System Configuration
- 101 Trap Configuration
- 102 SNMPV3 Configuration
- 105 QoS Configuration
- 107 IGMP Configuration
- 109 LLDP Configuration
- 110 X-Ring
- 113 X-RSTP
- 115 Security—802.1X/Radius Configuration
- 115 System Configuration
- 116 Port Configuration
- 117 Misc Configuration
- 118 MAC Address Table
- 118 Static MAC Address
- 120 MAC Filtering
- 121 All MAC Addresses
- 122 MAC Address Table—Multicast Filtering
- 124 Factory Default
- 125 Save Configuration
- 126 System Reboot
- 127 Troubles shooting
- 128 Appendix A — RJ-45 Pin Assignment
- 131 Appendix B — Command Sets
- 131 Commands Set List
- 131 System Commands Set
- 135 Port Commands Set
- 138 Trunk Commands Set
- 140 VLAN Commands Set
- 142 Spanning Tree Commands Set
- 145 QOS Commands Set
- 146 IGMP Commands Set
- 147 Mac / Filter Table Commands Set
- 149 SNMP Commands Set
- 152 Port Mirroring Commands Set
- 153 802.1x Commands Set
- 156 TFTP Commands Set
- 157 SystemLog, SMTP and Event Commands Set
- 159 SNTP Commands Set
- 161 X-Ring Commands Set
- 162 LLDP Command Set
- 163 Access Control List Command Set
- 165 X-RSTP Command Set