map protocol

To create a protocol group with a specific protocol and encapsulation frame type combination, use the command map protocol in Global Configuration Mode. The no form of the command deletes all groups that have the specified protocol and encapsulation frame type combination. The created protocol group is used for protocol- VLAN based membership classification. The specified protocol is applied above the data-link layer in a protocol template, and the frame type is applied in the template.

map protocol

map protocol { {appletalk } { | ip } { | netbios } { | novell } { | other } { <aa:aa or aa:aa:aa:aa:aa>} }
{ {enet-v2 } { | llcOther } { | snap } { | snap8021H } { | snapOther} }
{ protocols-group } { <Group id integer(0-2147483647)> }

no map protocol

no map protocol { {appletalk } { | ip } { | netbios } { | novell } { | other } { <aa:aa or aa:aa:aa:aa:aa>} } { {enet-v2 } { | llcOther } { | snap } { | snap8021H } { | snapOther} }

Parameters

Parameter Type Description
appletalk   Enter to configure AppleTalk protocol, which is a proprietary suite of protocols developed by Apple Inc. The corresponding octet string is 80:9b.
ip   Enter to configure Internet Protocol, , which is used for communicating data across network using TCP / IP. The corresponding octet string is 08:00.
netbios   Enter to configure NetBIOS protocol ver TCP/IP, which allows legacy application relying on NetBIOS API to be used on modern TCP/IP networks. The corresponding octet string is f0:f0. This protocol can be set only for the encapsulation frame type llcOther.
novel   Enter to configure Novell Netware protocol suite, which is developed by Novell Inc. The corresponding octet string is ff:ff.
other   Enter to set the protocol type using its corresponding octet string. This value is used to configure protocols other than ip, novell, netbios and appletalk and also the listed protocol types. This value is set as: 16-bit (2 octet) IEEE 802.3 type field, if the frame type is set as enet-v2, snap and snap8021H; 40-bit (5 octet) PID, if the frame type is set as “snapOther”; or 2 octet IEEE 802.2 LSAP pair, if the frame type is set as llcother. The first octet is used for DSAP and the second octet is used for SSAP.
<aa:aa or aa:aa:aa:aa:aa>   Enter an octet string to identify protocol type.
enet-v2   Enter to apply the standard IEEE 802.3 frame format. This format contains:
  • Preamble – 7 byte value that allows the Ethernet card to synchronize with the beginning of a frame.
  • SFD – 1 byte value that indicates the start of a frame.
  • Destination – 6 byte MAC address of the destination.
  • Source – 6 byte MAC address of the source or a broadcast.
  • Length – 2 byte value representing the number of bytes in the data fields.
  • Data – 46 to 1500 bytes higher layer information containing protocol information or user data.
  • FCS – 4 byte value representing the cyclic redundancy check used by source and destination to verify a successful transmission.
llcOther   Enter to apply the LLC format. This format contains the same structure as IEEE 802.3 frame except the following additional fields added before the data field:
  • DSAP – 1 byte value representing destination service access point to determine the protocol used for the upper layer.
  • SSAP – 1 byte value representing source service access point to determine the protocol used for the upper layer.
  • Control – 1 byte value that is used by certain protocols for administration.
snap   Enter to apply the sub-network access protocol format. This format contains the same structure as LLC format except the following additional fields added before the data field
  • OUI – 3 byte value representing organizational unique ID assigned to vendors for differentiating protocols from different manufacturers.
  • Type – 2-byte value representing protocol type that defines a specific protocol in the SNAP. This maintains compatibility with Ethernet v2.
snap8021H   Enter to apply the sub-network access protocol format. This format contains the same structure as LLC format except the following additional fields added before the data field
  • 3 octet field having value 00:00:F8 signifying that next 2 octet field is the encoding of 802.3 Type field in an IEEE 802.2/SNAP Header.
  • 2 octet Type field - encoding of 802.3 Type field in an IEEE 802.2/SNAP Header
snapOther   Enter to apply the sub-network access protocol format. This format contains the same structure as LLC format except for an additional 5 octet SNAP Protocol Identifier (PID) added before the data field. The value of the PID is not in ether of the ranges used for RFC_1042(SNAP) or SNAP 802.1H. This frame type can be set only for some other protocol type other than IP, Novell, Netbios and Appletalk.
protocols-group   Enter to configure a unique group ID that is to be created with the specified protocol type and encapsulation frame type. This value represents a specific group of protocols that are associated together when assigning a VID to a frame.
<Group id integer(0-2147483647)> Integer Enter a value for the unique group ID. This value ranges from 0 to 2147483647.

Mode

Global Configuration Mode

Default

default

Prerequisites

Protocol group cannot be created and configured in the switch, if the base bridge mode is set as transparent bridging or the VLAN switching feature is shut down in the switch.

Examples

iS5Comm(config)# map protocol ip enet-v2 protocols-group 1