# relearn

#### Syntax

relearn { permit | deny }

no relearn

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Modifies the relearning subscriber policy for the subscriber (client) interfaces that belong to a bridge group or to a VPLS instance. A bridge group or a VPLS instance learns the addresses of network nodes by examining the MAC source address of every incoming packet and creating an entry in the forwarding table that consists of the address and associated interface where the packet was received. The relearn command defines whether subscriber interfaces that belong to a bridge group or to a VPLS instance can relearn a MAC address entry on a different interface from the one initially associated with this entry in the forwarding table. The no version restores the default value, permit relearning.

You cannot change the default subscriber policy values for trunk (server) interfaces that belong to a bridge group or to a VPLS instance. You also cannot change the default subscriber policy values for a VPLS virtual core interface, which acts as a trunk interface. The VPLS virtual core interface represents all the MPLS tunnels from the router to the remote VPLS edge (VE) devices.

#### Options

- permit—Enables the subscriber interfaces that belong to a bridge group or to a VPLS instance to relearn a MAC address entry on a different interface from the one initially associated with this entry in the forwarding table
- deny—Prevents the subscriber interfaces that belong to a bridge group or to a VPLS instance from relearning a MAC address entry on a different interface from the one initially associated with this entry in the forwarding table; with this option, the interface waits until the entry expires from the forwarding table to relearn it on the new interface

#### Mode

Subscriber Policy Configuration