Nokia SR OS Management Port Configuration with Default Route
Dec 12, 2024
I am running through some configuration testing of Nokia equipment and need to store some notes on basic configuration. Will update this with more text later.
On a 7750 SR-1x-48D running SR-OS 24.10.R1 using model driven CLI issue the following commands to configure a static address on the management ethernet port:
bof exclusive
router "management"
interface "management"
cpm active
ipv4 <Address> prefix-length <#>
exit
exit
exit
static routes
route 0.0.0.0/0 next-hop <Gateway>
You can then view the configured IP address with:
A:admin@<hostname># show router interface A/1
===============================================================================
Interface Table (Router: Base)
===============================================================================
Interface-Name Adm Opr(v4/v6) Mode Port/SapId
IP-Address PfxState
-------------------------------------------------------------------------------
A/1 Up Down/Down Network n/a
<Address>/<Mask> n/a
-------------------------------------------------------------------------------
Interfaces : 1
===============================================================================
[/]
If you want to test connectivity, make sure you do it from the “management” instance:
A:admin@<hostname># ping 1.1.1.1 router-instance management
PING 1.1.1.1 56 data bytes
64 bytes from 1.1.1.1: icmp_seq=1 ttl=56 time=3.07ms.
64 bytes from 1.1.1.1: icmp_seq=2 ttl=56 time=3.11ms.
^C
ping aborted by user
---- 1.1.1.1 PING Statistics ----
2 packets transmitted, 2 packets received, 0.00% packet loss
round-trip min = 3.07ms, avg = 3.09ms, max = 3.11ms, stddev = 0.000ms
[/]
A:admin@<hostname>#