Glossary of Terms
Glossary of Terms
Using the loadcfgaudit.sh Script
loadcfgaudit.sh Parameters
Mandatory/Optional parameters for -l = 0/1
loadcfgaudit.sh Script Examples
Scenario 1: Loading Default Attributes for an IMG
Cd <WEM_INSTALL_PATH>/server
./serv stop
Cd <WEM_INSTALL_PATH >/server/scripts
Cd <WEM_INSTALL_PATH>/server
Scenario 3: Adding Subsequent IMG(s) in WEM
Copying Default and User-Defined Attributes to a Destination Chassis in WEM
Cd <WEM_INSTALL_PATH>/server
./serv stop
cd <WEM_INSTALL_PATH>/server/scripts
Cd <WEM_INSTALL_PATH>/server
Copying Default and User Attributes from a Source Chassis with a Specific Product Type to a Destination Chassis in WEM
Cd <WEM_INSTALL_PATH>/server
./serv stop
cd <WEM_INSTALL_PATH>/server/scripts
Cd <WEM_INSTALL_PATH>/server
“Error: duplicate key violates unique constraint "cfgauditattributeinfo_pkey" Message
Scenario 4: CAT Attribute Support for a New Product Type
Copying Default and User Attributes from a Source Chassis with a Specific Product Type to a Destination Chassis in WEM
Cd <WEM_INSTALL_PATH>/server
./serv stop
cd <WEM_INSTALL_PATH>/server/scripts
Cd <WEM_INSTALL_PATH>/server
Default Attributes Table
| Attribute Name | Description |
|---|---|
| 2nd AAA Acct | Retrieve secondary AAA auth context from "show radius accounting servers" in "src" context CLI and first occurrence of key filter as "IP", return two fields, where field separator is SPACE and skip header of table |
| 2nd AAA Auth Context (1) | Retrieve secondary AAA auth context from "show radius authentication servers" in "src" context CLI and multiple occurrence of key filter as "IP", return two fields, where field separator is SPACE and skip header of table |
| 2nd AAA Auth Context (2) | Retrieve secondary AAA auth context from "show radius authentication servers" in "source" context CLI and multiple occurrence of key filter as "IP", return two fields, where field separator is SPACE and skip header of table |
| 2nd AAA Auth Context (3) | Retrieve secondary AAA auth context from "show radius authentication servers" in "dst" context CLI and multiple occurrence of key filter as "IP", return two fields, where field separator is SPACE and skip header of table |
| Acct Retry | Retrieve accounting retry from "show configuration" command and first occurrence of key filter "accounting max-retries" |
| Acct Timeout | Retrieve accounting timeout from "show configuration" command and first occurrence of key filter "accounting timeout” |
| Auth Retry Attempts | Retrieve Auth retry attempts from "show configuration" command and first occurrence of key filter "radius max-retries" |
| Auth Seqence | Retrieve auth sequence from "show pdsn-service all" command and first occurrence of key filter "PPP Authentication" from "service name" section |
| Auth Timeout | Retrieve auth timeout from "show configuration" command and first occurrence of key filter "radius timeout" |
| CALEA Configured Properly | Retrieve CALEA configuration from "show configuration" command and first occurrence of key filter "operator" where value contains "caleas" |
| CF1-Serial Number | Retrieve CF1 serial number from "show license information" command and first occurrence of key filter "Serial Number" from "CF Device 1" |
| CF2-Serial Number | Retrieve CF2-Serial Number from "show license information" command and first occurrence of key filter "Serial Number" from "CF Device 2" |
| Configured User Acct - Administrator | Retrieve users configured as an administrator privilege from "show configuration | grep administrator" command |
| Configured User Acct - Inspector | Retrieve users configured as Inspector privilege Inspector(s) from "show configuration | grep "inspector"" command |
| Configured User Acct - Operator | Retrieve users configured as Operator privilege from "show configuration | grep "operator"" command |
| ECS Configured | Retrieve ECS service name from "show active-charging service all" command and first occurrence of key filter "Service name" |
| ECS Mode | Retrieve whether ECS service Passive Mode is enabled from "show active-charging service all" command and first occurrence of key filter "Passive Mode" |
| ECS Session Limits | Retrieve ECS Session Limits from "show license information" command and first occurrence of key filter "ECS" from "Session Limits" section |
| FA-HA security associations | Retrieve FA-HA security associations from "show configuration" command and multiple occurrences of key filter "fa-ha-spi" |
| HA Proxy List | Retrieve HA proxies from "show configuration" command and multiple occurrences of key filter "redirect" from "proxy-dns" section |
| Hostname | Retrieve system hostname from "show config" CLI and first occurrence of key filter "hostname" |
| IMG Version | Retrieve IMG software version from "show version" CLI and first occurrence of key filter "Image Version" from "Active Software" section. |
| IP Pool | Retrieve IP Pool info from "show config" CLI and multiple occurrences of key filter as "ip pool" |
| LAC Service Status | Retrieve LAC Service Status from "show lac-service all" command and first occurrence of key filter "Service Status" if value contains "Not Started" |
| License key | Retrieve license key from "show license key" command and first occurrence of key filter "" |
| License Key Number | Retrieve license key number "show license information" CLI and first occurrence of key filter "Key Number" |
| Logging Level | Retrieve logging level from "show logging" command and first occurrence of key filter "a10" |
| PAC HW Rev | Retrieve PAC hardware revision from "show card hardware" CLI and multiple occurrences of key filter "Part Number" from "Packet" section. Depending on chassis type (ST16, ST40 (ASR5000), ASR5500), it will return the PAC, PSC or DPC revision. |
| PAC Serial Number | Retrieve PAC serial number from "show card hardware" CLI and multiple occurrences of key filter "Serial Number" from "Packet" section. Depending on chassis type (ST16, ST40 (ASR5000), ASR5500), it will return the PAC, PSC or DPC serial number. |
| Primary AAA Acct | Retrieve primary AAA auth context from "show radius accounting servers" in "src" context CLI and first occurrence of key filter as "IP", return two fields, where field separator is SPACE and skip header of table |
| Primary AAA Auth Context (2) | Retrieve Primary AAA auth context from "show radius authentication servers" in "src " context CLI and first occurrence of key filter as "IP", return two fields, where field separator is SPACE and skip header of table |
| Primary AAA Auth Context (3) | Retrieve primary AAA auth context from "show radius authentication servers" in "source " context CLI and first occurrence of key filter as "IP", return two fields, where field separator is SPACE and skip header of table |
| Primary AAA Auth Context (1) | Retrieve Primary AAA auth context from "show radius authentication servers" in "dst " context CLI and first occurrence of key filter as "IP", skip header of table |
| Primary Bulkstat Server | Retrieve primary bulk statistic server from "show bulkstat" command, and first occurrence of key filter "Primary" |
| Primary DNS Server | Retrieve primary DNS server from "show configuration" command, and first occurrence of key filter "dns primary" |
| Primary NTP IP Address | Retrieve primary NTP IP address from "show config" CLI and multiple occurrences of key filter as "server" and single occurrence from "ntp" and "enable" sections. |
| Regional Contact | Retrieve regional contact from "show configuration" command and first occurrence of key filter "system contact" |
| Secondary Bulkstat Server | Retrieve secondary bulk statistic server from "show bulkstat" command, and first occurrence of key filter "Secondary" from "Bulkstats Receivers" |
| Secondary DNS Server | Retrieve Secondary DNS server from "show configuration" command, and first occurrence of key filter "dns secondary" |
| Sessions Configured | Retrieve sessions configured from "show license information" command, and first occurrence of key filter "PDSN" from "session limits" section. |
| SNMP Servers | Retrieve SNMP servers from "show configuration" command, and multiple occurrences of the key filter "snmp target" |
| System uptime | Retrieve System uptime from "show system uptime" command, and first occurrence of the key filter "uptime" |
| Vendor/Model | Retrieve vendor/model information from "show version" CLI, and first occurrence of the key filter "boot image" |
CAT Configuration Example
Creating E-Mail Recipients
Configuring Default Attributes
/export/home/SQA/ems/server/scripts
./loadcfgaudit.sh /export/home/SQA/ems/postgres 5432 postgres /export/home/SQA/ems/server/scripts/cfgauditattribute.csv LTE ST40
Configuring Required Dynamic Attributes
IMPORTANT:
Configuring Audit Attribute Groups
Scheduling an Audit Report
Verifying Audit Reports
Configuring an On-Demand Audit
Using the cfgauditattribute.csv File
Primary AAA Auth Context
(2),20,0,,context source\,show radius authentication servers,,,0,IP,0,4,,,,f,<space>,2,,
Using the exportNrestoreCfgAttr.sh Script
exportNrestoreCfgAttr.sh Script Examples
Scenario 1: Export CAT attributes information
Result
Scenario 2: Restore CAT attributes information
cd <WEM_DEST_INSTALL_PATH>/server
./serv stop
cd <WEM_DEST_INSTALL_PATH>/server/scripts
cd <WEM_DEST_INSTALL_PATH>/server
./serv start
Result