Help for this page

Select Code to Download


  1. or download this
    $port_channels[0]{ name    => "port-channel 1"
                     , members => [ 'fc2/5'
    ...
    
    $port_channels[1]{ name    => "port-channel 3"
                     , members => [ 'fc1/1' ]      };
    
  2. or download this
    $port_channels{1}{ members => [ 'fc2/5'
                                  , 'fc1/5' ] };
    
    $port_channels{3}{ members => [ 'fc1/1' ] };
    
  3. or download this
    $port_channels{1}[ 'fc2/5'
                     , 'fc1/5' ];
    
    $port_channels{3}[ 'fc1/1' ];
    
  4. or download this
    use strict;
    use warnings;
    ...
        First operational port is fc1/1
        1 port in total, 1 port up
        Ports:   fc1/1    [up] *
    
  5. or download this
    $VAR1 = {
              '1' => [
    ...
                       'fc1/1'
                     ]
            };