Skip to content
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

cisco_wlc show mobility summary #628

Merged
merged 2 commits into from
Mar 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions templates/cisco_wlc_ssh_show_mobility_sum.textfsm
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Value MAC_ADDR (([\d1-9a-f]{2}\:?){6})
Value IP_ADDR (([\d1-9]+\.?){4})
Value GROUP_NAME (\S+)
Value MULTICAST_IP (([\d1-9]+\.?){4})
Value STATUS (.+?)

Start
^Mobility\s+Protocol\s+Port
^Default\s+Mobility\s+Domain
^Multicast\s+Mode\s+
^Mobility\s+Domain\s+ID\s+for\s+802.11r
^Mobility\s+Keepalive\s+Interval
^Mobility\s+Keepalive\s+Count
^Mobility\s+Group\s+Members\s+Configured
^Mobility\s+Control\s+Message\s+DSCP\s+Value
^Controllers\s+configured\s+in\s+the\s+Mobility\s+Group
^\s+MAC\s+Address\s+IP\s+Address\s+Group\s+Name\s+Multicast\s+IP\s+Status -> Mobility_Controllers


Mobility_Controllers
^\s+${MAC_ADDR}\s+${IP_ADDR}\s+${GROUP_NAME}\s+${MULTICAST_IP}\s+${STATUS}s*$$ -> Record
^\s*$$
^. -> Error
1 change: 1 addition & 0 deletions templates/index
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ cisco_wlc_ssh_show_ap_config_general.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap con
cisco_wlc_ssh_show_interface_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] int[[erface]] s[[ummary]]
cisco_wlc_ssh_show_client_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] cl[[ient]] det[[ail]]
cisco_wlc_ssh_show_exclusionlist.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ex[[clusionlist]]
cisco_wlc_ssh_show_mobility_sum.textfsm, .*, cisco_wlc_ssh, sh[[ow]] mo[[bility]] su[[mmary]]
cisco_wlc_ssh_show_ap_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap sum[[mary]]
cisco_wlc_ssh_show_inventory.textfsm, .*, cisco_wlc_ssh, sh[[ow]] inve[[ntory]]
cisco_wlc_ssh_show_wlan_sum.textfsm, .*, cisco_wlc_ssh, sh[[ow]] wl[[an]] s[[ummary]]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

Mobility Protocol Port........................... 16666
Default Mobility Domain.......................... data
Multicast Mode .................................. Disabled
Mobility Domain ID for 802.11r................... 0xb187
Mobility Keepalive Interval...................... 10
Mobility Keepalive Count......................... 3
Mobility Group Members Configured................ 2
Mobility Control Message DSCP Value.............. 0

Controllers configured in the Mobility Group
MAC Address IP Address Group Name Multicast IP Status
08:00:27:0a:04:25 192.168.1.12 data 0.0.0.0 Control and Data Path Down
08:00:27:1d:a4:d4 192.168.1.11 data 0.0.0.0 Up
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
parsed_sample:
- mac_addr: "08:00:27:0a:04:25"
ip_addr: "192.168.1.12"
group_name: "data"
multicast_ip: "0.0.0.0"
status: "Control and Data Path Down"
- mac_addr: "08:00:27:1d:a4:d4"
ip_addr: "192.168.1.11"
group_name: "data"
multicast_ip: "0.0.0.0"
status: "Up"