
IP context selection and basic interface configuration tasks
54
IPLink Software Configuration Guide
5 • Establishing basic IP connectivity
Example:
List existing IP interfaces
You can display IP interface information by using the
show ip interface
command in configuration mode. In
the following example, only the information available for IP interface lan is displayed. Depending on the num-
ber of defined IP interfaces, the output of the
show ip interface
command can be longer.
IPLink(ctx-ip)[router]#show ip interface
…
------------------------------------------------------------
Context: router
Name: lan
IP Address: 192.168.1.3 255.255.255.0
P2P: point-to-point
MTU: 1500
ICMP router-discovery: enabled
ICMP redirect: send only
State: OPENED
Binding: ethernet 0 0 0/ethernet/ip
…
An easy way to list existing interfaces is by using the
interface
command followed by a “
?
” in the IP context
configuration mode, which creates a list of all the defined IP interfaces.
IPLink(cfg)#context ip router
IPLink(ctx-ip)[router]#interface <?>
<interface> New interface
external Existing interface
internal Existing interface
lan Existing interface
wan Existing interface
Deleting IP interfaces
It is often necessary to delete an existing interface in the IP context. The procedure described below assumes
that you would like to delete the IP interface name. Use the
no
argument to the
interface
command as in the
following demonstration in IP context configuration mode.
Mode:
Context IP
Example:
Delete IP interfaces
The procedure described below assumes that you would like to delete the IP interface named external. Use the
following commands in IP context mode.
1. List the existing interfaces:
IPLink(ctx-ip)[router]#interface <?>
<interface> New interface
external Existing interface
internal Existing interface
lan Existing interface
wan Existing interface
Step
Command
Purpose
1
node(ctx-ip)[router]#no interface
name
Deletes the existing IP interfaces
name