User guide
Contents
OmniSwitch AOS Release 7 Network Configuration Guide March 2015 ix
SNMP Overview ...........................................................................................................10-7
SNMP Operations ..................................................................................................10-7
Using SNMP for Switch Management ...................................................................10-8
Setting Up an SNMP Management Station .....................................................10-8
SNMP Versions ......................................................................................................10-8
SNMPv1 ..........................................................................................................10-8
SNMPv2 ..........................................................................................................10-9
SNMPv3 ..........................................................................................................10-9
Using SNMP For Switch Security ..............................................................................10-10
Community Strings (SNMPv1 and SNMPv2) .....................................................10-10
Configuring Community Strings ...................................................................10-10
Encryption and Authentication (SNMPv3) ..........................................................10-11
Configuring Encryption and Authentication .................................................10-11
Setting SNMP Security .................................................................................10-12
Working with SNMP Traps ........................................................................................10-13
Trap Filtering ........................................................................................................10-13
Filtering by Trap Families .............................................................................10-13
Filtering By Individual Trap ..........................................................................10-13
Authentication Trap ..............................................................................................10-14
Trap Management ................................................................................................10-14
Replaying Traps .............................................................................................10-14
Absorbing Traps ............................................................................................10-14
Sending Traps to WebView ...........................................................................10-14
SNMP MIB Information .............................................................................................10-15
MIB Tables ...........................................................................................................10-15
MIB Table Description ..................................................................................10-15
Verifying the SNMP Configuration ............................................................................10-16
Chapter 11 Web Services, CLI Scripting and OpenFlow ......................................................11-1
In This Chapter ..............................................................................................................11-1
Web Services Specifications .........................................................................................11-2
Web Services Overview ................................................................................................11-2
Representational State Transfer (REST) ................................................................11-2
REST Characteristics .......................................................................................11-2
REST Verbs .....................................................................................................11-3
Web Service routing ........................................................................................11-3
Security ............................................................................................................11-3
AOS REST Implementation ............................................................................11-3
Output format ..................................................................................................11-4
Caching ............................................................................................................11-4
Web Services REST Examples .....................................................................................11-5
Query Structure ...............................................................................................11-5
JSON or XML .................................................................................................11-5
Response Elements ..........................................................................................11-5
Login Example ................................................................................................11-6
Logout Example ..............................................................................................11-7
Create Table Entry Example - VLAN .............................................................11-8
Create Table Entry Example - IP Interface .....................................................11-9