{"id":89,"date":"2026-08-06T18:49:25","date_gmt":"2026-08-06T18:49:25","guid":{"rendered":"https:\/\/mrnetwork.nl\/index.php\/basic-commands-on-alcatel-omniswitch-2\/"},"modified":"2026-08-06T20:00:07","modified_gmt":"2026-08-06T20:00:07","slug":"basic-commands-on-alcatel-omniswitch-2","status":"publish","type":"page","link":"https:\/\/mrnetwork.nl\/index.php\/basic-commands-on-alcatel-omniswitch-2\/","title":{"rendered":"Basic commands on Alcatel Omniswitch"},"content":{"rendered":"<p><a href=\"\/\" class=\"back-link\">Terug naar home<\/a><\/p>\n<h1>Basic commands on Alcatel Omniswitch<\/h1>\n<div class=\"headline\">Introduction<\/div>\n<div class=\"paragraph\">This page is based on the notes I took when managing Alcatel Omniswitchs 6600, 6800 in 2007 and later 6850. The <a href=\"http:\/\/enterprise.alcatel-lucent.com\/?dept=UserGuides&#038;page=Portal\">full documentation<\/a> can be found on Alcatel-Lucent website.<\/div>\n<div class=\"headline\">Managing the configuration files<\/div>\n<div class=\"paragraph\">Alcatel Omniswitchs can operate in two modes: working and certified (show running-directory to know in which mode the switch is). In working mode, the configuration can be modified, while it is no possible in certified mode (well, actually, it is). When booting, if working and certified configuration files are different, the switch will boot in certified mode. Configuration files are stored in certifed\/boot.cfg and working\/boot.cfg (they can be directly edited with &#8220;vi&#8221;). <\/p>\n<ul>\n<li>save running -&gt; working: <code>write memory<\/code><\/li>\n<li>save working -&gt; certified: <code>copy working certified [flash-synchro]<\/code>, <code>flash-synchro<\/code> will synchronize the conf accross all slots<\/li>\n<li>save running even in certified mode: <code>configuration snapshot all &lt;file&gt;<\/code> Then move this file to working\/boot.cfg<\/li>\n<li>reboot in working mode without rollback: <code>reload working no rollback-timeout<\/code><\/li>\n<li>view running configuration: <code>show configuration snapshot [all|vlan|ip|...]<\/code> or <code>write terminal<\/code><\/li>\n<\/ul>\n<\/div>\n<div class=\"paragraph\">When modifying the configuration, it can be useful to reload the switch in certified mode if a configuration error occur. It is possible to program the switch to reload a few minutes ahead in case you lose control: <code>reload in &lt;n&gt;<\/code> where <code>n<\/code> is the number of minutes to wait before reloading. A reload can be canceled with <code>reload cancel<\/code>. <code>show reload<\/code> will show you when the switch will reboot.<\/div>\n<div class=\"headline\">Configure VLANs<\/div>\n<div class=\"paragraph\">A layer 2 VLAN is created with <code>vlan &lt;vlan_number&gt; enable name \"vlan name\"<\/code> and removed with <code>no vlan &lt;vlan_number&gt;<\/code>. <code>show vlan<\/code> lists all VLANs, <code>show vlan &lt;vlan_number&gt;<\/code> shows vlan &lt;vlan_number&gt; details.<br \/>Depending on the microcode version (<code>show microcode<\/code>), a layer 3 VLAN is created using: <\/p>\n<ul>\n<li><code>ip interface \"interface name\" vlan &lt;vlan_number&gt; address &lt;address&gt; mask &lt;netmask&gt;<\/code><\/li>\n<li><code>vlan router \"interface name\" vlan &lt;vlan_number&gt; address &lt;address&gt; mask &lt;netmask&gt;<\/code><\/li>\n<\/ul>\n<p>and destroyed with: <\/p>\n<ul>\n<li><code>no ip interface \"interface name\"<\/code><\/li>\n<li><code>no vlan router \"interface name\"<\/code><\/li>\n<\/ul>\n<p>Port association: <\/p>\n<ul>\n<li>To associate a port to a specific vlan: <code>vlan &lt;vlan_number&gt; port default &lt;slot&gt;\/&lt;port&gt;<\/code><\/li>\n<li>To list the ports: <code>show vlan port<\/code><\/li>\n<li>To list the ports of a specified vlan: <code>show vlan &lt;vlan_number&gt; port<\/code><\/li>\n<li>To show a port: <code>show vlan port &lt;slot&gt;\/&lt;port&gt;<\/code><\/li>\n<p>802.1Q: <\/li>\n<li>To tag a port: <code>vlan &lt;vlan_number&gt; 802.1Q &lt;slot&gt;\/&lt;port&gt; [&lt;\"comment\"&gt;]<\/code><\/li>\n<li>To remove a tag: <code>vlan &lt;vlan_number&gt; no 802.1Q &lt;slot&gt;\/&lt;port&gt;<\/code><\/li>\n<\/ul>\n<\/div>\n<div class=\"headline\">Interfaces<\/div>\n<div class=\"paragraph\">Global status: <code>Show interfaces status<\/code><br \/>Info about an interface (admin status, MAC, speed, duplex, errors, &#8230;): <code>show interfaces [port|status|&lt;slot&gt;\/&lt;port&gt;|...]<\/code><br \/>Summary of interfaces errors: <code>show interfaces counters errors<\/code> <br \/>To clear counters: <code>interfaces &lt;slot&gt;[\/port1-port2] no l2 statistics<\/code><br \/>To change an interface: <code>interface &lt;slot&gt;\/&lt;port&gt; [speed &lt;10_100_1000&gt;|duplex &lt;half_full&gt;|autoneg &lt;state&gt;|flood rate &lt;rate&gt;]<\/code><br \/>To switch from autonegociation to 100FD, set<\/p>\n<ul>\n<li>autoneg off<\/li>\n<li>speed 100 and duplex full<\/li>\n<\/ul>\n<p>If forced in 100FD while autoneg is on, the port will stay down<br \/>To disable an interface: <code>interface &lt;slot&gt;\/&lt;port&gt; admin down<\/code><\/div>\n<div class=\"headline\">Link Aggregation<\/div>\n<div class=\"headline\">Dynamic LAG (LACP)<\/div>\n<div class=\"paragraph\"><code>lacp linkagg &lt;id&gt; size &lt;size&gt; admin state enable<\/code> <br \/><code>lacp linkagg &lt;id&gt; actor admin key &lt;key&gt;<\/code> <br \/><code>lacp agg &lt;slot\/port&gt; actor admin key &lt;key&gt;<\/code><\/div>\n<div class=\"headline\">Static LAG<\/div>\n<div class=\"paragraph\"><code>static linkagg &lt;id&gt; size &lt;size&gt; admin state enable<\/code> <br \/><code>static linkagg &lt;id&gt; name &lt;name&gt;<\/code> <br \/><code>static agg &lt;slot\/port&gt; agg num &lt;id&gt;<\/code><\/div>\n<div class=\"headline\">Hardware<\/div>\n<div class=\"paragraph\">When stacking is operational, one switch is primary, one other secondary, the others idle. If the primary disappears, the secondary becomes primary and the first idle becomes secondary.<br \/>Get info about the chassis: <code>show chassis<\/code> and about the stack: <code>show stack topology<\/code>. <\/div>\n<div class=\"paragraph\">To monitor the health of the system: <code>show health all (cpu|memory)<\/code><\/div>\n<div class=\"paragraph\">Show CMM (Control Management Module \u2013 Alcatel ) information: <code>show cmm<\/code><\/div>\n<div class=\"headline\">System<\/div>\n<div class=\"paragraph\">Uptime, date, name, contact, location: <code>show system<\/code><br \/>To change: <\/p>\n<ul>\n<li><code>system name &lt;\"name\"&gt;<\/code><\/li>\n<li><code>system contact &lt;\"contact\"&gt;<\/code><\/li>\n<li><code>system location &lt;\"location\"&gt;<\/code><\/li>\n<\/ul>\n<\/div>\n<div class=\"paragraph\">The default prompt is &#8220;-&gt;&#8221;. <code>session prompt default \"sw1-&gt;\"<\/code> changes it to &#8220;sw1-&gt;&#8221;. You can get the other session parameters with <code>show session config<\/code><\/div>\n<div class=\"paragraph\">When a command outputs to many lines on the screen, it is possible to use &#8220;<code>more<\/code>&#8221; to see page by page. Use <code>more<\/code> to activate the mode and <code>more size &lt;size&gt;<\/code> to set the number of lines shown. Cancel this mode with <code>no more<\/code>.<\/div>\n<div class=\"paragraph\">To change the timeout of the telnet\/ssh sessions: <code>session timeout cli &lt;timeout&gt;<\/code><\/div>\n<div class=\"headline\">NTP<\/div>\n<div class=\"paragraph\">Set a server: <code>ntp server &lt;server_ip&gt;<\/code>. Even if the DNS is configured, you cannot specify a name for the NTP server. Then activate NTP: <code>ntp client enable<\/code>.<br \/>Get NTP info: <\/p>\n<ul>\n<li><code>show ntp client<\/code>: tells if NTP is on or off, when was the last updated, &#8230;<\/li>\n<li><code>show ntp server-list<\/code>: get the list of servers and with which server the swich is synchronized<\/li>\n<\/ul>\n<\/div>\n<div class=\"headline\">Logs<\/div>\n<div class=\"paragraph\">Show logging conf: <code>show swlog<\/code><br \/>Get switch logs: <\/p>\n<ul>\n<li><code>show log swlog<\/code>: get all logs<\/li>\n<li><code>show log swlog timestamp &lt;mounth\/day\/year&gt; &lt;hour:minute&gt;<\/code>: only logs since the specified hour<\/li>\n<li>empty logs: <code>swlog clear<\/code><\/li>\n<\/ul>\n<p>Enable syslog with: <code>swlog output socket &lt;syslog_server_ip&gt;<\/code><\/div>\n<div class=\"headline\">STP<\/div>\n<div class=\"paragraph\">STP can operates in two modes: flat and 1&#215;1. In flat mode, there is only one instance for the whole switch whereas in 1&#215;1 mode, there is one instance per VLAN (like pvst on Cisco switches or vstp on Juniper ones). I recommend the 1&#215;1 mode if you do not want to go the MSTP way. Change STP mode: <code>bridge mode (flat|1x1)<\/code><\/div>\n<div class=\"paragraph\">Get STP conf: <code>show spantree<\/code><\/div>\n<div class=\"paragraph\">It is possible to deactivate STP on specified vlans\/ports : <code>vlan &lt;vlan_number&gt; stp (enable|disable)<\/code> and <code>bridge &lt;vlan_number&gt; &lt;slot&gt;\/&lt;port&gt; (enable|disable)<\/code><\/div>\n<div class=\"paragraph\">Change STP algorithm: <code>bridge protocol (802.1D|STP|RTSP)<\/code>. (In 2007), I did not manage to set rstp for all vlan as a global config, I had to set it vlan per vlan using: <code>bridge 1x1 &lt;vlan_number&gt; protocol (802.1D|STP|RTSP)<\/code>.<\/div>\n<div class=\"headline\">DNS<\/div>\n<div class=\"paragraph\">\n<ul>\n<li>Name servers: <code>ip name-server &lt;IP1&gt; &lt;IP2&gt;<\/code><\/li>\n<li>Domain name: <code>ip domain-name &lt;domain-name&gt;<\/code><\/li>\n<li>Activate DNS client: <code>ip domain-lookup<\/code><\/li>\n<\/ul>\n<\/div>\n<div class=\"headline\">DHCP relay<\/div>\n<div class=\"paragraph\">\n<ul>\n<li><code>ip service udp-relay<\/code><\/li>\n<li>DHCP relay only for specified vlans: <code>ip helper per-vlan only<\/code><\/li>\n<li>DHCP server address: <code>ip helper address &lt;dhcp_server&gt; vlan &lt;vlan_number&gt;<\/code><\/li>\n<li>Enable DHCP relay: <code>ip udp relay BOOTP<\/code><\/li>\n<\/ul>\n<\/div>\n<div class=\"headline\">Services<\/div>\n<div class=\"paragraph\">Activate\/deactivate services: <code>[no] ip service (ftp|ssh|telnet|http|secure-http|udp-relay|snmp|all)<\/code>. List of activated services: <code>show ip service<\/code>.<br \/>For https: <code>ip http ssl<\/code><\/div>\n<div class=\"headline\">AAA<\/div>\n<div class=\"paragraph\">Authentification can be local or made with a radius<br \/>To activate a service, the authentification have to be set: <code>aaa authentification default \"local\"<\/code>, <code>aaa authentification (console|ssh|ftp|802.1X|vlan|...) \"local\"<\/code><\/div>\n<div class=\"headline\">ARP<\/div>\n<div class=\"paragraph\">ARP table: <code>show arp<\/code><br \/>Mac Address table: <code>show mac-address-table<\/code><br \/>Add a static MAC\/IP entry: <code>arp &lt;IP&gt; &lt;MAC&gt;<\/code>, <code>no arp &lt;IP&gt;<\/code> to remove it.<br \/>Clear dynamic arp entries: <code>clear arp-table<\/code><br \/>To specify when an dynamic entry timeouts (default: 300seconds): <code>mac-address-table aging-time &lt;seconds&gt; [vlan &lt;vlan_number&gt;]<\/code><\/div>\n<div class=\"headline\">SNMP<\/div>\n<div class=\"paragraph\">First, you have to create a user and give it the right to do SNMP: <\/p>\n<ul>\n<li><code>user &lt;\"username\"&gt; read-only (all|ip|interface|...) password &lt;password&gt;<\/code><\/li>\n<li>The only way I found to give the user SNMP capabilities is to use the web interface &#8230;, but you can desactivate it with <code>user &lt;\"username\"&gt; no snmp<\/code><\/li>\n<\/ul>\n<\/div>\n<div class=\"paragraph\">Then configure the snmp server: <\/p>\n<ul>\n<li><code>snmp security no security<\/code><\/li>\n<li>Associate the community string with the user you created: <code>snmp community map &lt;\"community\"&gt; user &lt;\"username\"&gt; on<\/code><\/li>\n<\/ul>\n<ul>\n<li>To configure the SNMP trap server: <code>snmp station &lt;server_ip&gt; [&lt;port&gt;] &lt;\"user\"&gt; (v1|v2c|v3) enable<\/code><\/li>\n<li><code>snmp authentification trap (enable|disable)<\/code><\/li>\n<\/ul>\n<ul>\n<li>To filter the traps sent by the switch: <code>snmp trap filter &lt;server_ip&gt; &lt;filter_code&gt;<\/code><\/li>\n<\/ul>\n<\/div>\n<div class=\"headline\">Port mirroring<\/div>\n<div class=\"paragraph\">Port mirroring works 12 ports by 12 ports. It is possible to configure multiple sources for one session and thus see the traffic of multiple ports in one output. <\/p>\n<ul>\n<li><code>show port mirroring status<\/code><\/li>\n<li><code>port mirroring &lt;session&gt; source &lt;slot&gt;\/&lt;port&gt; destination &lt;slot&gt;\/&lt;port&gt; enable<\/code><\/li>\n<li><code>no port mirroring &lt;session&gt;<\/code><\/li>\n<\/ul>\n<\/div>\n<div class=\"headline\">POE<\/div>\n<div class=\"paragraph\">By default, the POE is disabled on all ports.<br \/>To enable the POE on a given port: <code>lanpower start &lt;slot&gt;\/&lt;port&gt;<\/code><br \/>To enable it on the whole slot: <code>lanpower start &lt;slot&gt;<\/code><\/div>\n<div class=\"paragraph\">To stop the POE, use the symmetric commande <code>lanpower stop (&lt;slot&gt;\/&lt;port&gt;|&lt;slot&gt;)<\/code><\/div>\n<div class=\"paragraph\">Show the POE configuration: <code>show lanpower &lt;slot&gt;<\/code><\/div>\n<div class=\"paragraph\">To limit the power available for a given port: <code>lanpower &lt;slot&gt;\/&lt;port&gt; power &lt;milliwatts&gt;<\/code><br \/>To limit the power available for a slot: <code>lanpower &lt;slot&gt; maxpower &lt;watts&gt;<\/code><\/div>\n<div class=\"paragraph\">A power of 230W is enough for a full slot equipped with IP Phones (note: TBC).<br \/>It has been noticed that a switch may prove instable with POE if too many equipments are connected and its PSU is not enough powerfull.<\/div>\n<div class=\"headline\">QOS &#038; ACL<\/div>\n<div class=\"paragraph\">In AOS, ACL and QoS are configured in the same &#8220;qos&#8221; section.<br \/>Apply QoS when modified:<code>qos apply<\/code><br \/>Disable QoS (useful for troubleshooting):<code>qos disable<\/code><\/div>\n<div class=\"paragraph\">By default, QOS is not trusted in access ports and all tags are set to 0. It is trusted on trunked ports. To trust everywhere:<code>qos trust ports<\/code><br \/>To trust on one given port:<code>qos port &lt;slot&gt;\/&lt;port&gt; trusted<\/code><\/div>\n<div class=\"paragraph\">The rules are a combinaison of the following elements:<\/p>\n<ul>\n<li>policy network : define subnets<\/li>\n<li>policy condition : define conditions (from subnet1 to subnet2, &#8230;)<\/li>\n<li>policy action : define actions (permit, deny, &#8230;)<\/li>\n<li>policy rule : apply action to condition (if X then Y)<\/li>\n<\/ul>\n<p>The syntax for the different blocks is the following:<br \/><code>policy network group &lt;gp_name&gt; &lt;subnet1&gt; mask &lt;mask1&gt; &lt;subnet2&gt; mask &lt;mask2&gt; ...<\/code><br \/><code>policy condition &lt;c_name&gt; source network group &lt;gp_name1&gt; destination group &lt;gp_name2&gt;<\/code><br \/><code>policy action &lt;a_name&gt; disposition &lt;action&gt;<\/code><br \/><code>policy rule &lt;r_name&gt; [disable] precedence &lt;p&gt; condition &lt;c_name&gt; action &lt;a_name&gt;<\/code>, where precedence is the order rules can be applied<\/div>\n<div class=\"paragraph\">\n<div class=\"shell-wrap\">\n<p class=\"shell-top-bar\">TERMINAL As an example:<\/p>\n<ul class=\"shell-body\">\n<li>policy network group VoIP 192.168.1.0 mask 255.255.255.0 192.168.11.0 mask 255.255.254.0 <\/li>\n<li>policy network group Data 172.16.0.0 mask 255.255.255.0                                  <\/li>\n<li>                                                                                         <\/li>\n<li>policy condition &#8220;VoIP-VoIP&#8221; source network group VoIP destination network group VoIP    <\/li>\n<li>policy condition &#8220;VoIP-Data&#8221;  source network group VoIP destination network group Data   <\/li>\n<li>policy condition &#8220;Data-Data&#8221; source network group Data destination network group Data    <\/li>\n<li>policy condition &#8220;Other&#8221; source ip any destination ip any                                <\/li>\n<li>                                                                                         <\/li>\n<li>policy action Deny disposition deny                                                      <\/li>\n<li>policy action Permit                                                                     <\/li>\n<li>                                                                                         <\/li>\n<li>policy rule &#8220;Allow VoIP-VoIP&#8221; precedence 200 condition &#8220;VoIP-VoIP&#8221; action Permit         <\/li>\n<li>policy rule &#8220;Allow VoIP-Data&#8221; disable precedence 200 condition &#8220;VoIP-Data&#8221; action Permit <\/li>\n<li>policy rule &#8220;Allow Data-Data&#8221; precedence 200 condition &#8220;Data-Data&#8221; action Permit         <\/li>\n<li>policy rule &#8220;Deny Other&#8221; precedence 200 condition &#8220;Other&#8221; action Deny                    <\/li>\n<li>                                                                                         <\/li>\n<li>qos port 1\/2 trusted                                                                     <\/li>\n<li>qos port 1\/3 trusted                                                                     <\/li>\n<li>qos apply                                                                                <\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"headline\">802.1X<\/div>\n<div class=\"paragraph\">\n<pre>aaa radius-server \"radius_srv1\" host &lt;IP Addr&gt; key &lt;auth_key&gt; retransmit 3 timeout 2 auth-port 1812 acct-port 1813aaa radius-server \"radius_srv2\" host &lt;IP Addr&gt; key &lt;auth_key&gt; retransmit 3 timeout 2 auth-port 1812 acct-port 1813# Use the radius for vlan assignementaaa authentication vlan single-mode \"radius_srv1\" \"radius_srv2\"# use the internal database for authent to the local servicesaaa authentication default \"local\"aaa authentication console \"local\"aaa authentication ftp \"local\"aaa authentication snmp \"local\"# 801.1X authentication serversaaa authentication 802.1x radius_srv1 radius_srv2# MAC base authentication servers (used for devices that can't do 802.1X like IP-Phones)aaa authentication mac radius_srv1 radius_srv2AVLAN:# Authentication portal in the switch. By default, last IP of the subnet.avlan auth-ip &lt;vlan-ID&gt; &lt;IP address, in same VLAN, different of switch IP address&gt;VLAN definitionvlan 5 enable name \"VoIP\"vlan 10 enable name \"Data\"vlan 10 authentication enableconfiguration of interface 1\/3vlan 10 port default 1\/3# enable dynamic vlan assignemtvlan port mobile 1\/3# enable 802.1X vlan port 1\/3 802.1x enable# 802.1X# - direction both =&gt; control on inbound + outbound traffic# - port-control auto =&gt; port initially in unauthorized state, and put in \"authorized mode\" automatically by the switch upon the exchanged between the switch and the end station# - quiet-period 60 =&gt; reject the 802.1X authentications during 60s after an authentication failure# - server-timeout 30 =&gt; superseded by the aaa radius-server ... timeout# - re-authperiod 3600 =&gt; 3600s=1h before re-authent is required# - no reauthentication =&gt; disables the reauthent802.1x 1\/3 direction both port-control auto quiet-period 60 tx-period 30 supp-timeout 30 server-timeout 30 max-req 2 re-authperiod 3600 no reauthentication# length of a captive portal session802.1x 1\/3 captive-portal session-limit 12 retry-count 3# poll the end device 2 times before stating it is not 802.1X compliant802.1x 1\/3 supp-polling retry 2# if authentication is successful but returns no VLAN ID (\"pass\"), use default vlan for the supplicant else (\"fail\"), block the port802.1x 1\/3 supplicant policy authentication pass group-mobility default-vlan fail block#idem for non supplicant (not 802.1X) devices - authentication by MAC address with a Radius802.1x 1\/3 non-supplicant policy authentication pass group-mobility block fail block# used by supplicant and non supplicant when \"captive-portal\" is used in the \"802.1x supplicant policy\" or \"802.1x non-supplicant policy\"802.1x 1\/3 captive-portal policy authentication pass default-vlan fail block<\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Terug naar home Basic commands on Alcatel Omniswitch Introduction This page is based on the notes I took when managing Alcatel Omniswitchs 6600, 6800 in 2007 and later 6850. The full documentation can be found on Alcatel-Lucent website. Managing the configuration files Alcatel Omniswitchs can operate in two modes: working and certified (show running-directory to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"blank","meta":{"footnotes":""},"class_list":["post-89","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/mrnetwork.nl\/index.php\/wp-json\/wp\/v2\/pages\/89","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mrnetwork.nl\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mrnetwork.nl\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mrnetwork.nl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mrnetwork.nl\/index.php\/wp-json\/wp\/v2\/comments?post=89"}],"version-history":[{"count":5,"href":"https:\/\/mrnetwork.nl\/index.php\/wp-json\/wp\/v2\/pages\/89\/revisions"}],"predecessor-version":[{"id":191,"href":"https:\/\/mrnetwork.nl\/index.php\/wp-json\/wp\/v2\/pages\/89\/revisions\/191"}],"wp:attachment":[{"href":"https:\/\/mrnetwork.nl\/index.php\/wp-json\/wp\/v2\/media?parent=89"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}