5 arp vrf – CANOGA PERKINS CanogaOS Command Reference User Manual
Page 405
CanogaOS Command Line Reference
Revision 1.02
Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches
Page 405 of 855
Usage
This example shows how to add a static routing entry to vrf table.
Switch# configure terminal
Switch(config)# ip route vrf ComA 2.2.2.0/24 1.1.1.2
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