OcNOS DC : Layer 3 Guide : Routing Information Protocol Command Reference : Routing Information Protocol VPN Commands
Routing Information Protocol VPN Commands
This chapter provides information about RIP VPN commands. These commands are available when the RIP Provider Edge (PE) and Customer Edge (CE) feature is supported. Using these commands, VPN you can use RIP to receive information which the CE-router places into the connected Virtual Routing and Forwarding (VRF) from the receiving interface. The information is then advertised across the MPLS/VPN backbone between PE-routers.
To provide a VPN service, the PE-router needs to be configured so that any routing information learned from a VPN customer interface can be associated with a particular VRF. This is achieved using any standard routing protocol process (RIP, OSPF, BGP or static routes etc).
This chapter contains the following commands:
 
 
show ip rip interface vrf
Use this command to display VRF information. This command is supported in RIP (IPv4).
Command Syntax
show ip rip interface vrf WORD (IFNAME|)
Parameters
WORD
Specify the name for the VRF instance.
IFNAME
Specify name for the interface.
Default
None
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show ip rip interface vrf myVRF
 
eth1 is up, line protocol is up
Routing Protocol: RIP
VPN Routing/Forwarding: myVRF
Receive RIP packets
Send RIP packets
Passive interface: Disabled
Split horizon: Enabled with Poisoned Reversed
IP interface address:
1.1.1.92/24
eth3 is up, line protocol is up
RIP is not enabled on this interface
 
Figure 3-81 Explains the show command output details.
Table 3-81: Show ip rip interface vrf output details
Field
Description
Routing Protocol
Specifies the routing protocol used.
VPN Routing/Forwarding
Specifies the name of the virtual routing and forwarding (VRF) instance.
Receive RIP packets
Number of RIP packets that were received on this interface.
Send RIP packets
Number of RIP packets that were send on this interface.
Passive Interface
Used in all routing protocols to disable sending updates out from a specific interface.
Split horizon
the routing switch does not advertise a route on the same interface as the one on which the routing switch learned the route.
IP Interface address
IP address of the RIP peer neighbor.
 
 
show ip rip vrf
Use this command to display VRF information. This command is supported in RIP (IPv4).
Command Syntax
show ip rip (database) vrf WORD
Parameters
database
Specify to display information about the IP RIP database.
WORD
Specify the name for the VRF instance.
Default
None
Command Mode
Privileged Exec mode and Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#show ip rip database vrf myVRF
Codes: R - RIP, Rc - RIP connected, Rs - RIP static, K - Kernel,
C - Connected, S - Static, O - OSPF, I - IS-IS, B - BGP
 
Network Next Hop Metric From If Time
Rc 1.1.1.0/24 1 eth1
S 72.72.75.0/24 98.98.8.2 1 eth3
 
 
Table 3-82 shows the status codes displayed at the start of a route entry.
Table 3-82: Status codes
Status Code
Meaning
Description
R
RIP
RIP prevents routing loops by implementing a limit on the number of hops allowed in a path from source to destination.
Rc
RIP Connected
Redistribute from locally RIP connected networks.
 
Rs
RIP Static
Connections in a RIP static network are fixed links, while connections in a dynamic network are established on the fly as needed.
K
Kernel
Kernel is central component of operating system.
C
Connected
Redistribute from locally connected networks.
Rs
RIP Static
Connections in a RIP static network are fixed links, while connections in a dynamic network are established on the fly as needed.
O
OSPF
Open Shortest Path First (OSPF) is a routing protocol for Internet Protocol (IP) networks.
I
IS-IS
Intermediate System to Intermediate System (IS-IS) is a routing protocol designed to move information efficiently within a host network.
B
BGP
BGP makes routing decisions based on paths, rules or network policies configured by a network administrator.
 
Network
IP address of a network entity.
 
Nexthop
IP address of the next system that is used when forwarding a packet to the destination network.
 
Metric
If shown, the value of the inter-autonomous system metric.
 
Figure 3-83 Explains the show command output details.
Table 3-83: Show ip rip vrf output details
Field
Description
Network
IP address of a network entity.
Nexthop
IP address of the next system that is used when forwarding a packet to the destination network.
Metric From
If shown, the value of the inter-autonomous system metric.
If
Ethernet interface.
Time
Specifies the time between forwarding packets.
 
 
show ip vrf
Use this command to display VRF information. This command is supported in RIP (IPv4).
Command Syntax
show ip vrf
show ip vrf WORD
Parameters
WORD
Specify the name for the VRF instance.
Default
None
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show ip vrf myVRF
 
VRF myVRF, FIB ID 1
Router ID: 1.1.1.2 (config)
Interfaces:
eth1
eth3
VRF myVRF; (id=1); RIP enabled Interfaces:
eth1