B Commands

bandwidth (if_manager)

bandwidth { bandwidth_val | inherit [inherit_val] } | no bandwidth { [bandwidth_val] | inherit [inherit_val] }

Syntax Description

no

Negate a command or set its defaults

bandwidth

Set bandwidth informational parameter

bandwidth_val

Type: integer

min: 1  max: 800000000  

Bandwidth in kilobits

inherit

Specify that bandwidth is inherited

inherit_val

Type: integer

min: 1  max: 800000000  

Bandwidth in kilobits

inherit_val

Type: integer

min: 1  max: 80000000  

Bandwidth in kilobits

Command Modes

  • /exec/configure/if-eth-port-channel
  • /exec/configure/if-port-channel-range
  • /exec/configure/if-port-channel-sub
  • /exec/configure/if-eth-port-channel-switch
  • /exec/configure/if-eth-port-channel-p2p
  • /exec/configure/if-eth-port-channel
  • /exec/configure/if-port-channel-range
  • /exec/configure/if-port-channel-sub
  • /exec/configure/if-eth-port-channel-switch
  • /exec/configure/if-eth-port-channel-p2p

bandwidth (if_manager)

bandwidth { bandwidth_val | inherit [inherit_val] } | no bandwidth { [bandwidth_val] | inherit [inherit_val] }

Syntax Description

no

Negate a command or set its defaults

bandwidth

Set bandwidth informational parameter

bandwidth_val

Type: integer

min: 1  max: 100000000  

Bandwidth in kilobits

inherit

Specify that bandwidth is inherited

inherit_val

Type: integer

min: 1  max: 100000000  

Bandwidth in kilobits

Command Modes

  • /exec/configure/if-ethernet-all
  • /exec/configure/if-eth-non-member
  • /exec/configure/if-ether-sub
  • /exec/configure/if-gig-ether-sub
  • /exec/configure/if-remote-ethernet-sub
  • /exec/configure/if-ether-sub-p2p

bandwidth (qosmgr)

[no] bandwidth { { xxx bw-value [ bps | kbps | mbps | gbps ] | percent percentage } | remaining percent rem-perc }

Syntax Description

no

Negate a command or set its defaults

bandwidth

Specify bandwidth for the class

xxx

xxx Not available in this release.

bw-value

Type: long

Value in bps/kbps/mbps/gbps

bps

Bits per second

kbps

Kilo bits per second

mbps

Mega bits per second

gbps

Giga bits per second

percent

Percentage of available bandwidth

percentage

Type: uinteger

min: 0  max: 100  

Value in percentage

remaining

% of remaining bandwidth

rem-perc

Type: uinteger

min: 0  max: 100  

Value in percentage

Command Modes

  • /exec/configure/policy-map/type/queuing/class

bandwidth (svi)

bandwidth bandwidth_val | no bandwidth

Syntax Description

no

Negate a command or set its defaults

bandwidth

Set bandwidth informational parameter

bandwidth_val

Type: uinteger

min: 1  max: 400000000  

Bandwidth in kilobits

Command Modes

  • /exec/configure/if-vlan-common

bandwidth (tm)

bandwidth bandwidth_val | no bandwidth

Syntax Description

no

Negate a command or set its defaults

bandwidth

Set bandwidth informational parameter

bandwidth_val

Type: uinteger

min: 1  max: 10000000  

Bandwidth in kilobits

Command Modes

  • /exec/configure/if-any-tunnel

banner motd

banner motd line | no banner motd

Syntax Description

no

Negate a command or set its defaults

banner

Configure banner message

motd

Configure banner motd message

line

Type: remainder

Delimiter char (Very first char is delimiter char) followed by message ending with delimiter

Command Modes

  • /exec/configure

bcm-shell module (syscli)

bcm-shell module module

Syntax Description

bcm-shell

bcm shell/cmd

module

Module number of the linecard

module

Type: integer

Enter module number

Command Modes

  • /exec

bcm-shell module (syscli)

bcm-shell module module quoted-cmd

Syntax Description

bcm-shell

bcm shell/cmd

module

Module number of the linecard

module

Type: integer

Enter module number

quoted-cmd

Type: string

the command to run on bcm-shell

Command Modes

  • /exec

beacon

[no] beacon

Syntax Description

no

Negate a command or set its defaults

beacon

Disable/enable the beacon for an interface

Command Modes

  • /exec/configure/if-ethernet-all
  • /exec/configure/if-eth-base

bestpath

[no] bestpath { always-compare-med | med { missing-as-worst | non-deterministic | confed } | compare-routerid | cost-community ignore | as-path multipath-relax | multipath compare-neighborid }

Syntax Description

no

Negate a command or set its defaults

bestpath

Change default bestpath selection algorithm

always-compare-med

Compare MED on paths from different AS

med

MED

missing-as-worst

Treat missing MED as highest MED

non-deterministic

Not always pick the best-MED path among paths from same AS

compare-routerid

Compare router-id for identical EBGP paths

cost-community

cost community

ignore

Ignore cost communities in bestpath selection

confed

Compare MED only from paths originated from within a confederation

as-path

AS-Path

multipath-relax

Relax AS-Path restriction when choosing multipaths

multipath

Influence multipath selection algorithm

compare-neighborid

When more paths available than max path config, use neighborid tibreaker

Command Modes

  • /exec/configure/router-bgp/vrf-cmds

bfd-app session auto-expiry

bfd-app session auto-expiry { timeout millis | now }

Syntax Description

bfd-app

BFD application commands

auto-expiry

auto expiry start/end

session

session operation

timeout

timeout after

now

expiry reached, dont wait to timeout, do them now

millis

Type: integer

milli-secs later

Command Modes

  • /exec/configure

bfd-app session remove

bfd-app session remove { all | intf intf_id | iod iod_id }

Syntax Description

bfd-app

BFD application commands

session

session operation

remove

Remove sessions

all

Remove all sessions

intf

Remove all sessions on interface

intf_id

Type: interface

Interface Id

iod

interface iod

iod_id

Type: hex

Interface iod in hex

Command Modes

  • /exec/configure

bfd-app session src-ip

[no] bfd-app session src-ip { src_ip dest-ip dest_ip | src_ipv6 dest-ip dest_ipv6 } { intf intf_id | iod iod_id }

Syntax Description

no

Negate a command or set its defaults

bfd-app

BFD application commands

session

session operation

src-ip

Source ip

src_ip

Type: ipaddr

Source ip value

src_ipv6

Type: ipv6addr

Source ipv6 value

dest-ip

Destination ip

dest_ip

Type: ipaddr

Destination ip value

dest_ipv6

Type: ipv6addr

Destination ipv6 value

iod

interface iod

iod_id

Type: hex

Interface iod in hex

intf

interface

intf_id

Type: interface

Interface Id

Command Modes

  • /exec/configure

bfd (bgp_bfd)

[ no | default ] bfd

Syntax Description

no

Negate a command or set its defaults

default

Inherit values from a peer template

bfd

Bidirectional Fast Detection for the neighbor

Command Modes

  • /exec/configure/router-bgp/router-bgp-neighbor-sess

bfd (eigrp_bfd)

[no] bfd

Syntax Description

no

Negate a command or set its defaults

bfd

Enable BFD on all EIGRP interfaces

Command Modes

  • /exec/configure/router-eigrp
  • /exec/configure/router-eigrp/router-eigrp-vrf
  • /exec/configure/router-eigrp/router-eigrp-af-ipv4

bfd (isis_bfd)

[no] bfd

Syntax Description

no

Negate a command or set its defaults

bfd

Enable IPv4 BFD on all ISIS interfaces

Command Modes

  • /exec/configure/router-isis/router-isis-vrf-common
  • /exec/configure/router-isis/router-isis-af-ipv4

bfd (ospf_bfd)

[no] bfd

Syntax Description

no

Negate a command or set its defaults

bfd

Enable BFD on all OSPF interfaces

Command Modes

  • /exec/configure/router-ospf
  • /exec/configure/router-ospf/vrf

bfd authentication key-id

[no] bfd authentication auth_name key-id key_id_val { key key_val | hex-key h_key_val } | no bfd authentication

Syntax Description

no

Negate a command or set its defaults

bfd

BFD commands

authentication

Configure BFD authentication parameters

auth_name

auth algorithm

Keyed-SHA1  value: 20
Keyed-SHA1
key-id

Key ID to use in BFD frames

key_id_val

Type: integer

min: 1  max: 255  

Key ID value

key

ASCII SHA1 secret

hex-key

HEX binary SHA1 secret

key_val

Type: string

length: 20

SHA1 secret value

h_key_val

Type: string

length: 40

SHA1 secret value. e.g ABCD123

Command Modes

  • /exec/configure/if-ma
  • /exec/configure/if-vlan-common
  • /exec/configure/if-ma-p2p

bfd echo

[no] bfd echo

Syntax Description

no

Negate a command or set its defaults

bfd

BFD commands

echo

Configure Echo function for sessions

Command Modes

  • /exec/configure/if-ma
  • /exec/configure/if-vlan-common
  • /exec/configure/if-ma-p2p

bfd echo-interface

[no] bfd echo-interface ifindex

Syntax Description

no

Negate a command or set its defaults

bfd

BFD commands

echo-interface

Configure interface used for bfd echo frames

ifindex

Type: interface

loopback interface

Command Modes

  • /exec/configure

bfd interval min_rx multiplier

[no] bfd interval min_tx_mills min_rx min_rx_mills multiplier int_mult

Syntax Description

no

Negate a command or set its defaults

bfd

BFD commands

interval

Configure BFD session interval parameters

min_tx_mills

Type: integer

min: 50  max: 999  

TX interval in milliseconds

min_rx

Minimum RX interval

min_rx_mills

Type: integer

min: 50  max: 999  

RX interval in milliseconds

multiplier

Configure detect multiplier for bfd sessions

int_mult

Type: integer

min: 1  max: 50  

Detect Multiplier

Command Modes

  • /exec/configure
  • /exec/configure/if-ma
  • /exec/configure/if-ma-p2p

bfd ipv4

[no] bfd ipv4

Syntax Description

no

Negate a command or set its defaults

bfd

BFD commands

ipv4

Enable/Disable IPv4 sessions

Command Modes

  • /exec/configure/if-ma
  • /exec/configure/if-vlan-common
  • /exec/configure/if-ma-p2p

bfd move-session target

bfd move-session target target_mod

Syntax Description

bfd

BFD commands

move-session

move a session

target

Target module

target_mod

Type: integer

min: 1  max: 18  

Module number

Command Modes

  • /exec/configure/if-ma
  • /exec/configure/if-ma-p2p

bfd neighbor src-ip

[no] bfd neighbor src-ip { src_ip dest-ip dest_ip | src_ipv6 dest-ip dest_ipv6 }

Syntax Description

no

Negate a command or set its defaults

bfd

BFD commands

neighbor

BFD neighbor configuration commands (simulate client)

src-ip

Source ip

src_ip

Type: ipaddr

Source ip value

src_ipv6

Type: ipv6addr

Source ipv6 value

dest-ip

Destination ip

dest_ip

Type: ipaddr

Destination ip value

dest_ipv6

Type: ipv6addr

Destination ipv6 value

Command Modes

  • /exec/configure/if-ma
  • /exec/configure/if-ma-p2p

bfd optimize subinterface

[no] bfd optimize subinterface

Syntax Description

no

Negate a command or set its defaults

bfd

BFD commands

optimize

optimize

subinterface

optimize subinterfaces

Command Modes

  • /exec/configure/if-eth-port-channel
  • /exec/configure/if-ethernet
  • /exec/configure/if-ether-p2p
  • /exec/configure/if-eth-port-channel-p2p

bfd per-link

[no] bfd per-link

Syntax Description

no

Negate a command or set its defaults

bfd

BFD commands

per-link

Run BFD sessions on each port-channel link

Command Modes

  • /exec/configure/if-eth-port-channel
  • /exec/configure/if-port-channel-sub
  • /exec/configure/if-eth-port-channel-p2p;

bfd session-store remove client

bfd session-store remove hex_disc client int_cl

Syntax Description

bfd

BFD commands

session-store

session store operation

remove

Remove session from session store

hex_disc

Type: hex

Session discriminator

client

Client Id

int_cl

Type: integer

client

Command Modes

  • /exec/configure

bfd session-store source-ip dest-ip intf client

bfd session-store source-ip src_ip dest-ip dest_ip intf intf_id client int_cl

Syntax Description

bfd

BFD commands

session-store

Session store operation

source-ip

source ip

src_ip

Type: ipaddr

source ip value

dest-ip

dest ip

dest_ip

Type: ipaddr

source ip value

intf

interface

intf_id

Type: interface

Interface Id

client

Client Id

int_cl

Type: integer

client

Command Modes

  • /exec/configure

bfd session state state

bfd session state hex_disc state state_up_down

Syntax Description

bfd

BFD commands

session

session related test

state

Change session state

hex_disc

Type: hex

Session discriminator

state

Change to state

state_up_down

UP/DOWN

up  value: 4
session up
down  value: 3
session down

Command Modes

  • /exec/configure

bfd slow-timer

[no] bfd slow-timer int_slow_timer

Syntax Description

no

Negate a command or set its defaults

bfd

BFD commands

slow-timer

Configure slow mode timer for sessions

int_slow_timer

Type: integer

min: 1000  max: 30000  

Slow rate timer in milliseconds

Command Modes

  • /exec/configure

blink

[no] blink { module module | s0 santa-cruz-range | chassis | powersupply psnum | fan fan_num }

Syntax Description

no

Negate a command or set its defaults

blink

blink locator led

module

blink module led

module

Type: integer

please enter the module number

s0

Type: xbar-str

blink a specific xbar

santa-cruz-range

Type: integer

please enter the xbar number

chassis

blink chassis led

powersupply

blink powersupply led

psnum

Type: uinteger

min: 1  max: 10  

powersupply number

fan

blink Fan led

fan_num

Type: uinteger

min: 1  max: 12  

fan number

Command Modes

  • /exec

bloggerd delete

bloggerd delete { all-temporary-binary-log-dumps | all-temporary-binary-show-tech-files }

Syntax Description

bloggerd

Blogger commands

delete

Delete all logs of one type

all-temporary-binary-log-dumps

Delete all binary log dumps from the local partition (/var/sysmgr/tmp/)

all-temporary-binary-show-tech-files

Delete all binary show tech files

Command Modes

  • /exec

bloggerd live-process-core process pid

bloggerd live-process-core process process-name pid process-pid

Syntax Description

bloggerd

Blogger commands

live-process-core

Request a process core dump without killing it

process

Linux Process name

process-name

Type: string

Enter the Linux name of the process for which core is being requested (Eg: sysmgr)

pid

Process PID

process-pid

Type: integer

Enter the linux PID of the process for which core is being requested (Eg: 4571)

Command Modes

  • /exec

bloggerd live-process-core sap

bloggerd live-process-core sap sap

Syntax Description

bloggerd

Blogger commands

live-process-core

Dump the core of the live-process

sap

Dump core for a particular SAP

sap

Type: integer

min: 0  max: 65536  

Enter a valid SAP. Enter 0 for ALL SAPs in this VDC

Command Modes

  • /exec

bloggerd log-dump

[no] bloggerd log-dump { all | [ module module ] sap sap_num [ vdc new_id | vdc-all ] }

Syntax Description

no

Negate a command or set its defaults

bloggerd

Blogger commands

log-dump

Dump Log Buffer

all

Log Dump for ALL services across ALL modules in the switch on reaching threshold

module

Enable Buffer Dump for particular Module

module

Type: integer

Enter a valid Module Number

sap

Enable Buffer Dump for a particular sap

sap_num

Type: integer

min: 0  max: 65536  

Enter a valid SAP. Enter 0 for ALL SAPs in this VDC

vdc

Enable Log Dump for a particular VDC. DEFAULT_VDC by default

new_id

Type: integer

Enter a valid VDC ID

vdc-all

Enable Log Dump for the sap on ALL VDCs

Command Modes

  • /exec/configure

bloggerd log-dump once log-buffer sap event-history

bloggerd log-dump once log-buffer sap sap event-history { errors | msgs | app-specific uuid instance buffer-instance }

Syntax Description

bloggerd

Blogger commands

log-dump

Dump Log Buffer

once

Dump Log Buffer once immediately

log-buffer

Dump Log buffer

sap

Enable Buffer Dump for a particular sap

sap

Type: integer

min: 0  max: 65536  

Enter a valid SAP. Enter 0 for ALL SAPs in this VDC

event-history

Event-History Buffers

errors

event-history errors

msgs

event-history messages

app-specific

application specific event history

uuid

Type: integer

Enter valid app's UUID

instance

Buffer Instance of the App-Specific SDWrap buffer

buffer-instance

Type: integer

Enter a valid SDWrap buffer instance for the app

Command Modes

  • /exec

bloggerd log-dump once pss uuid

bloggerd log-dump once pss uuid uuid

Syntax Description

bloggerd

Blogger commands

log-dump

Dump Log Buffer

once

Dump Log Buffer once immediately

pss

Dump PSS

uuid

Dump PSS for a particular UUID

uuid

Type: integer

min: 0  max: 65536  

Enter a app's UUID

Command Modes

  • /exec

bloggerd log-throttle

[no] bloggerd log-throttle [ min-rollover min-rollover max-rollover-per-minute max-rollover-per-minute ]

Syntax Description

no

Negate a command or set its defaults

bloggerd

Blogger commands

log-throttle

Enable Log Dump Throttling for all NxOS services

min-rollover

Number of minimum buffer rollovers before starting to throttle. Default: 5

min-rollover

Type: integer

min: 1  max: 1000  

Enter the mininum number of roll-overs before throttleing log-dump. Default: 5

max-rollover-per-minute

Maximum allowed buffer rollovers per minute. Default: 1

max-rollover-per-minute

Type: integer

min: 1  max: 100  

Enter the maximum allowed roll-overs per minute before throttling. Default: 1

Command Modes

  • /exec/configure

bloggerd log-transfer

bloggerd log-transfer { ip-addr path | logflash }

Syntax Description

bloggerd

Blogger commands

log-transfer

Configure log transfer

ip-addr

Type: ipaddr

IP addr of logging server

path

Type: string

Path in tftp server to store logs. Eg: logOutput

logflash

Move all log-files to logflash

Command Modes

  • /exec/configure

bloggerd mleak-check directory1 directory2

bloggerd mleak-check directory1 uri0 directory2 uri1

Syntax Description

bloggerd

Blogger commands

mleak-check

Leak check

directory1

Enter path of directory

uri0

Type: string

Linux path to file/directory (Eg: /bootflash/abc)

directory2

Enter path of directory

uri1

Type: string

Linux path to file/directory (Eg: /bootflash/abc)

Command Modes

  • /exec

bloggerd mleak-dump all

bloggerd mleak-dump all

Syntax Description

bloggerd

Blogger commands

mleak-dump

Leak dump

all

All apps on all modules

Command Modes

  • /exec

bloggerd parse log-buffer

bloggerd parse log-buffer { file | directory } uri0

Syntax Description

bloggerd

Blogger commands

parse

Parse a file

log-buffer

Parse buffer log file

directory

Enter path of directory

file

Enter file name. Please unzip file before parsing!

uri0

Type: string

Linux path to file/directory (Eg: /bootflash/abc)

Command Modes

  • /exec

bloggerd parse log-buffer file sap

bloggerd parse log-buffer file uri0 sap sap-num

Syntax Description

bloggerd

Blogger commands

parse

Parse a file

log-buffer

Parse buffer log file

file

Enter file name. Please unzip file before parsing!

uri0

Type: string

Linux path to file (Eg: /bootflash/abc)

sap

SAP of the application which should parse the file

sap-num

Type: integer

min: 0  max: 65536  

Enter a valid SAP. Enter 0 for ALL SAPs in this VDC

Command Modes

  • /exec

bloggerd parse pss file

bloggerd parse pss file uri0

Syntax Description

bloggerd

Blogger commands

parse

Parse a file

pss

Parse a dumped PSS File

file

Enter file name (without pss extensions). Please unzip file before parsing!

uri0

Type: string

Linux path to file/directory (Eg: /bootflash/abc)

Command Modes

  • /exec

boot

boot s0 uri0 [ module [module] ] | no boot s0 [ uri0 [ module [module] ] ]

Syntax Description

no

Negate a command or set its defaults

boot

Configure boot variables

s0

Type: bootvar

use [show boot variables] for list of keywords

uri0

Type: uri

Enter module image uri

module

Enter module number for the image

module

Type: integer

Enter module number

Command Modes

  • /exec/configure

boot-install nxos

boot-install nxos uri0 | no boot-install nxos [uri0]

Syntax Description

no

Negate a command or set its defaults

boot-install

Configure boot variables

nxos

Configure NXOS image

uri0

Type: uri

Enter NXOS image uri

Command Modes

  • /exec/configure

boot-order

boot-order new_id

Syntax Description

boot-order

The order at which a vdc will boot up. VDCs at the same level will be started parallely

new_id

Type: integer

The order at which a vdc will boot up. VDCs at the same level will be started parallely

Command Modes

  • /exec/configure/vdc

boot auto-copy

[no] boot auto-copy

Syntax Description

no

Negate a command or set its defaults

boot

Configure boot variables

auto-copy

Turns on/off autocopy of bootvar images

Command Modes

  • /exec/configure

boot nxos (bootvar)

boot nxos uri0 [ [sup-1] [sup-2] ] | no boot nxos [ uri0 [ [sup-1] [sup-2] ] ]

Syntax Description

no

Negate a command or set its defaults

boot

Configure boot variables

nxos

Configure NXOS image

uri0

Type: uri

Enter kickstart image uri

sup-1

Enter sup-1 to configure the 1st sup

sup-2

Enter sup-2 to configure the 2nd sup

Command Modes

  • /exec/configure

boot nxos (bootvar)

boot nxos uri0 | no boot nxos [uri0]

Syntax Description

no

Negate a command or set its defaults

boot

Configure boot variables

nxos

Configure NXOS image

uri0

Type: uri

Enter NXOS image uri

Command Modes

  • /exec/configure

bootmode boot

[no] bootmode boot

Syntax Description

no

Negate a command or set its defaults

bootmode

set bootmode for all modules in the switch

boot

boot in boot mode

Command Modes

  • /exec/configure

bootmode extruntime

[no] bootmode extruntime

Syntax Description

no

Negate a command or set its defaults

bootmode

set bootmode for all modules in the switch

extruntime

boot in runtime mode with extended diags

Command Modes

  • /exec/configure

bootmode hitless

[no] bootmode hitless

Syntax Description

no

Negate a command or set its defaults

bootmode

set bootmode for all modules in the switch

hitless

boot in hitless mode

Command Modes

  • /exec/configure

bootmode module

[no] bootmode module module { boot | extruntime | hitless | netboot | nodiagruntime | runtime }

Syntax Description

no

Negate a command or set its defaults

bootmode

set bootmode for all modules in the switch

module

set bootmode for a given module in the switch

module

Type: integer

please enter module number

boot

boot in boot mode

extruntime

boot in runtime mode with extended diags

hitless

boot in hitless mode

netboot

boot using boot netboot in runtime mode

nodiagruntime

boot in runtime mode without running any diags

runtime

boot in runtime mode with normal diags

Command Modes

  • /exec/configure

bootmode nodiagruntime

[no] bootmode nodiagruntime

Syntax Description

no

Negate a command or set its defaults

bootmode

set bootmode for all modules in the switch

nodiagruntime

boot in runtime mode without running any diags

Command Modes

  • /exec/configure

bootmode runtime

[no] bootmode runtime

Syntax Description

no

Negate a command or set its defaults

bootmode

set bootmode for all modules in the switch

runtime

boot in runtime mode with normal diags

Command Modes

  • /exec/configure

buffer-boost

[no] buffer-boost

Syntax Description

no

Negate a command or set its defaults

buffer-boost

Enable extra buffers for this interface

Command Modes

  • /exec/configure/if-ethernet-all
  • /exec/configure/if-eth-non-member
  • /exec/configure/if-port-channel