systemparam

Use this command to configure setup collection of syslogs.

Configuration Objects

Feature Guides

  • None

systemparam Command

systemparam <context>

Systemparam Settings

Context Description
description System Description
hostname System Host Name
timezone System timezone setting

Configuration Examples

Setting the Attributes

localhost(config)#systemparam description yourFlexSwitch
localhost(config)#systemparam hostname yourHost
localhost(config)#systemparam timezone America/Los_Angeles

Show the Unapplied Configuration

localhost(config)#showunapplied 
id: 2   object: SystemParam   status: PENDING CONFIG  valid: True delete: False num user cmds: 4
 command                          attr           value                  model attr     iskey    required    userprov    time provisioned         
-------------------------------------------------------------------------------------------------------------------------------------------------
                                  systemparam    FlexSwitch             SystemId       True     X           X           Wed Aug 23 23:52:10 2017 
 systemparam description          description    yourFlexSwitch         Description    False    X           X           Wed Aug 23 23:51:47 2017 
 yourFlexSwitch                                                                                                                                  
 systemparam hostname yourHost    hostname       yourHost               Hostname       False    X           X           Wed Aug 23 23:51:59 2017 
 systemparam timezone             timezone       America/Los_Angeles    Timezone       False    X           X           Wed Aug 23 23:52:10 2017 

Applying the Configuration

localhost(config)#apply
Applying Config:
id: 2   object: SystemParam   status: APPLIED CONFIG  valid: True delete: False num user cmds: 4
 command                          attr           value                  model attr     iskey    required    userprov    time provisioned         
-------------------------------------------------------------------------------------------------------------------------------------------------
                                  systemparam    FlexSwitch             SystemId       True     X           X           Wed Aug 23 23:52:10 2017 
 systemparam description          description    yourFlexSwitch         Description    False    X           X           Wed Aug 23 23:51:47 2017 
 yourFlexSwitch                                                                                                                                  
 systemparam hostname yourHost    hostname       yourHost               Hostname       False    X           X           Wed Aug 23 23:51:59 2017 
 systemparam timezone             timezone       America/Los_Angeles    Timezone       False    X           X           Wed Aug 23 23:52:10 2017 
 America/Los_Angeles                                                                                                                             

sdk:updateSystemParam(FlexSwitch,Timezone=America/Los_Angeles,Hostname=yourHost,Description=yourFlexSwitch) result: SUCCESS: http status code: 200