5 arp vrf – CANOGA PERKINS 9175 Command Reference User Manual

Page 364

Advertising
background image

CanogaOS Command Reference

20-4

And user can use command show ip route vrf VPN-NAME to show the result.

Switch#show ip route vrf ComA database

Codes: K - kernel, C - connected, S - static, R - RIP, B - BGP

O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area

[*] - [AD/Metric]

> - selected route, * - FIB route, p - stale info

S 2.2.2.0/24 [1/0] via 1.1.1.2 inactive

Examples

Switch(config)#ip route vrf VPN-NAME 2.2.2.0/24 1.1.1.2

Related Commands

s

how ip route vrf: Display the ip routing table associated with a VRF

20.5 arp vrf

To add a permanent entry in the Address Resolution Protocol (ARP) cache for VRF, use the arp vrf command

in global configuration mode. To remove an entry from VRF ARP cache, enter the no form of this command.

Command Syntax

arp vrf NAME A.B.C.D MAC(alias|)

no arp vrf NAME A.B.C.D

NAME: VPN Routing/Forwarding instance name

A.B.C.D: IP address of the ARP entry

MAC: Mac (hardware) address of the ARP entry in HHHH.HHHH.HHHH format

Command Mode

Global configuration mode

Usage

This example shows how to add a static arp entry to vrf

Switch# configure terminal

Switch(config)# arp vrf vpn3 1.1.1.1 0000.1111.2222

Examples

Switch#configure terminal

Switch(config)# arp vrf vpn3 1.1.1.1 0000.1111.2222

Related Commands

show ip arp vrf VRF-NAME: display arp table in vrf

clear ip arp vrf VRF-NAME A.B.C.D: Clear all arp entry in arp table of the vrf

Advertising