Reference Guide

ip route
Assigns a static route on the network device.
Syntax
ip route [dst-vrf vrf-name] ip-prefix mask {next-hop | interface interface-type
[route-preference]}
Parameters
dst-vrf vrf-name — (Optoinal) Enter the keyword vrf and then the name of the VRF to congure a
static route corresponding to that VRF. Use this VRF option after the ip route keyword to congure a static
route on that specic VRF.
ip-prefix — Enter the IP prex in dotted decimal format (A.B.C.D).
mask — Enter the mask in slash prex-length format (/x).
next-hop — Enter the next-hop IP address in dotted decimal format (A.B.C.D).
interface interface-type — Enter the interface type and interface information. The interface types
supported are: Ethernet, port-channel, VLAN, and Null.
route-preference — (Optional) Enter the range (1 to 255).
Default Not congured
Command Mode CONFIGURATION
Usage Information The no version of this command deletes a static route conguration.
Example
OS10(config)# ip route 200.200.200.0/24 10.1.1.2
OS10(config)# ip route 200.200.200.0/24 interface null 0
Supported Releases 10.2.0E or later
show ip arp
Displays the ARP table entries for specic a IP address or MAC address, static, dynamic, and a summary of all ARP entries.
Syntax
show ip arp [vrf vrf-name] [interface [ethernet | vlan | port-channel] | ip-address | mac-
address | static | dynamic | summary]
Parameters
vrf vrf-name — Enter the keyword vrf followed by the name of the VRF to display ARP entries corresponding to that
VRF.
interface — (Optional) Enter the keyword and interface information:
ethernet — Enter the node/slot/port[:subport] information.
vlan — Enter the VLAN ID number (1 to 4093).
port-channel — Enter the port-channel ID number (1 to 128).
ip-address — (Optional) Enter the IP address for the ARP entry in A.B.C.D format.
mac-address — (Optional) Enter the MAC address in nn:nn:nn:nn:nn:nn format.
static — (Optional) Enter the keyword to display static ARP entries.
dynamic — (Optional) Enter the keyword to display dynamic ARP entries.
summary — (Optional) Enter the keyword to display a summary of all ARP entries.
Default Not congured
Command Mode EXEC
Layer 3 363