Advertisement
jeroenburen

Validate-Migration

Oct 12th, 2019
427
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function Validate-Migration {
  2.   cls
  3.   # Create a list of port profiles with VLAN ids
  4.   $command = "show running-config port-profile"
  5.   (Invoke-SSHCommand -Command $command -SSHSession $sshsession).Output | Out-File 'PortProfiles.txt'
  6.   $global:port_profiles = gc 'PortProfiles.txt' | ConvertFrom-String -TemplateContent $template
  7.   # maybe some checks on not supported features: PVLAN types- access, trunk/VXLAN/Traffic Marking/Network Segmentation
  8.   # Segmentation/Network-Segmentation-Manager/EVB/CTS/Teaming (Ethernet Port Profile)-LACP/VSD/DHCP Snooping/Fabric
  9.   # Or checks on ignored feaures: AAA/TACACS+/ACL/SPAN/NETFLOW/QOS/CBWFQ
  10.   return
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement