Changes between Version 1 and Version 2 of Internal/OpenFlow/XORP


Ignore:
Timestamp:
Jan 23, 2011, 12:33:59 AM (13 years ago)
Author:
akoshibe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/OpenFlow/XORP

    v1 v2  
    2323XorPlus# save running-to-startup
    2424}}}
     25
     26== Commands. ==
     27 * To power off the switch
     28{{{
     29XorPlus> request system power-off
     30}}}
     31 * To get to the configuration prompt as enabled user - `configure`
     32 * for a list of available options for a specific set of commands, type "?" or "help" at any point:
     33{{{
     34XorPlus# run ?
     35Possible completions:
     36  clear                         Clear information in the system
     37  file                          Perform file operations
     38  ping                          Ping remote target
     39  request                       Make system-level requests
     40  set                           Set parameters of the system
     41  show                          Show system information
     42  ssh                           Connect to another host via SSH
     43  start                         Start shell
     44  syslog                        System logging
     45  telnet                        Connect to another host via telnet
     46  traceroute                    Trace route to remote host
     47}}}
     48 * To execute non-config CLI commands from enabled mode, use `run <parameters>` (choices are shown above)
     49 * Setting interface parameters - The GBe ports are named ge-1/1/n, n from 1 to 48. To configure them:
     50{{{
     51XorPlus# set interface gigabit-ethernet ge-1/1/4XorPlus> request system power-off 7 family ethernet-switching <port mode, vlan id, ect. here>
     52}}}
     53
     54== Multiport configurations. ==
     55!XorPlus doesn't seem to let you configure more than one port at a time. This is a pain (e.g. for setting the native vlans for all of the ethernet ports). A quick way to get to config many ports at a time is to echo commands into the serial device (/dev/ttyS0 or /dev/ttyUSB0 - what you used to connect to the switch). For example, to set the vlans for all the interfaces to 8:
     56[[BR]][[BR]]
     57At your terminal, as root:
     58{{{
     59# echo "set vlans vlan-id 8" >> /dev/ttyS0
     60# for i in `seq 1 48`; do echo "set interface gigabit-ethernet ge-1/1/$i family ethernet-switching native-vlan-id 8"; done >> /dev/ttyS0
     61}}}
     62Then, at the switch CLI:
     63{{{
     64XorPlus# set interface gigabit-ethernet ge-1/1/47 family ethernet-switching native-vlan-id 1
     65XorPlus# set interface gigabit-ethernet ge-1/1/47 family ethernet-switching vlan members 8
     66XorPlus# commit
     67XorPlus# save running-to-startup
     68}}}