Configuring PADM Messages
You can configure new PPPoE commands 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 system to send PADM messages as follows:
- Send MOTM messages to all clients connected to the system.
- 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: The pppoe motm command can be used at three different points in the configuration process: Privileged Exec, Interface Configuration, and Profile Configuration modes. The pppoe url command can be used 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 system. The MOTM string is passed with no changes.
- The message string is not saved in nonvolatile storage (NVS).
- Example
host1#pppoe motm System going down at 10:00 p.m.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.
- Example
host1(config-if)#interface fa 1/0.1.1host1(config-if)#pppoe motm System going down at 10:00 p.m.
- The message string is saved in nonvolatile storage (NVS).
- Use in Interface Configuration mode.
- Use the no version to disable the message.
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.
- Example
host1(config-profile)#pppoe motm string
- The message string is saved in nonvolatile storage (NVS).
- Use in Profile Configuration mode.
- Use the no version to disable the message.
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.
- Example
host1(config-if)#interface fa 1/0.1.1host1(config-if)#pppoe url http://www.relevanturl.com
- The message string is saved in nonvolatile storage (NVS).
- Use in Interface Configuration mode.
- Use the no version to disable the message.
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.
- Example
host1(config-profile)#pppoe url http://www.relevanturl.com