FiberstoreOS. VPN Command Line Reference

Similar documents
FSOS VPN Command Line Reference

FiberstoreOS. VPN Command Line Reference

Configuring VRF-lite CHAPTER

UniNets MPLS LAB MANUAL MPLS. UNiNets Multiprotocol label Switching MPLS LAB MANUAL. UniNets MPLS LAB MANUAL

FiberstoreOS IPv6 Service Configuration Guide


FiberstoreOS IP Service Configuration Guide

BGP Support for IP Prefix Export from a VRF Table into the Global Table

FiberstoreOS IP Routing Command Line Reference

FSOS IP Routing Command Line Reference

FiberstoreOS IPv6 Security Configuration Guide

FiberstoreOS. IP Service Configuration Guide

FSOS IP Service Configuration Guide

Configuring VRF-lite. Information About VRF-lite

FiberstoreOS. IP Routing Command Line Reference

Lab Troubleshooting Using traceroute Instructor Version 2500

EXAM TCP/IP NETWORKING Duration: 3 hours

Troubleshooting Cisco Express Forwarding Routing Loops

Chapter 4: Routing Concepts. Routing & Switching

lab rip experiences with RIPv2 distance vector protocol

Multi-VRF Support. Finding Feature Information. Prerequisites for Multi-VRF Support

Networks and Bridges Commands

MPLS over GRE. Finding Feature Information. Prerequisites for MPLS VPN L3VPN over GRE

MPLS VPN--Inter-AS Option AB

Configuring Network Access to the GGSN

MPLS VPN Route Target Rewrite

RealCiscoLAB.com. Inter-VLAN Routing with an Internal Route Processor and Monitoring CEF Functions

FiberstoreOS. Network Management Command Line Reference

MPLS VPN Inter-AS Option AB

Advanced IPv6 Training Course. Lab Manual. v1.3 Page 1

MPLS VPN C H A P T E R S U P P L E M E N T. BGP Advertising IPv4 Prefixes with a Label

CIS Test 1- Practice - Fall 2011

ECMP Load Balancing. MPLS: Layer 3 VPNs Configuration Guide, Cisco IOS XE Release 3S (Cisco ASR 900 Series) 1

Configuring IP Unicast Routing

Table of Contents 1 Static Routing Configuration 1-1

Chapter 3 Command List

SEMESTER 2 Chapter 1 Planning and Cabling a Network V 4.0

MPLS VPN Carrier Supporting Carrier IPv4 BGP Label Distribution

Lab 1: Static MPLS LSP-RTX4-RTX1 LSP-RTX1-RTX4 LSP-RTX3-RTX2 LSP-RTX2-RTX3

FiberstoreOS. Network Management Command Line Reference

MPLS VPN Carrier Supporting Carrier Using LDP and an IGP

Configuring MPLS, MPLS VPN, MPLS OAM, and EoMPLS

Configuring IP Static Routes on the HaulPass V60s

Multiprotocol Label Switching Virtual Private Network

Packet Tracer - Using Traceroute to Discover the Network (Instructor Version)

MPLS VPN Multipath Support for Inter-AS VPNs

BGP-MVPN SAFI 129 IPv6


Configuring the Cisco NAM 2220 Appliance

MPLS VPN Carrier Supporting Carrier Using LDP and an IGP

Configuring Cisco Prime NAM

FiberstoreOS BGP Command Line Reference

BGP mvpn BGP safi IPv4

MPLS VPN Carrier Supporting Carrier IPv4 BGP Label Distribution

Layer3 VPN with OSPF Protocol between CE-PE

Configuring Easy Virtual Network Shared Services

Layer3 VPN with RIP protocol between CE-PE

Laboration 2 Troubleshooting Switching and First-Hop Redundancy

InterAS Option B. Information About InterAS. InterAS and ASBR

Exercise 1 INTERNET. x.x.x.254. net /24. net /24. x.x.x.33. x.x.x.254. x.x.x.52. x.x.x.254. x.x.x.254. x.x.x.

QUESTION: 1 When limit-learning is configured on a port and the limit is reached the following traffic still flows to the port.

Configuring MPLS and EoMPLS

Implementing MPLS VPNs over IP Tunnels

MPLS VPN: VRF Selection Based on Source IP Address


This document is not restricted to specific software and hardware versions.

Configuring IP Unicast Routing

MultiVRF Deployment Example

BGP MPLS VPNs. Introduction

Configuring IPv6 Provider Edge over MPLS (6PE)

Introduction to Computer Networks

FiberstoreOS IP Routing Configuration Guide

Lab Configuring HSRP and GLBP Topology

Chapter 7 Lab 7-1, Configuring BGP with Default Routing

FSOS IP Routing Configuration Guide

Configuring the DHCP Server On-Demand Address Pool Manager

BGP Best External. Finding Feature Information

CCIE R&S Techtorial MPLS

FiberstoreOS IP Routing Configuration Guide

Применение MPLS в сетях связи. (Часть 2)

MPLS VPN Half-Duplex VRF

Physical topology. Cat6k_2. Cat6k_1. g1/1. g1/1. g2/2. g3/18. g1/2 g3/17. g2/18. g1/2. e2/18 e3/1. e2/24. e2/24. e2/46. e2/46. e2/2. e2/6. f0/3.

Last time. Network layer. Introduction. Virtual circuit vs. datagram details. IP: the Internet Protocol. forwarding vs. routing

N through Z. Cisco Dynamic Fabric Automation Command Reference 1

netkit lab bgp: transit as Università degli Studi Roma Tre Dipartimento di Informatica e Automazione Computer Networks Research Group

MPLS VPN Inter-AS IPv4 BGP Label Distribution

Table of Contents 1 Static Routing Configuration 1-1

Flexible NetFlow IPv6 Unicast Flows

BGP Event-Based VPN Import

Contents. Introduction. Prerequisites. Configure. Requirements. Components Used

DHCP Relay in VXLAN BGP EVPN

Homework 3 Discussion

Configuring IP Unicast Routing

LINX accredited training Another 10 years. Stephen Groombridge Systems & Network Training

MAC Address Configuration Commands

HPE FlexFabric 5940 Switch Series

Configuring Multicast VPN Inter-AS Support

ibgp Multipath Load Sharing

BGP-VPN Distinguisher Attribute

Route Leaking in MPLS/VPN Networks

Transcription:

FiberstoreOS VPN Command Line Reference

Contents 1 VRF Commands...3 1.1 ip vrf...3 1.2 show ip vrf...3 1.3 ip vrf forwarding...4 1.4 ip route vrf...5 1.5 arp vrf... 5 1.6 show ip arp vrf... 6 1.7 clear ip arp vrf...7 1.8 ping vrf...7 1.9 traceroute vrf... 8 1.10 telnet vrf... 8 1.11 rd... 9 1.12 route-target...10 1.13 import map... 10 1.14 export map...11 1.15 router-id... 11 1.16 description... 12 1.17 clear ip route vrf static...12 1.18 ip route vrf... 13 1.19 ip mroute vrf peer-group...13 1.20 ip mroute vrf interface...14 2

1 VRF Commands 1.1 ip vrf To configure a VPN routing and forwarding (VRF) routing table, use the ip vrf command in global configuration mode. To remove a VRF routing table, use the no form of this command. ip vrf no ip vrf Global Configuration 1.2 show ip vrf Switch(config)# ip vrf ComA Switch(config-vrf)# route-target both 100:2 Switch(config-vrf)# route-target import 200:1 ip vrf forwarding To show the set of defined VRFs and assocaited interfaces, use the show ip vrf command in Privileged EXEC mode. show ip vrf (bgp (brief detail) interfaces ospf rip ) bgp interfaces Border Gateway Protocol (BGP) Show VPN Routing/Forwarding interface information 3

ospf rip brief detail Open Shortest Path First (OSPF) Routing Information Protocol (RIP) Brief VPN Routing/Forwarding instance information Detailed VPN Routing/Forwarding instance information Privileged EXEC Switch# show ip vrf 1.3 ip vrf forwarding To associate a VPN routing and forwarding (VRF) instance with an Layer3 interface, use the ip vrf forwarding command in interface configuration mode. To disassociate a VRF, use the no form of this command. ip vrf forwarding no ip vrf forwarding Interface configuration Executing this command on an interface removes the IP address on this interface, The IP address should be reconfigured. Switch# configure terminal Switch(config)# ip vrf ComA 4

Switch(config-vrf)# exit Switch(config)# interface eth-0-1 Switch(config-if)# no switchport Switch(config-if)# ip vrf forwarding ComA ip vrf ip route vrf 1.4 ip route vrf To establish static routes for a VPN routing and forwarding (VRF) instance, use the ip route vrf command in global configuration mode. To disable static routes, use the no form of this command. ip route vrf DST_NET NH_ADDR no ip route vrf DST_NET NH_ADDR DST_NET NH_ADDR Destination IP subnet, the format can be target IP address with masklen(a.b.c.d/m) or target IP addres with netmask (A.B.C.D A.B.C.D) Next-hop IP address, the format should be A.B.C.D Global Configuration 1.5 arp vrf Switch(config)# ip route vrf VPN-NAME 2.2.2.0/24 1.1.1.2 show ip route vrf clear ip route 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. arp vrf VRF_NAME A.B.C.D MAC 5

no arp vrf VRF_NAME A.B.C.D A.B.C.D MAC IP address of the ARP entry Hardware address of the ARP entry in HHHH.HHHH.HHHH format Global Configuration 1.6 show ip arp vrf Switch# configure terminal Switch(config)# arp vrf vpn3 1.1.1.1 0000.1111.2222 show ip arp vrf clear ip arp vrf A.B.C.D Use this command to show arp entry in VRF instance. show ip arp vrf Privileged EXEC This example shows how to display all arp entry in the arp table of the VRF. Swith# show ip arp vrf ComA Protocol Address Age (min) Hardware Addr Interface Internet 1.1.1.1-0000.1111.2222 6

arp vrf 1.7 clear ip arp vrf Use this command to refresh a specific dynamic ARP entry from ARP cache for the VRF. clear ip arp vrf A.B.C.D A.B.C.D Dynamic learned ARP entry IP address 1.8 ping vrf Privileged EXEC This example shows how to refresh a dynamic arp entry in VRF. Switch(config)# clear ip arp vrf ComA 1.1.1.1 arp vrf Use this command to ping address in VRF. ping vrf WORD WORD Ping destination address or hostname Privileged EXEC 7

Switch# ping vrf vpn 1.1.1.1 PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data. 64 bytes from 1.1.1.1: icmp_seq=0 ttl=64 time=0.114 ms 64 bytes from 1.1.1.1: icmp_seq=1 ttl=64 time=0.087 ms 64 bytes from 1.1.1.1: icmp_seq=2 ttl=64 time=0.087 ms 64 bytes from 1.1.1.1: icmp_seq=3 ttl=64 time=0.097 ms 64 bytes from 1.1.1.1: icmp_seq=4 ttl=64 time=0.133 ms --- 1.1.1.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4041ms rtt min/avg/max/mdev = 0.087/0.103/0.133/0.020 ms, pipe 2 1.9 traceroute vrf Use this command to trace route in VRF. traceroute vrf WORD WORD Trace route destination address or hostname Privileged EXEC Switch# traceroute vrf vpn 1.1.1.1 traceroute to 1.1.1.1 (1.1.1.1), 30 hops max, 38 byte packets 1 1.1.1.1 (1.1.1.1) 0.222 ms 0.169 ms 0.169 ms 1.10 telnet vrf Use this command to telnet in VRF. telnet vrf WORD 8

WORD The destination address or hostname for telnet Privileged EXEC Switch# telnet vrf vpn 9.9.9.2 Trying 9.9.9.2... Connected to 9.9.9.2. Escape character is '^]'. Fedora Core release 4 (Stentz) Kernel 2.6.32.23 on an i686 login: root Password: 1.11 rd Use this command to set route distinguisher. rd RD-VALUE RD-VALUE Route distinguisher value. ASN:nn or IP-address:nn VRF Mode Switch(config-vrf)# rd 1.1.1.1:1 9

1.12 route-target Use this command to set route target. route-target ( both export import) RT-VALUE both export import RT-VALUE Import and export Export Import Route-target value. ASN:nn or IP-address:nn VRF Mode Switch(config-vrf)# route-target import 100:1 1.13 import map Use this command to set import map. import map WORD WORD Pointer to route-map entries VRF Mode Switch(config-vrf)# import map 100 10

export map 1.14 export map Use this command to set export map. export map WORD WORD Pointer to route-map entries VRF Mode Switch(config-vrf)# export map 100 import map 1.15 router-id Use this command to set router-id. router-id A.B.C.D A.B.C.D Router identifier in IP address format VRF Mode Switch(config-vrf)# router-id 1.1.1.1 11

show ip vrf 1.16 description Use this command to specific VRF description. description LINE LINE Characters describing this VRF, the name length should be no more than 20 VRF Mode Switch(config-vrf)# description VrfName1 show ip vrf 1.17 clear ip route vrf static Use this command to clear static routes VPN Routing/Forwarding instance. clear ip route vrf static Privileged EXEC Switch# clear ip route vrf 100 static 12

ip route vrf 1.18 ip route vrf To add a vrf route, use the ip route vrf command in global configuration mode. To remove a vrf route, use the no form of this command. ip route vrf VRFNAME A.B.C.D/M peer-group PEERNAME no ip route vrf VRFNAME A.B.C.D/M [peer-group PEERNAME] VRFNAME A.B.C.D/M PEERNAME The name of the VRF to be added. The route to be added in the vrf. The name of the peer-group as the nexthop for the route. Global Configuration Mode DUT1(config)# ip route vrf vrf1 2.2.2.2/24 peer-group p1 DUT1(config)# 1.19 ip mroute vrf peer-group To add a vrf mroute to peer-group, use the ip mroute vrf command in global configuration mode. To remove a vrf mroute, use the no form of this command. ip mroute vrf VRFNAME group A.B.C.D source A.B.C.D peer-group PEERNAME no ip mroute vrf VRFNAME group A.B.C.D source A.B.C.D peer-group PEERNAME VRFNAME A.B.C.D PEERNAME The name of the VRF to be added. The source and group to be added in the vrf. The name of the peer-group to be send to. Global Configuration Mode 13

DUT1(config)# ip mroute vrf vrf1 group 224.1.1.1 source 1.1.1.1 peer-group p1 DUT1(config)# 1.20 ip mroute vrf interface To add a vrf mroute to interface, use the ip mroute vrf command in global configuration mode. To remove a vrf mroute, use the no form of this command. (no) ip mroute vrf VRFNAME group A.B.C.D source A.B.C.D interface (IFPHYSICAL IFAGG) (no) ip mroute vrf VRFNAME group A.B.C.D source A.B.C.D interface IFVLAN port (IFPHYSICAL IFAGG) VRFNAME A.B.C.D IFPHYSICAL IFAGG IFVLAN The name of the VRF to be added. The source and group to be added in the vrf. The name of the physical interface to be sent to. The name of the agg interface to be sent to. The name of the vlan interface to be sent to. Global Configuration Mode DUT1(config)# ip mroute vrf vrf1 group 224.1.1.1 source 1.1.1.1 interface eth-0-1 DUT1(config)# ip mroute vrf vrf1 group 224.1.1.1 source 1.1.1.1 interface agg2 DUT1(config)# ip mroute vrf vrf1 group 224.1.1.1 source 1.1.1.1 interface vlan10 port eth-0-3 DUT1(config)# ip mroute vrf vrf1 group 224.1.1.1 source 1.1.1.1 interface vlan10 port agg3 DUT1(config)# 14