Forum Discussion

Avinash_Pal_204's avatar
Avinash_Pal_204
Icon for Nimbostratus rankNimbostratus
Jun 02, 2015

Need to have output for show command in specific format

Hi All,

 

I am new to this community and have one question regarding F5

 

We would like to have an output for show virtual command in a specific format where we can see

 

Pool mapped to that virtual server, its nodes, Connection details.

 

When we run command show ltm virtual virtual_server_name detail we get all the details about that VS we don't want that much details and only need above information.

 

Regards Avinash Pal

 

1 Reply

  • I not not sure about connection details but you can try this.

            [root@ve11a:Active:In Sync] config   tmsh show ltm virtual detail | egrep "Virtual Server: | Destination |                     
            Ltm::Pool: | Ltm::Pool Member: | Ltm::ClientSSL Profile" | grep -v "Destination IP Bypasses"
    
            Ltm::Virtual Server: bar
            Destination      : 172.28.24.10:443
            | Ltm::Pool: foo
            | Ltm::Pool Member: 200.200.200.101:80
            | Ltm::ClientSSL Profile: clientssl
            Ltm::Virtual Server: fwd
            Destination      : any:any