Well I don't believe you can just go to an ethernet interface and type 'encapsulation ppp'. That would be just for serial interfaces, but you can run ppp over ethernet, which is called PPPoE. PPPoE can be configured as a point to point
connection between two different ethernet ports. It basically encapsulates ppp inside of an ethernet frame.
John is right. You can directly configure PPP encapsulation only on serial and ISDN interfaces. While PPP can also be used on Ethernet, Frame Relay, ATM or Packet-over-SONET interfaces, these deployments are more complex and for simplicity, I suggest not taking them into consideration now.
Regarding the order of configuration commands, the only rule is to issue the encapsulation ppp before entering PPP-specific commands like ppp authentication, ppp pap, ppp chap, etc. Otherwise, the order does not matter.
Your configuration has a small inaccuracy - the username command would not be placed into the interface configuration but rather in the global configuration level, even if you issue that command in interface configuration mode.
[toc:faq]The ProblemOn traditional switches whenever we have a trunk
interface we use the VLAN tag to demultiplex the VLANs. The switch needs
to determine which MAC Address table to look in for a forwarding
decision. To do this we require the switch to do...
[toc:faq]Introduction:Netdr is a tool available on a RSP720, Sup720 or
Sup32 that allows one to capture packets on the RP or SP inband. The
netdr command can be used to capture both Tx and Rx packets in the
software switching path. This is not a substitut...
IntroductionOSPF, being a link-state protocol, allows for every router
in the network to know of every link and OSPF speaker in the entire
network. From this picture each router independently runs the Shortest
Path First (SPF) algorithm to determine the b...