Cisco IOS Network Management Configuration Guide, Release 12.2SR
SNMP Support for VLAN Subinterfaces

Table Of Contents

SNMP Support for VLAN Subinterfaces

Feature Overview

Benefits

Supported Platforms

Supported Standards, MIBs, and RFCs

Configuration Tasks

Enabling the SNMP Agent on VLAN Subinterfaces

Verifying VLAN Subinterfaces

Configuration Examples

Enabling the SNMP Agent for VLAN Subinterfaces Example

Command Reference


SNMP Support for VLAN Subinterfaces


Feature History

Release
Modification

Cisco IOS

For information about feature support in Cisco IOS software, use Cisco Feature Navigator.


This feature module describes the SNMP Support for VLAN Subinterfaces feature. It includes information on the benefits of the new feature, supported platforms, supported standards, and the commands necessary to configure the SNMP Support for VLAN Subinterfaces feature.

This document includes the following sections:

Feature Overview

Supported Platforms

Supported Standards, MIBs, and RFCs

Verifying VLAN Subinterfaces

Command Reference

Feature Overview

The SNMP Support for VLAN Subinterfaces feature provides mib-2 interfaces sparse table support for Fast Ethernet subinterfaces. This enhancement is similar to the functionality supported in Frame Relay subinterfaces.

Benefits

Sparse table support for the interfaces table on Fast Ethernet subinterfaces provides customers accustomed to Frame Relay subinterfaces the same functionality.

Supported Platforms

Cisco 2600 series

Cisco 3600 series

Cisco 4000-m series

Cisco 7200 series

Cisco 7500 series

Supported Standards, MIBs, and RFCs

Standards

None

MIBs

None

For descriptions of supported MIBs and how to use MIBs, see the Cisco MIB web site on CCO at http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml.

RFCs

RFC 1573

Configuration Tasks

To configure SNMP Support for VLAN Subinterfaces, complete the tasks in the following section:

Enabling the SNMP Agent on VLAN Subinterfaces

Enabling the SNMP Agent on VLAN Subinterfaces

To enable the SNMP agent on VLAN subinterfaces, use the following commands in global configuration mode:

 
Command
Purpose

Step 1 

Router(config)# snmp community public

Enables the SNMP agent for remote access.

Step 2 

Router(config)# interface FastEthernet slot/port

Selects a particular Fast Ethernet interface for configuration.

Step 3 

Router(config)#  encapsulation isl vlan-identifier

Enables the Inter-Switch Link.

Step 4 

Router(config)# ip address ip-address mask

Sets a primary or secondary IP address for an interface.

Verifying VLAN Subinterfaces

To display traffic count on subinterfaces, use the following command in privileged EXEC mode:

Command
Purpose
Router# show vlans

Displays VLAN subinterfaces.


Configuration Examples

This section provides the following configuration example:

Enabling the SNMP Agent for VLAN Subinterfaces Example

Enabling the SNMP Agent for VLAN Subinterfaces Example

The following configuration example shows you how to enable the SNMP agent on the router with VLAN subinterfaces to monitor the SNMP application remotely:

snmp community public
!
interface FastEthernet4/0.100
 encapsulation isl 100
 ip address 192.168.10.21 255.255.255.0
!
interface FastEthernet4/0.200
 encapsulation isl 200
 ip address 172.21.200.11 255.255.255.0
!
interface FastEthernet4/1.1
 encapsulation isl 10
 ip address 171.69.2.111 255.255.255.0

Command Reference

The following commands are introduced or modified in the feature or features documented in this module. For information about these commands, see the Cisco IOS Network Management Command Reference at http://www.cisco.com/en/US/docs/ios/netmgmt/command/reference/nm_book.html. For information about all Cisco IOS commands, go to the Command Lookup Tool at http://tools.cisco.com/Support/CLILookup or to the Cisco IOS Master Commands List.

show vlans