66
set ip <Profile Name>
set ip <Profile Name> < local-ipAddr> <netMask> <remote-ipAddr>
Description:
This command enables IP routing over the connection specified by
Profile Name
.
Additionally, a WAN connection that supports IP routing, may, either be assigned zero or two IP
addresses. If none are assigned, the connection is termed
unnumbered
, a popular feature available in
newer routers (since the connection does not consume IP addresses).
Numbered
connections are
assigned two addresses, one at each end of the connection (complete with the network mask).
Example 1:
This example assigns IP addresses to the two sides of the PPP connection
ppp2
204.71.220.153
is for the
local side of
ppp2
, while
204.71.220.151
is for the remote side; both use the same network mask,
255.255.255.0
.
Router> set ip ppp2 204.71.220.153 255.255.255.0 204.71.220.151
Example 2:
This command activates IP routing over the ISDN connection profile isdnprofile1. When a connection is
set up using profile isdnprofile1, unnumbered IP routing will be turned on. (Refer to the section “
Profile
CommandsProfile Commands
”)
Router> set ip isdnprofile1
show arp table
Description:
This command displays the ARP (Address Resolution Protocol) cache table, which contains
up to 16 most recent MAC-to-IP-address mappings that have not been aged out.
Example:
Router> show arp table
110.0.0.1
at 00:60:20:00:00:15 permanent
110.0.0.2
at 00:40:33:3D:D5:DB
show icmp statistics
Description:
This command displays statistical information associated with the Internet Control Message
Protocol (ICMP).
Example:
Router> show icmp statistics
Received
Transmitted
------------------------------------------------------------
Dest
Unreachable: 0
0
Time
Exceeded:
0
0
IP
Header
Error:
0
0