Version 2 (modified by ibaldin, 5 years ago)

--

References

SNMP

The MIBs can be downloaded here for the 8264. In terms of documentation, typically, the SNMP tool would take care of the basics.

http://www-933.ibm.com/support/fixcentral/swg/selectFixes?parent=Ethernet+Switches&product=ibm/Systems_Networking/IBM+BNT+RackSwitch+G8264&release=7.4.1&platform=All&function=all

NETCONF

Netconf is the preferred way of interacting with the G8264. It must first be enabled in order for the switch to respond.

<code> 8264.renci.xo(config)#show access Current System Access settings:

IP Management currently allowed from *ALL* IP addresses

Usernames:

user - enabled - offline oper - disabled - offline admin - Always Enabled - online 1 session.

Current User ID table: Current strong password settings:

strong password status: enabled password validity: 60 days warning before expiry: 15 days failed logins until security notification: 3

HTTP access currently enabled on TCP port 80 HTTPS server access currently enabled on TCP port 443 NETCONF access currently enabled

NETCONF session timeout: 300 seconds NETCONF via SSH currently enabled on TCP port 830

SNMP access currently read-write User configuration from BBI currently disabled Telnet/SSH access configuration from BBI currently disabled Telnet access currently enabled on TCP port 23 TFTP occurs over port 69 8264.renci.xo(config)# 8264.renci.xo(config)#no access user strong- 8264.renci.xo(config)#no access user strong-password enable 8264.renci.xo(config)# 8264.renci.xo(config)#show access Current System Access settings:

IP Management currently allowed from *ALL* IP addresses

Usernames:

user - enabled - offline oper - disabled - offline admin - Always Enabled - online 1 session.

Current User ID table: Current strong password settings:

strong password status: disabled

HTTP access currently enabled on TCP port 80 HTTPS server access currently enabled on TCP port 443 NETCONF access currently enabled

NETCONF session timeout: 300 seconds NETCONF via SSH currently enabled on TCP port 830

SNMP access currently read-write User configuration from BBI currently disabled Telnet/SSH access configuration from BBI currently disabled Telnet access currently enabled on TCP port 23 TFTP occurs over port 69 8264.renci.xo(config)# </code>

</if>

NETCONF

Links

**NETCONF XML/RPC Example**

<code> ssh noradius@192.168.106.4 -p 830 -s netconf

<hello> <capabilities> <capability>urn:ietf:params:netconf:base:1.0</capability> </capabilities> </hello> ]]>]]>

<rpc message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

<edit-config>

<target>

<running/>

</target> <config-text xmlns="http://www.bladenetwork.net/netconf/1.0/config-text">

<configuration-text>

/* create Vlan */ vlan 1234 name "Test Vlan-1234" exit

interface port 17 switchport trunk allowed vlan add 1234 exit

/* delete Vlan */ no vlan 1234

/* qos - policing */ access-control vmap 1 meter committed-rate 1000000 access-control vmap 1 meter maximum-burst-size 1024 access-control vmap 1 meter action drop access-control vmap 1 meter enable exit

vlan 1234 vmap 1 serverports

/* delete qos - policing */ no access-control vmap 1

</configuration-text>

</config-text>

</edit-config>

</rpc> ]]>]]>

/* Close session */

<rpc message-id="101"> <close-session/> </rpc> ]]>]]>

</code>