|  | 108 |  | 
          
            |  | 109 | {{{ | 
          
            |  | 110 | # ./swconf.sh | 
          
            |  | 111 | > ? | 
          
            |  | 112 | iface [eth0|eth1] [IP addr] - Configure management interface address. Address is in CIDR form (e.g 172.16.0.30/16) | 
          
            |  | 113 | vlan [VLAN ID] - instantiate a VLAN interface of tag [VLAN ID] | 
          
            |  | 114 | ports [min] [max] - Configure VLAN and mode of ports between [min] and [max] inclusive | 
          
            |  | 115 | save - Commit changes to memory | 
          
            |  | 116 | exit - exit script | 
          
            |  | 117 | help - display this list (equivalent to '?') | 
          
            |  | 118 | clear - clear the screen | 
          
            |  | 119 | }}} | 
          
            |  | 120 | {{{ | 
          
            |  | 121 | > ports 2 7 | 
          
            |  | 122 | (ports)# ? | 
          
            |  | 123 | vlan [1..1020]: set native vlan for ports | 
          
            |  | 124 | mode [access|trunk] | 
          
            |  | 125 | delete: wipe out port settings | 
          
            |  | 126 | range [min] [max]: configure new range of ports | 
          
            |  | 127 | exit: exit from port context | 
          
            |  | 128 | }}} | 
          
            |  | 129 |  |