Cisco NCS 540 Series Configuration Manual

Cisco NCS 540 Series Configuration Manual

Arp commands
Hide thumbs Also See for NCS 540 Series:

Advertisement

ARP Commands

Note
All commands applicable for the Cisco NCS 5500 Series Router are also supported on the Cisco NCS 540
Series Router that is introduced from Cisco IOS XR Release 6.3.2. References to earlier releases in Command
History tables apply to only the Cisco NCS 5500 Series Router.
This chapter describes the commands used to configure and monitor the Address Resolution Protocol (ARP)
on NCS 5000 routers.
For detailed information about ARP concepts, configuration tasks, and examples, refer to the IP Addresses
and Services Configuration Guide for Cisco NCS 5500 Series Routers.
arp
To add a permanent entry in the Address Resolution Protocol (ARP) cache, use the arp command in XR
Config mode. To remove an entry from the ARP cache, enter the no form of this command.
arp [vrf vrf-name] ip-address hardware-address encapsulation-type [alias]
no arp [vrf vrf-name] ip-address hardware-address encapsulation-type [alias]
Syntax Description
vrf
arp, on page 1
arp gratuitous ignore, on page 3
arp learning, on page 3
arp purge-delay, on page 4
arp timeout, on page 5
clear arp-cache, on page 6
local-proxy-arp, on page 7
priority-timeout, on page 8
proxy-arp, on page 9
route distance, on page 10
route metric, on page 11
show arp, on page 11
show arp traffic, on page 15
(Optional) Specifies VPN routing and forwarding (VRF) instance.
ARP Commands
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NCS 540 Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Cisco NCS 540 Series

  • Page 1: Arp Commands

    ARP Commands Note All commands applicable for the Cisco NCS 5500 Series Router are also supported on the Cisco NCS 540 Series Router that is introduced from Cisco IOS XR Release 6.3.2. References to earlier releases in Command History tables apply to only the Cisco NCS 5500 Series Router.
  • Page 2 ARP Commands vrf-name (Optional) VRF instance that identifies a VPN. ip-address IPv4 (network layer) address for which a permanent entry is added to the ARP cache. Enter the IPv4 address in a four-part dotted-decimal format that corresponds to the local data-link address (a 32-bit address).
  • Page 3: Arp Gratuitous Ignore

    ARP Commands arp gratuitous ignore RP/0/RP0/CPU0:router# configure RP/0/RP0/CPU0:router(config)# arp 192.168.7.19 0800.0900.1834 arpa arp gratuitous ignore To ignore receipt of gratuitous Address Resolution Protocol (ARP) packets, use the arp gratuitous ignore command in interface configuration mode. To receipt gratuitous ARP packets, use the no form of this command. arp gratuitous ignore no arp gratuitous ignore This command has no keywords or arguments.
  • Page 4: Arp Purge-Delay

    ARP Commands arp purge-delay no arp learning local arp learning disable no arp learning disable Syntax Description local Enables the dynamic learning of ARP entries for local subnets. When arp learning local is configured on an interface or sub-interface, it learns only the ARP entries from ARP packets on the same subnet.
  • Page 5: Arp Timeout

    ARP Commands arp timeout Task ID Task Operations read, write Examples The following is an example of setting the purge delay to 50 seconds: RP/0/# configure RP/0/(config)# interface HundredGigE 0/0/0/0 RP/0/(config-if)# arp purge-delay 50 arp timeout To specify the duration of dynamic entries learned on an interface remain in the Address Resolution Protocol (ARP) cache, enter the arp timeout command in interface configuration mode.
  • Page 6: Clear Arp-Cache

    ARP Commands clear arp-cache Task ID Task Operations read, write Examples The following example shows how to set the ARP timeout to 3600 seconds to allow entries to time out more quickly than the default: RP/0/#configure RP/0/(config)#interface HundredGigE 0/0/0/0 RP/0/(config-if)# arp timeout 3600 clear arp-cache To delete all dynamic entries from the Address Resolution Protocol (ARP) cache, clear the fast-switching cache, and clear the IP route cache, use the clear arp-cache command in .
  • Page 7: Local-Proxy-Arp

    ARP Commands local-proxy-arp Command Modes Command History Release Modification Release This command was introduced. When issued without keywords or arguments, the clear arp-cache command clears all entries in the ARP Usage Guidelines cache. Task ID Task Operations execute Examples The following example shows how to remove traffic statistic entries from the ARP cache that match the specified interface: RP/0/# clear arp-cache traffic tengige 0/1/0/0 location 0/1/CPU0 The following example shows how to remove entries from the ARP cache that match the specified...
  • Page 8 ARP Commands priority-timeout When local proxy ARP is enabled, the networking device responds to ARP requests that meet all the following Usage Guidelines conditions: • The target IP address in the ARP request, the IP address of the ARP source, and the IP address of the interface on which the ARP request is received are on the same Layer 3 network.
  • Page 9 ARP Commands proxy-arp Task ID Task Operations write Examples The following example configures a priority timeout of 25 seconds: RP/0/(config-if-dagr-peer)# priority-timeout 25 RP/0/(config-if-dagr-peer)# proxy-arp To enable proxy Address Resolution Protocol (ARP) on an interface, enter the proxy-arp command in interface configuration mode.
  • Page 10: Route Distance

    ARP Commands route distance Task ID Task Operations read, write Examples The following example shows how to enable proxy ARP on HundredGigE interface 0/0/0/0: RP/0/#(config)# interface HundredGigE 0/0/0/0 RP/0/#(config-if)# proxy-arp route distance To configure route distance for a given Direct Attached Gateway Redundancy (DAGR) group, use the route distance command in DAGR peer interface configuration mode.
  • Page 11: Route Metric

    ARP Commands route metric route metric To configure normal and priority route metrics for a given Direct Attached Gateway Redundancy (DAGR) group, use the route metric command in DAGR peer interface configuration mode. route metric normal normal-metric priority priority-metric Syntax Description normal normal-metric Sets a normal value for routes installed in the Routing Information Base (RIB).
  • Page 12 ARP Commands show arp vrf-name (Optional) VRF instance that identifies a VPN. ip-address (Optional) The ARP entries you want to display. hardware-address (Optional) The ARP entries that match the 48-bit MAC address are displayed. interface- path-id (Optional) Either a physical interface instance or a virtual interface instance as follows: •...
  • Page 13 ARP Commands show arp 0/7/CPU0 ------------------------------------------------------------------------------- Address Hardware Addr State Type Interface 33.1.1.2 e4c7.2284.f863 Interface ARPA TenGigE0/7/0/3 34.1.1.2 e4c7.2284.f863 Interface ARPA TenGigE0/7/0/3.1 65.79.1.1 e4c7.2284.f887 Interface ARPA TenGigE0/7/0/39 ------------------------------------------------------------------------------- 0/RP0/CPU0 ------------------------------------------------------------------------------- Address Hardware Addr State Type Interface 12.1.24.208 00:00:03 0016.9cf2.3800 Dynamic ARPA MgmtEth0/RP0/CPU0/0 12.7.0.1 00:53:00...
  • Page 14 • Static • “-” (indicates global static and alias entries) Type Displays the encapsulation type the Cisco IOS XR software is using for the network address in this entry. Value is ARPA. Interface Displays the interface associated with this network address.
  • Page 15: Show Arp Traffic

    ARP Commands show arp traffic show arp traffic To display Address Resolution Protocol (ARP) traffic statistics, enter the show arp traffic command in . show arp traffic [vrf vrf-name] [interface-path-id] [location node-id] Syntax Description (Optional) Specifies VPN routing and forwarding (VRF) instance. vrf-name (Optional) VRF instance that identifies a VPN.
  • Page 16 ARP Commands show arp traffic Examples The following is sample output from the show arp traffic command: RP/0/# show arp traffic show arp traffic Thu Dec 10 09:51:38.761 UTC ------------------------------------------------------------------------------- 0/6/CPU0 ------------------------------------------------------------------------------- ARP statistics: Recv: 163 requests, 79 replies Sent: 14138 requests, 177 replies (0 proxy, 0 local proxy, 14 gratuitous) Resolve requests rcvd: 7204 Resolve requests dropped: 295 Errors: 0 out of memory, 0 no buffers, 0 out of sunbet...
  • Page 17 ARP Commands show arp traffic ARP cache: Total ARP entries in cache: 18 Dynamic: 9, Interface: 9, Standby: 0 Alias: 0, Static: 0, DHCP: 0 IP Packet drop count for node 0/4/CPU0: 5603 Total ARP-IDB:18 ARP Commands...
  • Page 18 ARP Commands show arp traffic ARP Commands...

This manual is also suitable for:

Ncs 5500 series

Table of Contents

Save PDF