Skip to content

Instantly share code, notes, and snippets.

@nqb
Last active January 21, 2020 11:47
Show Gist options
  • Save nqb/421c6fe2d3c2433f1be1fb147a26fab9 to your computer and use it in GitHub Desktop.
Save nqb/421c6fe2d3c2433f1be1fb147a26fab9 to your computer and use it in GitHub Desktop.
Jan 21 11:44:27 pfcen7stable pfqueue: pfqueue(13684) INFO: [mac:11:11:11:11:11:88] switch: $VAR1 = \bless( {
'_vlans' => {
'isolation' => '3',
'REJECT' => '-1',
'voice' => '5',
'inline' => '6',
'normal' => '1',
'registration' => '2'
},
'_id' => '192.168.0.8',
'_macDetectionRole' => '',
'_voiceRole' => 'voice',
'_inlineTrigger' => [],
'_access_lists' => {},
'_mode' => 'production',
'_radiusSecret' => '',
'_cliEnablePwd' => undef,
'_sessionWrite' => undef,
'_macSearchesSleepInterval' => '2',
'_type' => 'Cisco::SG300',
'_ip' => '192.168.0.8',
'_normalVlan' => '1',
'_SNMPPrivPasswordWrite' => undef,
'_cliPwd' => undef,
'_coaPort' => undef,
'_VoIPEnabled' => 0,
'_AccessListMap' => 'N',
'_sessionRead' => undef,
'_isolationRole' => '',
'_VoIPDHCPDetect' => 'Y',
'_useCoA' => 'Y',
'_switchMac' => undef,
'_SNMPPrivProtocolTrap' => undef,
'_voiceVlan' => '5',
'_SNMPAuthProtocolTrap' => undef,
'_SNMPCommunityWrite' => 'private',
'_error' => undef,
'_SNMPAuthPasswordRead' => undef,
'_SNMPAuthPasswordTrap' => undef,
'_SNMPUserNameRead' => undef,
'_SNMPCommunityRead' => 'public',
'_SNMPPrivProtocolRead' => undef,
'_TenantId' => '1',
'_normalRole' => '',
'_RoleMap' => 'N',
'_registrationRole' => '',
'_SNMPEngineID' => undef,
'_cliTransport' => 'Telnet',
'_wsUser' => undef,
'_urls' => {},
'_ExternalPortalEnforcement' => 'N',
'_SNMPPrivPasswordTrap' => undef,
'_uplink' => [
'dynamic'
],
'_SNMPPrivProtocolWrite' => undef,
'_SNMPVersionTrap' => '1',
'_controllerIp' => undef,
'_switchIp' => '192.168.0.8',
'_deauthMethod' => 'RADIUS',
'_inlineRole' => 'inline',
'_macSearchesMaxNb' => '30',
'_SNMPAuthPasswordWrite' => undef,
'_cliUser' => undef,
'_description' => 'sw8',
'_VlanMap' => 'Y',
'_uplink_dynamic' => '0',
'_roles' => {
'voice' => 'voice',
'inline' => 'inline'
},
'_SNMPAuthProtocolWrite' => undef,
'_SNMPPrivPasswordRead' => undef,
'_VoIPCDPDetect' => 'Y',
'_SNMPAuthProtocolRead' => undef,
'_disconnectPort' => undef,
'_wsTransport' => 'http',
'_wsPwd' => '',
'_inlineVlan' => '6',
'_SNMPUserNameWrite' => undef,
'_SNMPUserNameTrap' => undef,
'_VoIPLLDPDetect' => 'Y',
'_UrlMap' => 'N',
'_isolationVlan' => '3',
'_sessionControllerWrite' => undef,
'_SNMPVersion' => '1',
'_cliAccess' => 'N',
'_group' => 'default',
'_REJECTVlan' => '-1',
'_SNMPCommunityTrap' => 'public',
'_registrationVlan' => '2'
}, 'pf::Switch::Cisco::SG300' );
(pf::api::ReAssignVlan)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment