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