Chapter 6 | CLI – Layer 3 |
|
|
ip routing Command
Use the ip routing command to enable IP routing. The no form of this command disables the IP routing process in the device. By default, IP routing is enabled.
The syntax for this command is:
[no] ip routing
ip max-route-entries Command
This command exists for compatibility with P550. There is no limitation on the size of the routing table, except for the amount of available memory.
The syntax for this command is:
[no] ip max-route-entries <value>
value | number of entries |
arp Command
Use the arp command to add a permanent entry to the Address Resolution Protocol (ARP) cache. The no form of this command removes an entry, either a static entry or a dynamically learned entry.
The syntax for this command is:
[no] arp <ip-address> <mac-address>
IP address, in dotted decimal format, of the station | |
MAC address of the local data link |
Example:
To add a permanent entry for station 192.168.7.8 to the ARP cache:
Router(configure)# arp 192.168.7.8 00:40:0d:8c:2a:01
To remove an entry to the ARP cache for the station 192.168.13.76:
Router(configure)# no arp 192.168.13.76
149 |