Viewing the current configuration

The admin show configuration command displays the current configuration for a specified configuration region (the default region is configure). The booted and cflash-id options are valid only for the bof configuration region.

admin
    — show 
        — configuration [bof | configure | debug | li] [detail | units] [booted | cflash-id] [intended | running] [flat | full-context | json | xml]

The following example shows a BOF configuration file with the detail option to display all default and unconfigured values and the units option to show units where applicable:

[/]
A:admin@node-2# admin show configuration bof units detail
...
# Generated THU SEP 03 15:29:11 2020 UTC

bof {
    configuration {
        primary-location "ftp://.../config.cfg"
     ## secondary-location
     ## tertiary-location
    }
    console {
        speed 115200 bps
        wait-time 3 seconds
    }
    dns {
     ## domain
     ## primary-server
     ## secondary-server
     ## tertiary-server
    }
    image {
        primary-location "ftp://.../i386-both.tim"
     ## secondary-location
     ## tertiary-location
    }
    li {
        local-save false
        separate false
    }
    license {
        primary-location "ftp://.../license"
    }
    port "management" {
        autonegotiate true
        duplex full
        speed 100 megabps
    }
    router "management" {
        interface "management" {
         ## ip-mtu
            cpm active {
                ipv4 {
                    ip-address 192.168.189.52
                    prefix-length 24
                }
             ## ipv6
            }
            cpm standby {
             ## ipv4
             ## ipv6
            }
        }
        static-routes {
            route 192.168.0.0/16 {
                next-hop 192.168.189.1
            }
            route 172.16.0.0/16 {
                next-hop 192.168.189.1
            }
        }
    }
    system {
     ## base-mac-address
        fips-140-2 false
     ## gateway-role
        persistent-indices true
     ## profile
    }
}