|
|
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:
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.
Sparse table support for the interfaces table on Fast Ethernet subinterfaces provides customers accustomed to Frame Relay subinterfaces the same functionality.
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
To configure SNMP Support for VLAN Subinterfaces, complete the tasks in the following section:
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. |
To display traffic count on subinterfaces, use the following command in privileged EXEC mode:
| Command | Purpose |
|---|---|
Router# show vlans | Displays VLAN subinterfaces. |
This section provides the following configuration 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
This section documents the modified show vlans command. All other commands used with this feature are documented in the Cisco IOS Release 12.1 command reference publications.
To view virtual LAN (VLAN) subinterfaces, use the show vlans privileged EXEC command.
show vlansSyntax Description
This command has no arguments or keywords.
Defaults
No default behaviors or values.
Syntax Description
Privileged EXEC
Command History
11.0 This command was introduced. 12.1(3)T This command was modified to display traffic count on Fast Ethernet subinterfaces.
Release
Modification
Examples
The following is sample output from the show vlans command:
RouterC7xxx# show vlans
Virtual LAN ID: 2 (IEEE 802.1Q Encapsulation)
vLAN Trunk Interface: FastEthernet5/0.1
Protocols Configured: Address: Received: Transmitted:
IP 56.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 36.0.0.3 1558 1521
Virtual LAN ID: 4 (Inter Switch Link Encapsulation)
vLAN Trunk Interface: FastEthernet5/0.2
Protocols Configured: Address: Received: Transmitted:
IP 76.0.0.3 0 7
Table 1 describes the fields shown in the display.
| 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. |
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Tue Sep 19 17:28:48 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.