C. Router CLI Commands, Codes, and Designations
9128-A2-GB20-80 September 2002
C-5
Interface Commands
Interface commands allow you to configure the Ethernet and network interfaces,
and their sub-interfaces.
Table C-4. Interface Commands (1 of 3)
interface
intf-type
intf-num
no
interface
intf-type
intf-num
.
sub-intf-num
[
point-to-point
]
Minimum Access Level:
Administrator
Command Mode:
config, config-if, config-subif
Allows you to enter interface or sub-interface configuration mode and create
sub-interfaces. All commands entered while in interface or sub-interface configuration
mode are applied to the specified interface or sub-interface. No sub-interfaces are
enabled by default.
Example:
interface serial 132.53.4.2 132.53.4.250
Use the
no interface
command to delete sub-interfaces while in
config
mode. The
command does not delete interfaces.
When a sub-interface that is currently in use is deleted, all sub-interface uses are
automatically removed from the system configuration. This includes all route entries
destined for the sub-interface; ip addresses and subnets for the sub-interface; and all
frame relay DLCIs, bridge group assignments, and ip nat inside/outside assignments
configured on the sub-interface.
intf-type
– Serial interface is supported, the frame relay serial interface.
intf-num
– Interface index number for the Serial interface. Valid range is from 0 up to the
maximum number of serial interfaces, minus one.
sub-intf-num
– Sub-interfaces are only supported on the network interface (Serial 0).
Valid range for the sub-interface is 0–4,294,967,295.
point-to-point
– Specifies a point-to-point sub-interface. By default, all sub-interfaces are
point-to-point.