# Configuring PADM Messages

You can configure PPPoE to issue and display a PPPoE Active Discovery Message (PADM). The PADM message is a control message that servers send to clients. The clients may act on the control message, but are not required to do so. There are two types of PADM messages:

- Message of the minute (MOTM)—Informs clients of interesting system information
- URL—Typically spawns an Internet browser with the specified URL as the initial page

You can configure the router to send PADM messages as follows:

- Send MOTM messages to all clients connected to the router.
- Send MOTM and URL messages to all clients connected to a subinterface.
- Configure profiles to send MOTM and URL messages to new clients created when the profile is dynamically attached to an IP interface.

  | Note: You can use the pppoe motm command at three different points in the configuration process: Privileged Exec, Interface Configuration, and Profile Configuration modes. You can use the pppoe url command at two different points in the configuration process: Interface Configuration and Profile Configuration modes. Note the differences described in guidelines below.

pppoe motm

- Use to cause the PPPoE application to send a PADM message of the minute (MOTM) message to all PPPoE clients connected to the router. The MOTM string is passed with no changes.
- The message string is not saved in nonvolatile storage (NVS).
- Use in Privileged Exec mode.
- Example
  host1#pppoe motm Router going down at 10:00 p.m.
- Use the no version to disable the message.
- See pppoe motm.

pppoe motm

- Use in the context of a PPPoE subinterface to cause the PPPoE application to send the specified PADM message to the client as it is configured (if connected).
- The message is also sent whenever the subinterface transitions from down to up.
- The message string is saved in nonvolatile storage (NVS).
- Use in Interface Configuration mode.
- Example
  host1(config-if)#interface fastEthernet 1/0.1.1 host1(config-if)#pppoe motm Router going down at 10:00 p.m.
- Use the no version to disable the message.
- See pppoe motm.

pppoe motm

- Use in a profile to cause the PPPoE application to send the string to the new client that is created when the profile is dynamically attached to an IP interface.
- The message string is saved in nonvolatile storage (NVS).
- Use in Profile Configuration mode.
- Example
  host1(config-profile)#pppoe motm Router going down now
- Use the no version to disable the message.
- See pppoe motm.

pppoe url

- Use in the context of a PPPoE subinterface to cause the PPPoE application to send the specified PADM message to the client as it is configured (if connected).
- The message is also sent whenever the subinterface transitions from down to up.
- The message string is saved in nonvolatile storage (NVS).
- Use in Interface Configuration mode.
- Example
  host1(config-if)#interface fastEthernet 1/0.1.1 host1(config-if)#pppoe url http://www.relevanturl.com
- Use the no version to disable the message.
- See pppoe url.

pppoe url

- Use in a profile to cause the PPPoE application to send the string to the new client that is created when the profile is dynamically attached to an IP interface.
- The message string is saved in nonvolatile storage (NVS).
- PPPoE substitutes the following characters for information in the specified URL string before transmitting:
  - %U user and domain name
  - %u user name
  - %d domain name
  - %D profile name
  - %% % character
- Use in Profile Configuration mode.
- Example
  host1(config-profile)#pppoe url http://www.relevanturl.com
- Use the no version to disable the message.
- See pppoe url.