Virtual Private LAN Services
Page 636 7750 SR OS Services Guide
Sample Output
A:ALA-48# show service id <service-id> mac-protect
===============================================================================
Mac Protection
===============================================================================
ServId MAC
-------------------------------------------------------------------------------
1 aa:aa:aa:aa:aa:ab
-------------------------------------------------------------------------------
No. of MAC Entries: 1
===============================================================================
mac
Syntax [no] mac ieee-address
Context config>service>vpls>mac-protect
Description This command adds a protected MAC address entry.
Parameters ieee-address — Specifies the 48-bit MAC address in the form aa:bb:cc:dd:ee:ff or aa-bb-cc-dd-ee-ff
where aa, bb, cc, dd, ee, and ff are hexadecimal numbers.
mac-subnet-length
Syntax mac-subnet-length subnet-length
no mac-subnet-length
Context config>service>vpls
Description This command specifies the number of bits to be considered when performing MAC learning (MAC
source) and MAC switching (MAC destination). Specifically, this value identifies how many bits,
starting from the beginning of the MAC address are used. For example, if the mask-value of 28 is
used, MAC learning will only do a lookup for the first 28 bits of the source MAC address when
comparing with existing FIB entries. Then, it will install the first 28 bits in the FIB while zeroing out
the last 20 bits of the MAC address. When performing switching in the reverse direction, only the first
28 bits of the destination MAC address will be used to perform a FIB lookup to determine the next
hop.
The no form of this command switches back to full MAC lookup.
Parameters subnet-length — Specifies the number of bits to be considered when performing MAC learning or
MAC switching.
Values 24 — 48