Hardware manual
interface
Interface Commands IR-111
Examples
The following example configures serial interface 0 with PPP encapsulation:
interface serial 0
encapsulation ppp
The following example enables loopback mode and assigns an IP network address and network mask
to the interface. The loopback interface established here will always appear to be up:
interface loopback 0
ip address 131.108.1.1 255.255.255.0
The following example for the Cisco 7500 series router shows the interface configuration command
for Ethernet port 4 on the EIP that is installed in (or recently removed from) slot 2:
interface ethernet 2/4
The following example begins configuration on the Token Ring interface processor in slot 1 on
port 0 of a Cisco 7500 series routers:
interface tokenring 1/0
The following example shows how a partially meshed Frame Relay network can be configured. In
this example, subinterface serial 0.1 is configured as a multipoint subinterface with three Frame
Relay PVCs associated, and subinterface serial 0.2 is configured as a point-to-point subinterface.
interface serial 0
encapsulation frame-relay
interface serial 0.1 multipoint
ip address 131.108.10.1 255.255.255.0
frame-relay interface-dlci 42 broadcast
frame-relay interface-dlci 53 broadcast
interface serial 0.2 point-to-point
ip address 131.108.11.1 255.255.0
frame-relay interface-dlci 59 broadcast
The following example configures circuit 0 of a T1 link for Point-to-Point Protocol (PPP)
encapsulation:
controller t1 4/1
circuit 0 1
interface serial 4/1:0
ip address 131.108.13.1 255.255.255.0
encapsulation ppp
The following example configures LAN Extender interface 0:
interface lex 0
tokenring Token Ring interface.
tunnel Tunnel interface; a virtual interface. The number is the number of the
tunnel interface that you want to create or configure. There is no limit on
the number of tunnel interfaces you can create.
vg-anylan 100VG-AnyLAN port adapter
Table 10 Interface Type Keywords (continued)
Keyword Interface Type