Setting MAC addresses for individual vlan's via SNMP

Setting MAC addresses for individual vlan's via SNMP

NewsGroups | Search | Tools
 comp.dcom.sys.cisco  Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Setting MAC addresses for individual vlan's via SNMP Frank L. 06-28-2006
Posted by Frank L. on June 28, 2006, 2:35 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
Hi,

Switch: 3750 series

I'm trying to configure secure mac addresses via SNMP for individual
vlan's (port security turned on). The port is an access port with a
configured voice vlan (id 22).

example:
interface FastEthernet1/0/23
switchport mode access
switchport voice vlan 22
switchport port-security
switchport port-security maximum 3
switchport port-security mac-address <mac_of_pc>
switchport port-security mac-address <mac_of_phone>
switchport port-security mac-address <mac_of_phone> vlan voice
spanning-tree portfast
end

I'm using the cpsIfVlanSecureMacAddrRowStatus
(1.3.6.1.4.1.9.9.315.1.2.3.1.5) of the CISCO-PORT-SECURITY-MIB.

When I do a:
$ snmpset -v1 -c write 10.80.10.250
cpsIfVlanSecureMacAddrRowStatus.10023.0.11.130.7.91.214.22 i 4
I can configure the mac address in the voice vlan (configuring mac's in
the access vlan works too)

The problem is: How can I read those MAC addresses?
When I try:
$ snmpwalk -v1 -c read 10.80.10.250 cpsIfVlanSecureMacAddrRowStatus
only the mac's of the access vlan are returned.
I tried also:
$ snmpwalk -v1 -c read@22 10.80.10.250 cpsIfVlanSecureMacAddrRowStatus
same problem.

Any ideas?

Thanks in advance
Frank

Similar ThreadsPosted
Routing Individual addresses April 27, 2006, 1:30 am
setting up LAN to LAN with overlapping IP addresses April 30, 2007, 6:35 pm
setting up a VPN tunnel with overlapping private IP addresses on Cisco ASA January 10, 2007, 3:38 pm
Setting static routes via SNMP May 3, 2006, 5:56 pm
Kill Individual Remote VPN CLIENT? November 16, 2004, 2:49 pm
Syslog individual configuration for cisco products November 28, 2004, 10:57 pm
I require a UK company / Individual to write me a config. - Willing to pay! December 4, 2006, 4:14 am
Using more then 4096 VLAN's. Q-in-Q ? June 29, 2005, 1:40 pm
VLAN across a WAN without VLAN's? December 12, 2005, 2:51 pm
PIX 506 support for VLAN's August 26, 2006, 6:53 am

other useful resources:
The Federal Communications Commission (FCC)
Telecommunications Industry Association
Electronic and Software Security Products and Services
International Telecommunication Union

Custom CGI Perl and PHP programming by 1-Script.com

Contact Us | Privacy Policy
The site map in XML format XML site map