-
Notifications
You must be signed in to change notification settings - Fork 721
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Template: Cisco XR - show arp #567
New Template: Cisco XR - show arp #567
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just adjusting how trailing spaces are handled.
templates/cisco_xr_show_arp.textfsm
Outdated
|
||
Start | ||
^\S+\s+\S+\s+\d+\s+\d+:\d+:\d+\.\d+\s+\S+\s*$$ | ||
^Address\s+Age\s+Hardware Addr\s+State\s+Type\s+Interface$$ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^Address\s+Age\s+Hardware Addr\s+State\s+Type\s+Interface$$ | |
^Address\s+Age\s+Hardware\s+Addr\s+State\s+Type\s+Interface$$ |
templates/cisco_xr_show_arp.textfsm
Outdated
Start | ||
^\S+\s+\S+\s+\d+\s+\d+:\d+:\d+\.\d+\s+\S+\s*$$ | ||
^Address\s+Age\s+Hardware Addr\s+State\s+Type\s+Interface$$ | ||
^-+$$ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^-+$$ | |
^-+ |
templates/cisco_xr_show_arp.textfsm
Outdated
^\S+\s+\S+\s+\d+\s+\d+:\d+:\d+\.\d+\s+\S+\s*$$ | ||
^Address\s+Age\s+Hardware Addr\s+State\s+Type\s+Interface$$ | ||
^-+$$ | ||
^${CPU}$$ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^${CPU}$$ | |
^${CPU} |
templates/cisco_xr_show_arp.textfsm
Outdated
^Address\s+Age\s+Hardware Addr\s+State\s+Type\s+Interface$$ | ||
^-+$$ | ||
^${CPU}$$ | ||
^\s$$ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^\s$$ | |
^\s*$$ |
templates/cisco_xr_show_arp.textfsm
Outdated
^-+$$ | ||
^${CPU}$$ | ||
^\s$$ | ||
^${ADDRESS}\s+${AGE}\s+${MAC}\s+${STATE}\s+${TYPE}\s+${INTERFACE}$$ -> Record |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^${ADDRESS}\s+${AGE}\s+${MAC}\s+${STATE}\s+${TYPE}\s+${INTERFACE}$$ -> Record | |
^${ADDRESS}\s+${AGE}\s+${MAC}\s+${STATE}\s+${TYPE}\s+${INTERFACE}\s*$$ -> Record |
Value Filldown CPU (\d+/\d+/CPU\d+$) | ||
|
||
Start | ||
^\S+\s+\S+\s+\d+\s+\d+:\d+:\d+\.\d+\s+\S+\s*$$ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^\S+\s+\S+\s+\d+\s+\d+:\d+:\d+\.\d+\s+\S+\s*$$ | |
# Match the timestamp at beginning of command output | |
^\S+\s+\S+\s+\d+\s+\d+:\d+:\d+\.\d+\s+\S+\s*$$ |
Done, thanks! |
ISSUE TYPE
COMPONENT
Name: cisco_xr_show_arp
OS: cisco_xr
Command: show arp
SUMMARY
Template for the
show arp
command in Cisco XR. Tested with Cisco IOS XRv version 6.0.1. Also support theshow arp vrf [VRFNAME]
command.