Slight modification to output of command "show"


#1

Right now if you issue a “show” command, you might get back something like this:

 interfaces {
     ethernet eth0 {
         address 192.168.0.1/24
         description "External Network"
         duplex auto
         smp_affinity auto
         speed auto
     }
     ethernet eth1 {
         description "VLAN Trunk"
         duplex auto
         smp_affinity auto
         speed auto
         vif 15 {
             address 192.168.15.1/24
             description "VLAN 15"
         }
         vif 30 {
             address 192.168.30.1/24
             description "VLAN 30"
         }
     }
     loopback lo {
     }
 }
 service {
     ssh {
         port 22
     }
 }

“interfaces {” signals that what is to follow is a collection of interfaces.
“service {” signals that what is to follow is a collection of services.
“vlans {” signals that what is to follow is a collection of VLANs on this NIC. …but it doesn’t because the VLANs for a NIC are not wrapped up like services or interfaces. Can you make this happen?

Also, can you pluralize “service” to “services”?

Thank you.