map subnet

To configure VLAN-IP subnet address mapping that is used only for subnet-VLAN based membership classification, use the command map subnet in Global Configuration Mode. The no form of the command deletes the VLAN-IP subnet address mapping entry. In subnet- VLAN based membership classification, the source IP address in received packet is matched to a VLAN ID using this mapping entry to perform VLAN membership classification.

map subnet

map subnet { <ip-subnet-address> } { [vlan } { <vlan_vfi_id>] } { [arp } { {suppress } { | allow}] } { [mask } { <subnet-mask>] }

no map subnet

no map subnet { <ip-subnet-address> } { [mask } { <subnet-mask>] }

Parameters

Parameter Type Description
<ip-subnet-address>   Enter to configure the IP subnet address to be used for deciding on discarding / allowing of ARP frames. The format is A.B.C.D.
vlan Integer Enter to specify a VLAN / VFI ID.
<vlan_vfi_id>   Enter a value for VLAN or VFI ID:
  • <vlan –id> - This is a unique value that represents the specific VLAN. This value ranges from 1 to 4094.
  • <vfi-id>- VFI ID is a VLAN created in the system which contains Pseudo wires and Attachment Circuits as member ports. This creates a logical LAN for the VPLS service. This value ranges from 4096 to 65535
Note:

The VLAN ID 4095 is reserved and may be used to indicate a wildcard match for the VID in management operations or Filtering Database entries

Note:

VFI IDs 4096 and 4097 are reserved identifiers used in MPLS PW

Note:

The theoretical maximum for the maximum number of VFI is 65535 but the actual number of VFI supported is a sizing constant. Based on this, the maximum number of VFI ID accepted in the management interface is restricted. For example, if 100 VFIs are supported, the maximum number of VFI supported will be restricted to maximum number of VLANs + 100. An error message is displayed for any value beyond this range.

arp   Enter to configure the way of handling of ARP (Address Resolution Protocol) untagged frames on the specified VLAN.
suppress   Enter to discard ARP untagged frames on VLAN.
allow   Enter to allow ARP untagged frames on VLAN.
mask   Enter to configure the subnet mask address to be used for deciding on discarding / allowing of ARP frames.
<subnet-mask>   Enter a value for the subnet mask. The format is A.B.C.D

Mode

Global Configuration Mode / Interface Configuration Mode

Default

arp - Allow

Prerequisites

Examples

iS5Comm(config)# map subnet 14.0.0.0 vlan 1 arp allow