ip address (PPP over T1)
This command specifies the IP addressing mode of the PPP serial interface.
Syntax
ip address <mode> <a.b.c.d> <e.f.g.h>
Command |
Description |
---|---|
Mode |
Defines the PPP IP addressing modes: ‘automatic’ – IP address will be accepted from peer during IPCP negotiation. ‘manual’ – set local static IP address and optional subnet mask. ‘unnumbered’ – use unnumbered mode (PPP serial interface uses LAN interface ip address). |
a.b.c.d |
Defines the static local IP address set on this PPP serial interface – relevant for manual mode only. |
e.f.g.h |
Defines the optional static subnet mask set on this PPP serial interface - relevant for manual mode only. |
Default
By default the IP addressing is automatic.
Command Mode
Privileged User
Example
This example sets IP address 223.4.5.6 on PPP encapsulated serial interface 0/0:
(conf-if-serial-ppp 0/0)# ip address manual 223.4.5.6
This example sets IP addressing mode to automatic on PPP encapsulated serial interface 0/0:
(conf-if-serial-ppp 0/0)# ip address automatic