tunnel-history-settings-modify
This command is used to update tunnel history settings
Syntax tunnel-history-settings-modify enable|disable disk-space disk-space-number log-file-count 1..20
enable|disable |
Specify whether to enable or disable change logging. |
disk-space disk-space-number |
Specify the total disk-space allocated for all log files. |
log-file-count 1..20 |
Specify the number of log files for log rotation. |
Defaults None.
Access CLI
History Command introduced in Version 2.5.4.
Usage Use this command to update tunnel history settings.
Examples To enable tunnel history settings with a disk space allocated to 50M for all log files with 10 log files for log rotation, use the following command:
CLI network-admin@switch > tunnel-history-settings-modify enable disk-space 50M log-file-count 10
tunnel-history-settings-show
This command is used to display tunnel history settings
CLI network-admin@switch > tunnel-history-settings-show
Defaults None.
Access CLI
History Command introduced in Version 2.5.4.
Usage Use this command to view tunnel history settings such as enable/disable status, disk-space, and log-file-count.
Examples To display tunnel history settings, use this command:
CLI network-admin@switch > tunnel-history-settings-show
enable: yes
disk-space: 50M
log-file-count: 10
tunnel-history-show
This command is used to display historical tunnel state information.
Syntax tunnel-history-show
time date/time: yyyy-mm-ddTHH:mm:ss |
Displays the time to start statistic collection. |
start-time date/time: yyyy-mm-ddTHH:mm:ss |
Displays the start-time of statistic collection. |
end-time date/time: yyyy-mm-ddTHH:mm:ss |
Displays the end time of statistic collection. |
duration duration: #d#h#m#s |
Displays the duration of statistic collection. |
interval duration: #d#h#m# |
Displays the interval between statistic collection. |
since-start |
Displays the statistics collected since the start time. |
older-than duration: #d#h#m#s |
Displays statistics older than a specific time duration. |
within-last duration: #d#h#m#s |
Displays statistics within a last time period. |
caller vxlan|logger |
Displays the feature that made the change for this entry. |
last-caller vxlan|logger |
Displays the most recent caller for this entry. |
reason save|restart|add|modify|remove|remove-all|add-nh|remove-nh |
Displays the reason for history entry. |
last-reason save|restart|add|modify|remove|remove-all|add-nh|remove-nh ] |
Displays the most recent reason for this entry. |
changes id|scope|name|type|vnet|vrouter-name|peer-vrouter-name| local-ip|remote-ip|router-if|tunnel-if-name|next-hop| next-hop-mac|nexthop-vlan|remote-switch|vrid|active|state| error|route-info|ecmp-group|using-vxlan-loopback|ports| nh-egress-id|auto-tunne| ecmp-nexthops |
Displays what changed in this entry. |
count count-number |
Displays the count for tunnel history. |
id |
Displays the tunnel ID. |
scope local |
Displays the scope as local or cluster. |
name name-string |
Displays the tunnel name. |
type ip-in-ip|vxlan|nvgr |
Displays the type of the tunnel. |
vnet vnet name |
Displays the tunnel network VNET. |
vrouter-name vrouter name |
Displays the name of the vRouter service. |
peer-vrouter-name vrouter name |
Displays the name of the vRouter service on cluster peer. |
local-ip ip-address |
Displays the local IP address. |
remote-ip ip-address |
Displays the remote IP address. |
next-hop ip-address |
Displays the nexthop IP address. |
next-hop-mac mac-address |
Displays the nexthop MAC address. |
nexthop-vlan 0..4095 |
Displays nexthop VLAN. |
remote-switch fabric-node name |
Displays the remote switch name. |
vrid vrid-number |
Displays the vrouter hardware ID. |
interface-mac mac-address |
Displays the MAC address of the tunnel interface. |
interface-vlan vlan-id |
Displays the VLAN for the tunnel interface. |
active yes|no |
Displays if the tunnel is active. |
state init|ok|error|update |
Displays the tunnel state. |
bfd|no-bfd |
Displays if BFD is configured for the tunnel. |
bfd-state unknown|admin-down|down|init|up|no-session |
Displays the BFD state. |
error error-string |
Displays tunnel errors. |
route-info route-info-string |
Displays the route information for the tunnel. |
ecmp-group ecmp-group-number |
Displays the ECMP group number. |
using-vxlan-loopback yes|no |
Displays if vxlan loopback is used. |
ports port-list |
Displays the nexthop port map. |
nh-egress-id nh-egress-id-number |
Displays the hardware Egress ID. |
auto-tunnel auto|static |
Displays if the tunnel is auto or static. |
ecmp-nexthops|no-ecmp-nexthops |
Use to filter and display single or mutiple route entries (per nexthop). |
Defaults None.
Access CLI
History Command introduced in Version 2.5.4.
Usage Use this command to display historical tunnel state information.
Examples To display historical tunnel information, use the following command:
CLI network-admin@switch > tunnel-history-show