l3-history-show
This command displays historical information about Layer 3 entries on the switch.
Syntax l3-history-show
time date/time: yyyy-mm-ddThh:mm:ss |
Specifies a point in time for displaying historical information. |
start-time date/time: yyyy-mm-ddThh:mm:ss |
The start time for Layer 3 history collection. |
end-time date/time: yyyy-mm-ddThh:mm:ss |
The end time for Layer 3 history collection. |
duration duration: #d#h#m#s |
The duration to collect the Layer 3 history. |
interval duration: #d#h#m#s |
The intervals that data is collected Layer 3 history. |
since-start |
Specifies to display all of the Layer 3 history since collection began on the fabric. |
time date/time: yyyy-mm-ddThh:mm:ss |
Specifies a point in time for displaying historical information. |
start-time date/time: yyyy-mm-ddThh:mm:ss |
The start time for Layer 3 history collection. |
older-than duration: #d#h#m#s |
Display history older than the specified duration. |
within-last duration: #d#h#m#s |
The statistic within last specified duration. |
log-type l2-save|l3-save|restart|l2-modify|l2-delete|l3-modify|l3-delete |
Filter output by the log type of each entry. The log-type column displays when a Layer 3 entry is created, modified, saved, or deleted. |
caller init|config|status|switch-cb|cluster|gre|ARP|router|flow-cb| vdp|vlag|port|inject|evict|vxlan|stats|vnm-vnic|adjacency|stp| trunk|intsw|ttl1|flood|flush|retire|loop|dhcp|fabric|table| l3-age-out|vlan|l2-checker|igmp|l2-age-out|port-mirror| mac-move|cluster-status|cluster-status-delete|vxlan-routing|subnet|br-dom|vrf|ND|VSG|excess-move-protection|retire-tunnel-up|evpnsnoop-browse |
The feature that made the change for this entry. |
last-caller init|config|status|switch-cb|cluster|gre|ARP|router|flow-cb| vdp|vlag|port|inject|evict|vxlan|stats|vnm-vnic|adjacency|stp| trunk|intsw|ttl1|flood|flush|retire|loop|dhcp|fabric|table| l3-age-out|vlan|l2-checker|igmp|l2-age-out|port-mirror| mac-move|cluster-status|cluster-status-delete|vxlan-routing|subnet|br-dom|vrf|ND|VSG|excess-move-protection|retire-tunnel-up|evpnsnoop-browse |
The most recent caller for this entry. |
reason activate|deactivate|port-move|ip-move|ip-remove|batch-move|retire|break-loop|break-loop-timeout|create|modify|delete| policy|owner-status|remove-node|port-flags|check-owner| trunk-port-add|trunk-port-remove|move-router-if|age-out|hw-remove|restart|undo|flush|update-vxlan-vlan| needs-peer-status|owner-lost|owner-change|update-peer-only|user-delete|done|vm-metadata|excess-move-state-change |
The reason for history entry. |
last-reason activate|deactivate|port-move|ip-move|ip-remove| batch-move|retire|break-loop|break-loop-timeout|create|modify| delete|policy|owner-status|remove-node|port-flags|check-owner| trunk-port-add|trunk-port-remove|move-router-if|age-out| hw-remove|restart|undo|flush|update-vxlan-vlan| needs-peer-status|owner-lost|owner-change|update-peer-only| user-delete|done|vm-metadata |
The most recent reason for this entry. |
changes owner|mac|vnet|public-vlan|ip|num-ips|config-intf|intf|ports| state|local-intf|local-ports|local-state|alt-owner|alt-owner-port|alt-owner-ports|alt-owner-state|svc-name| hostname|entity|power|cpus|os|portgroup|pg-vlans|vswitch|vs-type|vnic-type|config|rem-switch|rem-intf|rem-ports| peer-intf|peer-state|peer-owner-state|status|tunnel|create-time|last-seen|vxlan-lru|hit|migrate|drops|hw-index|rt-if|hw-flags |
Specifies what changed in this entry. |
count count-number |
Filter output by the number of entries summed using the sum-by argument. |
owner node name |
Filter output by the owner. |
mac mac-address |
Filter output by MAC address. |
vnet vnet-name |
Filter output by the vNET name. |
l2-net l2-net-name |
Filter output by the Layer 2 network name. |
vlan vlan-id |
Filter output by the VLAN ID. |
public-vlan vlan-id |
Filter output by the public VLAN ID. |
vxlan vxlan-id |
Filter output by the VXLAN ID. |
ip ip-address |
Filter output by the IP address. |
num-ips num-ips-number |
Specify the number of IP addresses for the Layer 3 entry. |
config-intf config-intf-number |
Filter output by the configured interface of the Layer 3 entry. |
intf intf-number |
Filter output by the interface number. This is the port or trunk number of the Layer 3 entry. |
ports port-list |
Filter output by the list of ports. |
state active|static|vrrp|tunnel|software|needs-peer-status|port-mac|hit|ageout-check|moving|loop-probe|local-tunnel|igmp-mac| user-flush|vxlan-loopback|router|update-peer-only|active-state-mismatch|peer-port-missing|peer-port-not-vlag| peer-port-not-orphaned|peer-port-not-cluster-link|sw-active| hsrp |
Filter output by the state of the Layer 3 entry. |
svc-name svc-name-string |
Filter output by service name. |
hostname hostname-string |
Filter output by the host name. |
entity entity-string |
Filter output by the VM or VM Kernel device name. |
power none|powered-off|powered-on|standby|suspended|unknown |
Filter by the vPort power status. |
portgroup portgroup-string |
Filter by the port group. |
pg-vlans vlan-list |
Filter by port group VLANs. |
vswitch vswitch-string |
Filter output by vSwitch name associated with VM MAC address. |
vs-type none|host-vs|distributed-vs|unknown |
Filter output by vSwitch type. |
vnic-type untagged|tagged|trunked|vm-mgmt|vm-kernel|vMotion|vSAN|FTL| rep|p-NFC|r-NFC|mgmt|unknown |
Filter output by VNIC type. |
memory memory-number |
Filter output by the amount of memory assigned to the VM. |
cpus cpus-number |
Filter output by the number of CPUs assigned to the VM. |
disk disk-number |
Filter output by the disk number where the VM is installed. |
os os-string |
Filter output by the OS installed on the VM. |
config none|owner|ip|port|hostname|hypervisor|vm-id|vm-name| vm-flavor|memory|cpus|disk|os |
Filter output by the configuration of the VM. |
blocked-port port-list |
Filter output by a list of ports to block for the VM. |
rem-switch node name |
Filter output by the remote switch name. |
rem-intf rem-intf-number |
Filter output by the remote interface number. |
rem-ports port-list |
Filter output by the remote ports. |
peer-intf peer-intf-number |
Filter output by the vPort peer interface. |
peer-state active|static|vrrp|tunnel|software|needs-peer-status|port-mac|hit|ageout-check|moving|loop-probe|local-tunnel|igmp-mac|user-flush|vxlan-loopback|router|pdate-peer-only|active-state-mismatch|peer-port-missing|peer-port-not-vlag| peer-port-not-orphaned|peer-port-not-cluster-link|sw-active|hsrp |
Filter output by the vPort peer state. |
peer-owner-state active|static|vrrp|tunnel|software|needs-peer-status|port-mac|hit|ageout-check|moving|loop-probe|local-tunnel|igmp-mac|user-flush|vxlan-loopback|router|pdate-peer-only|active-state-mismatch|peer-port-missing|peer-port-not-vlag| peer-port-not-orphaned|peer-port-not-cluster-link|sw-active| hsrp |
Filter output by the vPort peer owner state. |
status phy-up|up|disabled|hw-nat-loop|mirror-loop|mirror-to|inuse| PN-switch|PN-fabric|PN-other|PN-cluster|PN-internal| PN-hypervisor|PN-guest|snmp-host|host|uplink|drop-pkts| no-pktin|no-fwd|no-flood|STP-BPDUs|LLDP|trunk|l3-port| remote-l3-port|vdp|dhcp|dhcpsvr|blocked|no-BPDU|LACP-PDUs| vlag-active|vlag-blocked|stp-edge-port|LACP-wait|LACP-fallback|adjacency-wait|adjacency-check|vlag-wait|multicast-router|host-disabled|loop|vxlan-loopback|vlan-up|vle|vle-wait|phy-down|down| enabled|err-disabled|err-bpdu-guard|mac-violation| stp-bpdu-guard|stp-root-guard |
Filter output by the status of the Layer 3 entry. |
vtep-ip ip-address |
The IP address of the remote VTEP. |
tunnel tunnel-string |
Filter output by the tunnel name. |
create-time date/time: yyyy-mm-ddTHH:mm:ss |
Filter output by the time that the Layer 3 entry was created. |
last-seen date/time: yyyy-mm-ddTHH:mm:ss |
Filter output by the time that the Layer 3 entry was last seen on the fabric. |
vxlan-lru date/time: yyyy-mm-ddTHH:mm:ss |
Filter output by the number of received hits. |
hit hit-number |
Filter output by the number of times that the Layer 3 entry migrated on the fabric. |
migrate migrate-number |
Filter output by the number of drops on the fabric. |
drops drops-number |
Filter output by the time that the Layer 3 entry was created. |
hw-index hw-index-number |
Filter output by the hardware index number. |
rt-if rt-if-string |
Filter output by the router interface. |
hw-flags invalid-vlan|invalid-port |
Filter output by hardware flags. |
Defaults None
Access CLI
History
Version 2.3.2 |
Command introduced. |
Version 2.4 |
The parameters l2-checker|igmp|l2-age-out|port-mirror|mac-move added. The parameters peer-, hw-index, and rt-if added. |
Version 2.4.1 |
The parameters vnet, public-vlan, and hw-flags added. The options, user-flush|vxlan-loopback|router added to state, peer-state, and peer-owner-state. The option, cluster-status added to caller, and last-caller. The options, update-vxlan-vlan| needs-peer-status|owner-lost|owner-change added to reason and last-reason. |
Version 2.6.2 |
The parameters ip, num-ip, svc-name, entity, power, portgroup, pg-vlans, vswitch, vs-type, vnic-type, and hw-flags added. The parameters hypervisor, vm-id, vm-name, vm-flavor, vm-status, memory, and blocked-port deprecated. |
Version 3.1.0 |
The parameter vtep-ip added. |
Usage Use this command to display history of Layer 3 entries.
Examples To display Layer 2 information, use the following command:
CLI (network-admin@switch) > l3-history-show
time log-type reason owner mac vlan ip state
-------- --------- ------------------ ------- ----------------- ---- ------------- ------
20:12:49 l3-modify retire,modify 66:0e:94:70:87:42 1 192.168.25.33
20:12:49 l3-modify modify switch1 66:0e:94:70:87:42 1 192.168.25.33
20:12:51 l3-modify retire,modify 66:0e:94:70:87:42 1 192.168.25.33
20:12:51 l3-modify modify switch1 66:0e:94:70:87:42 1 192.168.25.33
20:18:14 l3-modify activate,create switch1 66:0e:94:c6:a5:dc 1 200.1.30.1 active
20:18:23 l3-modify activate,create switch1 66:0e:94:dd:86:e9 1 200.1.40.1 active
20:18:25 l3-modify activate,create switch1 66:0e:94:c5:fa:8e 1 200.1.50.1 active
20:21:47 l3-modify activate,create switch1 66:0e:94:db:f5:a0 1 100.0.3.2 active
20:21:49 l3-modify activate,modify switch1 66:0e:94:db:b4:8d 1 100.0.3.1 active
20:30:45 l3-modify deactivate,age-out switch1 66:0e:94:dd:86:e9 1 200.1.40.1
20:30:45 l3-modify deactivate,age-out switch1 66:0e:94:c5:fa:8e 1 200.1.50.1
20:30:45 l3-modify deactivate,age-out switch1 66:0e:94:c6:a5:dc 1 200.1.30.1
20:35:12 l3-modify activate,create switch1 66:0e:94:dc:f6:7e 1 100.0.4.2 active
20:40:45 l3-modify deactivate,age-out switch1 66:0e:94:db:f5:a0 1 100.0.3.2
20:40:45 l3-modify deactivate,age-out switch1 66:0e:94:db:b4:8d 1 100.0.3.1
20:44:17 l3-modify retire,modify 66:0e:94:70:87:42 1 192.168.25.33
20:44:17 l3-modify modify switch1 66:0e:94:70:87:42 1 192.168.25.33