show vsx ip data-path

Syntax

show vsx ip data-path [<IP-ADDR> | <IP-ADDR>/<MASK>] [vrf <VRF-NAME>] [vsx-peer]

Description

Displays the datapath of the IPv4 route present on local and VSX peer devices.

Command context

Operator (>) or Manager (#)

Parameters

<IP-ADDR> | <IP-ADDR>/<MASK>]

Selects one of the following: <IP-ADDR> or <IP-ADDR>/<MASK>

<IP-ADDR>

Specifies the datapath for an IPv4 address based on the parameters provided.

<IP-ADDR>/<MASK>

Specifies the datapath for an IPv4 address and its specified subnet. Optional. Syntax: A.B.C.D/M

vrf <VRF-NAME>

Shows the IPv4 datapath for a specified VRF.

[vsx-peer]

Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed.

Authority

Administrators

Example

Displaying the datapath on a VSX switch for 192.0.2.0:

switch# show vsx ip data-path 192.0.2.0

IPv4 Data Path Information For 192.0.2.0 

Local Device
------------
Route : 192.0.2.0/32
    Egress L3 Interface : 1/1/2
    Next Hop MAC Address   : 08:00:09:ea:d7:d1
    Egress Port   : 1/1/2

    Egress L3 Interface : 1/1/3
    Nexthop Hop MAC Address   : 08:00:09:8e:59:1d
    Egress Port   : 1/1/3

Peer Device
------------
Route : 192.0.2.0/32
    Egress L3 Interface : loopback1

Displaying the datapath on a VSX switch for 198.51.100.0/32:

switch# show vsx ip data-path 198.51.100.0/32

IPv4 Data Path Information For 198.51.100.0/32 

Local Device
------------
Route : 198.51.100.0/32
    Egress L3 Interface : 1/1/4

Displaying the datapaths on a VSX switch for 198.51.100.1:

switch# show vsx ip data-path 198.51.100.1

IPv4 Data Path Information For 198.51.100.1

Local Device
------------
Route : 198.51.100.1/32
    Egress L3 Interface : 1/1/4

Peer Device
------------
Route : 198.51.100.0/24
    Egress L3 Interface : 1/1/2
    Next Hop MAC Address   : 08:00:09:db:21:e8
    Egress Port   : 1/1/2