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
- URLTypically 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.
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. 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.1host1(config-if)#pppoe motm Router going down at 10:00 p.m.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.
- The message string is saved in nonvolatile storage (NVS).
- Use in Profile Configuration mode.
- Example
host1(config-profile)#pppoe motm Router going down nowUse 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.
- The message string is saved in nonvolatile storage (NVS).
- Use in Interface Configuration mode.
- Example
host1(config-if)#interface fastEthernet 1/0.1.1host1(config-if)#pppoe url http://www.relevanturl.comUse 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.
- The message string is saved in nonvolatile storage (NVS).
- PPPoE substitutes the following characters for information in the specified URL string before transmitting:
host1(config-profile)#pppoe url http://www.relevanturl.comUse the no version to disable the message.