Guest

Cisco IOS Software Releases 12.2 S

SNMP Support for VLAN Subinterfaces

Table Of Contents

SNMP Support for VLAN Subinterfaces

Feature Overview

Benefits

Restrictions

Related Documents

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

Command Reference

show vlans


SNMP Support for VLAN Subinterfaces


Feature History

Release
Modification

12.1(3)T

This feature was introduced.

12.1(7)E

This feature was integrated into Cisco IOS Release 12.1(7)E.

12.2(14)S

This feature was integrated into Cisco IOS Release 12.2(14)S.


This document describes the SNMP Support for VLAN Subinterfaces feature for Cisco IOS Release 12.1(7)E and 12.2(14)S and includes the following sections:

Feature Overview

Supported Platforms

Supported Standards, MIBs, and RFCs

Configuration Tasks

Configuration Examples

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.

Restrictions

Simple Network Management Protocol (SNMP) supports only Inter-Switch Link (ISL) VLAN encapsulations.

Related Documents

The SNMP Support for VLAN Subinterfaces document describes support for this feature in Cisco IOS Release 12.1(3)T on the following platforms:

Cisco 2600 series

Cisco 3600 series

Cisco 4000-M series

Cisco 7200 series

Cisco 7500 series

Cisco IOS Switching Services Configuration Guide, Release 12.2

Cisco IOS Switching Services Command Reference, Release 12.2

Supported Platforms

Cisco 7200 series

Cisco 7500 series

Determining Platform Support Through Cisco Feature Navigator

Cisco IOS software is packaged in feature sets that are supported on specific platforms. To get updated information regarding platform support for this feature, access Cisco Feature Navigator. Cisco Feature Navigator dynamically updates the list of supported platforms as new platform support is added for the feature.

Cisco Feature Navigator is a web-based tool that enables you to determine which Cisco IOS software images support a specific set of features and which features are supported in a specific Cisco IOS image. You can search by feature or release. Under the release section, you can compare releases side by side to display both the features unique to each software release and the features in common.

To access Cisco Feature Navigator, you must have an account on Cisco.com. If you have forgotten or lost your account information, send a blank e-mail to cco-locksmith@cisco.com. An automatic check will verify that your e-mail address is registered with Cisco.com. If the check is successful, account details with a new random password will be e-mailed to you. Qualified users can establish an account on Cisco.com by following the directions found at this URL:

http://www.cisco.com/register

Cisco Feature Navigator is updated regularly when major Cisco IOS software releases and technology releases occur. For the most current information, go to the Cisco Feature Navigator home page at the following URL:

http://www.cisco.com/go/fn

Availability of Cisco IOS Software Images

Platform support for particular Cisco IOS software releases is dependent on the availability of the software images for those platforms. Software images for some platforms may be deferred, delayed, or changed without prior notice. For updated information about platform support and availability of software images for each Cisco IOS software release, refer to the online release notes or, if supported, Cisco Feature Navigator.

Supported Standards, MIBs, and RFCs

Standards

None

MIBs

None

To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL:

http://tools.cisco.com/ITDIT/MIBS/servlet/index

If Cisco MIB Locator does not support the MIB information that you need, you can also obtain a list of supported MIBs and download MIBs from the Cisco MIBs page at the following URL:

http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml

To access Cisco MIB Locator, you must have an account on Cisco.com. If you have forgotten or lost your account information, send a blank e-mail to cco-locksmith@cisco.com. An automatic check will verify that your e-mail address is registered with Cisco.com. If the check is successful, account details with a new random password will be e-mailed to you. Qualified users can establish an account on Cisco.com by following the directions found at this URL:

http://www.cisco.com/register

RFCs

RFC 1573, Evolution of the Interfaces Group of MIB-II

Configuration Tasks

See the following sections for configuration tasks for this feature. Each task is identified as either required or optional

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

Enabling the SNMP Agent on VLAN Subinterfaces (required)

Verifying VLAN Subinterfaces (optional)

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-server community public

Enables the SNMP agent for remote access.

Step 2 

Cisco 7200 series:

Router(config)# interface fastethernet slot/port

Cisco 7500 series:

Router(config)# interface fastethernet 
slot/port-adapter/slot

Selects a particular Fast Ethernet interface for configuration.

Step 3 

Router(config)# encapsulation isl vlan-identifier

Enables the Inter-Switch Link.

vlan-identifier—A number in the range from 1 to 1000.

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

Enabling the SNMP Agent for VLAN Subinterfaces

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

Router(config)# snmp-server 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 172.16.0.0 255.255.255.0

Command Reference

This section documents the modified show vlans command. All other commands used with this feature are documented in the Cisco IOS Release 12.2 T command reference publications.

show vlans

To display VLAN subinterfaces, use the show vlans command in privileged EXEC mode.

show vlans

Syntax Description

This command has no arguments or keywords.

Defaults

This command is not configured by default.

Command Modes

Privileged EXEC

Command History

Release
Modification

11.0

This command was introduced.

12.1(3)T

This command was modified to display traffic count on Fast Ethernet subinterfaces.

12.1(7)E

This command was integrated into Cisco IOS Release 12.1(7)E.

12.2(14)S

This command was integrated into Cisco IOS Release 12.2(14)S.


Examples

The following is sample output from the show vlans command:

Router# show vlans

Virtual LAN ID:  2 (IEEE 802.1Q Encapsulation)

    vLAN Trunk Interface:   FastEthernet5/0.1
    Protocols Configured:   Address:              Received:        Transmitted:
            IP              10.0.0.3                    16               92129
Virtual LAN ID:  3 (IEEE 802.1Q Encapsulation)
    vLAN Trunk Interface:   Ethernet6/0/1.1
    Protocols Configured:   Address:              Received:        Transmitted:
            IP              10.0.0.5	                  1558                1521
Virtual LAN ID:  4 (Inter Switch Link Encapsulation)
    vLAN Trunk Interface:   FastEthernet5/0.2     
    Protocols Configured:   Address:              Received:        Transmitted:
            IP              10.0.0.7                     0                   7

Table 1 describes the significant fields shown in the display.

Table 1 show vlans  Field Descriptions

Field
Description

Virtual LAN ID

Domain number of the VLAN.

vLAN Trunk Interface

Subinterface that carries the VLAN traffic.

Protocols Configured

Protocols configured on the VLAN.

Address

Network address.

Received

Number of packets received.

Transmitted

Number of packets sent.


Related Commands

Command
Purpose

snmp-server community

Sets up the community access string to permit access to an SNMP group.