cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
davidbusey
Contributor III
Contributor III

How to set up Management on an SDX OLT

This page contains information on how to configure different types of management on an SDX OLT.  The table below shows the management options for the various SDX OLT models.

Device Inband Mgmt Out-of-Band Mgmt Console
SDX-6010
SDX-6310
SDX-6312  
SDX-6320

 

Out-of-Band Management

The out-of-band management ethernet port can be configured for either DHCP or static addressing.  Connect to the console port of the device using speed 115200 with data/parity/stop bits settings of 8N1.  Login with admin / password.

DHCP

Here are the basic steps to configure the out-of-band management ethernet port for DHCP.

  1. From the SDX OLT linux prompt, launch the YASH CLI.
  2. Enter configure-terminal then edit to enter edit mode.
  3. Enter the commands to configure DHCP on the out-of-band management interface.
  4. Commit the changes from the candidate config to the running config by entering the commit command.
  5. Exit from edit mode by entering the exit command.
  6. Enter the rpc command to save the running config to the startup config so that the changes will persist across a reboot.
  7. Reboot the device to implement the changes.

Here are commands to perform the above steps.

 

cli
configure-terminal
edit
set interfaces interface "management 0/1" dhcp dhcpv4-enabled true
set interfaces interface "management 0/1" enabled true
set interfaces interface "management 0/1" type ianaift:ethernetCsmacd
commit
exit
rpc ietf-netconf copy-config input source running target startup
reboot

 

Here is what the above steps look like on the CLI.

 

[admin@SDX6320 ~]$ cli
yash 2.2.0-1
admin@SDX6320> configure-terminal
admin@SDX6320# edit
[edit]
admin@SDX6320# set interfaces interface "management 0/1" dhcp dhcpv4-enabled true
[edit]
admin@SDX6320# set interfaces interface "management 0/1" enabled true
[edit]
admin@SDX6320# set interfaces interface "management 0/1" type ianaift:ethernetCsmacd
[edit]
admin@SDX6320# commit
[edit]
admin@SDX6320# exit
admin@SDX6320# rpc ietf-netconf copy-config input source running target startup
admin@SDX6320# reboot

 

When the SDX OLT boots back up, login to the console connection with admin / password.  Enter ifconfig eth0 and route -n at the linux prompt to see the address and default gateway received via DHCP. 

NOTE: From the linux shell, the out-of-band management ethernet port is referenced as "eth0", however, from the YASH CLI the port is referenced as "management 0/1".

 

[admin@SDX6320 ~]$ ifconfig eth0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 
       inet 10.27.225.170 netmask 255.255.255.0 broadcast 0.0.0.0
       inet6 2620:106:a00f:1be1:224:45ff:fe30:6c37 prefixlen 64 scopeid 0x0<global>
       inet6 fe80::224:45ff:fe30:6c37 prefixlen 64 scopeid 0x20<link>
       ether 00:24:45:30:6c:37 txqueuelen 1000 (Ethernet)
       RX packets 39708 bytes 2457256 (2.3 MiB)
       RX errors 0 dropped 0 overruns 0 frame 0
       TX packets 2004 bytes 247440 (241.6 KiB)
       TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 
[admin@SDX6320 ~]$ route -n 
Kernel IP routing table 
Destination    Gateway      Genmask        Flags   Metric  Ref  Use  Iface
0.0.0.0        10.27.225.1  0.0.0.0        UG      0       0    0    eth0 
10.27.225.0    0.0.0.0      255.255.255.0  U       0       0    0    eth0
127.0.0.0      0.0.0.0      255.0.0.0      U       0       0    0    lo 
[admin@SDX6320 ~]$

 

Static Address

Here are the basic steps to configure the out-of-band management ethernet port for static IP addressing.

  1. From the SDX OLT Linux prompt, launch the YASH CLI.
  2. Enter configure-terminal then edit to enter edit mode.
  3. Enter the commands to configure a static IP address, mask, default gateway, and DNS server on the out-of-band management interface.
  4. Commit the changes from the candidate config to the running config by entering the commit command.
  5. Exit from edit mode by entering the exit command.
  6. Enter the rpc command to save the running config to the startup config so that the changes will persist across a reboot.
  7. Reboot the device to implement the changes.

Here are commands to perform the above steps.

 

cli
configure-terminal 
edit set interfaces interface "management 0/1" dhcp dhcpv4-enabled false 
set interfaces interface "management 0/1" enabled true 
set interfaces interface "management 0/1" type ianaift:ethernetCsmacd 
set interfaces interface "management 0/1" ipv4 address 10.27.225.170 gateway 10.27.225.1 
set interfaces interface "management 0/1" ipv4 address 10.27.225.170 netmask 255.255.255.0 
set system dns-resolver server ADTRAN-TEST udp-and-tcp address 10.255.1.50 
commit 
exit 
rpc ietf-netconf copy-config input source running target startup 
reboot

 

Here is what the above steps look like on the CLI.

 

[admin@SDX6320 ~]$ cli 
yash 2.2.0-1
admin@SDX6320> configure-terminal 
admin@SDX6320# edit 
[edit] 
admin@SDX6320# set interfaces interface "management 0/1" dhcp dhcpv4-enabled false 
[edit] 
admin@SDX6320# set interfaces interface "management 0/1" enabled true 
[edit] 
admin@SDX6320# set interfaces interface "management 0/1" type ianaift:ethernetCsmacd 
[edit] 
admin@SDX6320# set interfaces interface "management 0/1" ipv4 address 10.27.225.170 gateway 10.27.225.1 
[edit] 
admin@SDX6320# set interfaces interface "management 0/1" ipv4 address 10.27.225.170 netmask 255.255.255.0 
[edit] 
admin@SDX6320# set system dns-resolver server ADTRAN-TEST udp-and-tcp address 10.255.1.50 
[edit] 
admin@SDX6320# commit 
[edit] 
admin@SDX6320# exit 
admin@SDX6320# rpc ietf-netconf copy-config input source running target startup 
admin@SDX6320# reboot

 

When the SDX OLT boots back up, login to the console connection with admin / password.  Enter ifconfig eth0 and route -n at the linux prompt to see the configured address, mask, and default gateway on the interface. 

 

[admin@SDX6320 ~]$ ifconfig eth0 
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 
       inet 10.27.225.170 netmask 255.255.255.0 broadcast 0.0.0.0 
       inet6 2620:106:a00f:1be1:224:45ff:fe30:6c37 prefixlen 64 scopeid 0x0<global> 
       inet6 fe80::224:45ff:fe30:6c37 prefixlen 64 scopeid 0x20<link> 
       ether 00:24:45:30:6c:37 txqueuelen 1000 (Ethernet) 
       RX packets 39708 bytes 2457256 (2.3 MiB) 
       RX errors 0 dropped 0 overruns 0 frame 0 
       TX packets 2004 bytes 247440 (241.6 KiB) 
       TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 
[admin@SDX6320 ~]$ route -n 
Kernel IP routing table 
Destination    Gateway      Genmask        Flags   Metric   Ref   Use   Iface 
0.0.0.0        10.27.225.1  0.0.0.0        UG      0        0     0     eth0 
10.27.225.0    0.0.0.0      255.255.255.0  U       0        0     0     eth0 
127.0.0.0      0.0.0.0      255.0.0.0      U       0        0     0     lo 
[admin@SDX6320 ~]$

 

Inband Management

The inband management ethernet port may be configured for either DHCP or static addressing.  Connect to the console port of the device using speed 115200 with data/parity/stop bits settings of 8N1.  Login with admin / password.

Here are the defaults for inband management for each product.

Product

Inband Mgmt Configured by default?

Supports Override Script

Default LAG?

LAG Interface Members

Inband Management MEN Port

Inband Management VLAN

DHCP Enabled?

DHCP Option 60 (Vendor Identifier)

DHCP Option 61 (Client Identifier)

6010

Yes (as of ML-2533)

Yes (as of ML-2533)

No

N/A

forty-gigabit-ethernet 0/1

4090

Yes

ADTRAN.SDX.6010 Inband Management MAC Address

6310

No

No

No

N/A

hundred-gigabit-ethernet 0/1

4090

Yes

ADTRAN.SDX.6310 Inband Management MAC Address

6312

Yes

Yes (as of ML-787)

Yes

ten-gigabit-ethernet 0/1-4

lag 0/1

4090 (as of ML-787, previously 2048)

Yes

ADTRAN.SDX.6312 Inband Management MAC Address

6320

No (Yes in Future)

No (Yes in Future)

Yes

hundred-gigabit-ethernet 0/1-4

lag 0/1

4090

Yes

ADTRAN.SDX.6320 Inband Management MAC Address

DHCP

Here are the basic steps to configure the inband management ethernet port for DHCP.

  1. From the SDX OLT linux prompt, launch the YASH CLI.
  2. Enter configure-terminal then edit to get into edit mode.
  3. Enter the commands to configure DHCP on the inband management interface, along with the VLAN tag, VLAN priority, and port being used.  Note that the port used may either be a LAG interface or a specific port such as "ten-gigabit-ethernet 0/1".
  4. Commit the changes from the candidate config to the running config by entering the commit command.
  5. Exit from edit mode by entering the exit command.
  6. Enter the rpc command to save the running config to the startup config so that the changes will persist across a reboot.
  7. Reboot the device to implement the changes.

Here are example commands that perform the above steps.  In this example, the LAG interface is used with tagged VLAN 224 for inband management and it is an SDX OLT that defaults to having all of the NNI uplink ports as members.

 

cli 
configure-terminal 
edit 
set evcs evc inband-mgmt management ip-address ipv4 enabled true 
set evcs evc inband-mgmt management ip-address dhcp enabled true 
set evcs evc inband-mgmt management priority 7 
set evcs evc inband-mgmt management vlan-id 224 
set evcs evc inband-mgmt use-management-vlan 
set evcs evc inband-mgmt men-ports "lag 0/1" 
commit 
exit 
rpc ietf-netconf copy-config input source running target startup 
reboot

 

Here is what the above steps look like on the CLI.

 

[admin@SDX6312 ~]$ cli 
yash 2.2.0-1 
admin@SDX6312> configure-terminal 
admin@SDX6312# edit 
[edit] 
admin@SDX6312# set evcs evc inband-mgmt management ip-address ipv4 enabled true 
[edit] 
admin@SDX6312# set evcs evc inband-mgmt management ip-address dhcp 
[edit] 
admin@SDX6312# set evcs evc inband-mgmt management priority 7 
[edit] 
admin@SDX6312# set evcs evc inband-mgmt management vlan-id 224 
[edit] 
admin@SDX6312# set evcs evc inband-mgmt enabled true 
[edit] 
admin@SDX6312# set evcs evc inband-mgmt use-management-vlan 
[edit] 
admin@SDX6312# set evcs evc inband-mgmt men-ports "lag 0/1" 
[edit] 
admin@SDX6312# commit 
[edit] 
admin@SDX6312# exit 
admin@SDX6312# rpc ietf-netconf copy-config input source running target startup 
admin@SDX6312# reboot

 

When the SDX OLT boots back up, login to the console connection with admin / password.  Enter ifconfig tap0mgmt and route -n at the linux prompt to see the address and default gateway received via DHCP. 

NOTE: From the linux shell, the inband management ethernet port is referenced as "tap0mgmt", however, from the YASH CLI it is referenced with the name of the EVC used for management.

 

[admin@SDX6312 ~]$ ifconfig tap0mgmt 
tap0mgmt: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 
inet 10.27.224.170 netmask 255.255.255.0 broadcast 10.27.224.255 
inet6 2620:106:a00f:1be0::aa prefixlen 128 scopeid 0x0<global> 
inet6 2620:106:a00f:1be0:224:45ff:fe30:794 prefixlen 64 scopeid 0x0<global> 
inet6 fe80::224:45ff:fe30:794 prefixlen 64 scopeid 0x20<link> 
ether 00:24:45:30:07:94 txqueuelen 1000 (Ethernet) 
RX packets 412698 bytes 43405753 (41.3 MiB) 
RX errors 0 dropped 0 overruns 0 frame 0 
TX packets 307575 bytes 66496655 (63.4 MiB) 
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 
[admin@SDX6312 ~]$ route -n 
Kernel IP routing table
Destination   Gateway      Genmask        Flags   Metric  Ref  Use  Iface 
0.0.0.0       10.27.224.1  0.0.0.0        UG      0       0    0    tap0mgmt 
10.27.224.0   0.0.0.0      255.255.255.0  U       0       0    0    tap0mgmt 
127.0.0.0     0.0.0.0      255.0.0.0      U       0       0    0    lo

 

Static Address

Here are the basic steps to configure the inband management ethernet port for static addressing.

  1. From the SDX OLT linux prompt, launch the YASH CLI.
  2. Enter configure-terminal then edit to get into edit mode.
  3. Enter the commands to configure a static IP address, mask, and default gateway on the EVC config for inband management, along with the VLAN tag, VLAN priority, and port being used.  Note that the port used may either be a LAG interface or a specific port such as "ten-gigabit-ethernet 0/1".
  4. Commit the changes from the candidate config to the running config by entering the commit command.
  5. Exit from edit mode by entering the exit command.
  6. Enter the rpc command to save the running config to the startup config so that the changes will persist across a reboot.
  7. Reboot the device to implement the changes.

Here are example commands that perform the above steps.  In this example, a specific interface, instead of the LAG interface, is used with tagged VLAN 224 for inband management. 

 

cli 
configure-terminal 
edit 
delete interfaces interface "lag 0/1" 
set evcs evc inband-mgmt management ip-address ipv4 enabled true 
set evcs evc inband-mgmt management ip-address dhcp enabled false 
set evcs evc inband-mgmt management ip-address ipv4 default-gateway 10.27.224.1 
set evcs evc inband-mgmt management ip-address ipv4 ip-address 10.27.224.170 
set evcs evc inband-mgmt management ip-address ipv4 netmask 255.255.255.0 
set evcs evc inband-mgmt management priority 7 set evcs evc inband-mgmt management vlan-id 224 
set evcs evc inband-mgmt enabled true 
set evcs evc inband-mgmt use-management-vlan 
set evcs evc inband-mgmt men-ports "ten-gigabit-ethernet 0/1" 
commit 
exit 
rpc ietf-netconf copy-config input source running target startup 
reboot

 

When the SDX OLT boots back up, login to the console connection with admin / password.  Enter ifconfig tap0mgmt and route -n at the linux prompt to see the configured address, mask, and default gateway on the interface.

NOTE: From the linux shell, the inband management ethernet port is referenced as "tap0mgmt", however, from the YASH CLI it is referenced with the name of the EVC used for management.

 

[admin@SDX6312 ~]$ ifconfig tap0mgmt 
tap0mgmt: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 
inet 10.27.224.170 netmask 255.255.255.0 broadcast 10.27.224.255 
inet6 2620:106:a00f:1be0::aa prefixlen 128 scopeid 0x0<global> 
inet6 2620:106:a00f:1be0:224:45ff:fe30:794 prefixlen 64 scopeid 0x0<global> 
inet6 fe80::224:45ff:fe30:794 prefixlen 64 scopeid 0x20<link> 
ether 00:24:45:30:07:94 txqueuelen 1000 (Ethernet) 
RX packets 412698 bytes 43405753 (41.3 MiB) 
RX errors 0 dropped 0 overruns 0 frame 0 
TX packets 307575 bytes 66496655 (63.4 MiB) 
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 
[admin@SDX6312 ~]$ route -n 
Kernel IP routing table 
Destination   Gateway      Genmask       Flags  Metric  Ref  Use   Iface 
0.0.0.0       10.27.224.1  0.0.0.0       UG     0       0    0     tap0mgmt 
10.27.224.0   0.0.0.0      255.255.255.0 U      0       0    0     tap0mgmt 
127.0.0.0     0.0.0.0      255.0.0.0     U      0       0    0     lo

 

Caveat:

If both the inband and out-of-management interfaces are configured such that there are 2 default gateways, there will be some routing issues where the ingress path differs from the egress.  If it is desired that both be configured, be sure to set only 1 default gateway.

0 Kudos