Page 1 of 1

Show bof command

Posted: 31 May 2016 07:24
by Eagleman
Hi All,
Can anyone kindly help to interpret this bof command?. Of course the IP ADD used are just made up.

I will be very grateful for a clearer explanation of the commands, e.g address 1.1.1.1/25 active is this referring to the system IP?
Secondly if I have to upgrade this node, what needs to change, to what and how?.

MySR#show bof
===============================================================================
BOF (Memory)
===============================================================================
primary-image cf3:\TiMOS-11.0.R5\ ..................................?
address 1.1.1.1/25 active .........................................?
static-route 2.2.0.0/16 next-hop 12.12.12.12 ......................?
static-route 2.2.0.0/16 next-hop 12.12.12.12 ......................?
autonegotiate
duplex full
speed 100
wait 3
persist on
no li-local-save
no li-separate
console-speed 115200
===============================================================================
MySR#

Thanks for your great help in advance
Eagleman!!

Re: Show bof command

Posted: 31 May 2016 07:47
by mivens
It's the IP address used to manage the node out-of-band. It's in the router "management" rather than the base router.
If CPM A is active the IP address in the bof lives on port A/1.
The system address is generally in the base router context (in-band rather than out-of-band).

The output of the commands
show router "management" interface
and
show router interface
may help you.

If you want to upgrade the node, the primary-image needs to point to the directory where the upgraded software files are located.

Re: Show bof command

Posted: 31 May 2016 16:25
by Eagleman
Hi, Thanks so much for your great response!!
May equally ask further what those static route represents in the bof?
Thanks,
Eagleman

Re: Show bof command

Posted: 01 Jun 2016 03:47
by Stoffen
Eagleman wrote:Hi, Thanks so much for your great response!!
May equally ask further what those static route represents in the bof?
Thanks,
Eagleman
Hi.
The static routes are used in the "router management", and are in that case resources needed for out-of-band-management.
It is not allowed to add a default route under router management or in BOF, so more spesific routes are needed.
But I cant see why you have duplicate route entries for the 2.2.0.0/16 next-hop 12.12.12.12.

You can also check with the "show router management route-table" command.

I have in my lab

Code: Select all

A:SR06# show router "management" route-table 

===============================================================================
Route Table (Router: management)
===============================================================================
Dest Prefix[Flags]                            Type    Proto     Age        Pref
      Next Hop[Interface Name]                                    Metric   
-------------------------------------------------------------------------------
10.0.0.0/8                                    Remote  Static    19h06m28s  5
       10.15.0.1                                                    1
10.15.0.0/24                                  Local   Local     19h06m28s  0
       management                                                   0
172.20.0.0/24                                 Remote  Static    19h06m27s  5
       10.15.0.1                                                    1
-------------------------------------------------------------------------------
No. of Routes: 3
Flags: n = Number of times nexthop is repeated
       B = BGP backup route available
       L = LFA nexthop available
       S = Sticky ECMP requested
===============================================================================

A:SR06# show bof 
===============================================================================
BOF (Memory)
===============================================================================
    primary-image    cf3:\timos\
    primary-config   cf1:\basic-setup.cfg
    address          10.15.0.16/24 active
    static-route     10.0.0.0/8 next-hop 10.15.0.1
    autonegotiate
    duplex           full
    speed            100
    wait             3
    persist          off
    no li-local-save
    no li-separate
    no fips-140-2
    console-speed    115200
===============================================================================


A:SR06# \configure router "management" 
A:SR06>config>router# info 
----------------------------------------------
        static-route-entry 172.20.0.0/24
            next-hop 10.15.0.1
            exit
        exit
----------------------------------------------


Re: Show bof command

Posted: 01 Jun 2016 03:59
by mivens
Some networks use the management ports on the CPMs for sending syslogs, SNMP traps, NTP traffic, TACACS/RADIUS, Cflow etc as well as SSH/SCP for CLI access. Others send this traffic in-band to their network-management environment via ports on the linecards so not via the "management" router.

If you choose to send this traffic out-of-band then you will need static routes so the router knows how to get to your syslog server, SNMP server, host from which you SSH to the router etc.

You will be able to see these routes in the output of the command
show router "management" route-table

You need to be careful because adding a static route in the BOF that includes the addresses of things like your NTP, TACACS or cflow servers makes the 7750 send this traffic out-of-band even if you've told the router to use the system address in the base router as the source (and Alcatel say this is not a bug). For logging, there's a command

"configure log route-preference primary {inband|outband} secondary {inband|outband|none}"

to say whether you'd like the traffic in-band or out-of-band but unfortunately that functionality doesn't exist for NTP/cflow etc.

[Edit: I see Christoffer has got there before me]

Re: Show bof command

Posted: 01 Jun 2016 04:18
by Stoffen
mivens wrote:[Edit: I see Christoffer has got there before me]
I did :wink: , but you do have some _very_ important points here regarding routes in the BOF.

Re: Show bof command

Posted: 01 Jun 2016 07:41
by Eagleman
Guys,
I am most grateful for your invaluable contributions that clarifies my difficulties.
God bless you all!!