16-Intelligent Lossless Network Command Reference

HomeSupportSwitchesS6530X SeriesReference GuidesCommand ReferencesH3C S6530X Switch Series Command References-R8108Pxx-6W10016-Intelligent Lossless Network Command Reference
03-iNOF commands
Title Size Download
03-iNOF commands 127.63 KB

iNOF commands

To configure and use the iNOF feature, first install a license. For more information about licenses, see license management configuration in Fundamentals Configuration Guide.

address-family inof

Use address-family inof to create the BGP Intelligent Lossless NVMe Over Fabric (iNOF) address family and enter its view, or enter the view of the existing BGP iNOF address family.

Use undo address-family inof to remove the BGP iNOF address family and all its configurations.

Syntax

address-family inof

undo address-family inof

Default

No BGP iNOF address family exists.

Views

BGP instance view

Predefined user roles

network-admin

Usage guidelines

The configuration in BGP iNOF address family view applies only to the BGP iNOF routes and peers in the public network.

Examples

# In BGP instance view, create the BGP iNOF address family and enter its view.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp-default] address-family inof

[Sysname-bgp-default-inof]

Related commands

role

peer enable (Layer 3IP Routing Command Reference)

peer reflect-client (Layer 3—IP Routing Command Reference)

reflector cluster-id (Layer 3—IP Routing Command Reference)

default-zone enable

Use default-zone enable to enable automatic adding of free hosts to the default iNOF zone.

Use undo default-zone enable to disable automatic adding of free hosts to the default iNOF zone.

Syntax

default-zone enable

undo default-zone enable

Default

The device adds free hosts to the default iNOF zone automatically.

Views

iNOF view

Predefined user roles

network-admin

Usage guidelines

The default iNOF zone does not support manual adding of online hosts. The device enabled with this feature adds a host to the default iNOF zone when the following conditions exist:

·     The host is directly connected to the device and comes online.

·     The host is a free host that is not a member of any user-defined iNOF zone.

Support for this command varies by iNOF network type as follows:

·     On a directly-connected iNOF network, all iNOF switches support this command.

·     On a trans-switch iNOF network, only iNOF reflectors support this command. For iNOF clients on such a network, whether to add free hosts to the default zone depends on the configuration of this feature for the iNOF reflector. To specify the role of an iNOF switch on the iNOF network, use the role command.

Examples

# Enable automatic adding of free hosts to the default iNOF zone.

<Sysname> system-view

[Sysname] inof enable

[Sysname-inof] default-zone enable

display bgp inof

Use display bgp inof to display BGP iNOF route information.

Syntax

display bgp [ instance instance-name ] inof [ inof-prefix | peer ipv4-address  { advertised | received } [ statistics ] | statistics ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

instance instance-name: Specifies a BGP instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify this option, the command displays BGP iNOF route information for the default BGP instance.

inof-prefix: Specifies an iNOF route prefix, a case-sensitive string of 1 to 4096 characters. To ensure successful matching, enter a complete iNOF route prefix.

peer ipv4-address: Displays BGP iNOF route information advertised to or received from the specified IPv4 peer.

advertised: Displays BGP iNOF route information advertised to the specified peer.

received: Displays BGP iNOF route information received from the specified peer.

statistics: Displays BGP iNOF route statistics.

Usage guidelines

If you do not specify any parameters, this command displays brief information about all BGP iNOF route for the public network.

Examples

# Display brief information about all BGP iNOF route for the public network.

<Sysname> display bgp inof

 

Total number of routes: 9

 

 BGP local router ID is 10.1.1.1

 Status codes: * - valid, > - best, d - dampened, h - history

               s - suppressed, S - stale, i - internal, e - external

               a - additional-path

       Origin: i - IGP, e - EGP, ? - incomplete

 

     Inof         PeerID              OriginRouterID      PathID

 

* >  DefaultZone=TRUE,RouterID=10.1.1.1

                  0.0.0.0             0.0.0.0               0

* >  HardZoning=FALSE,RouterID=10.1.1.1

                  0.0.0.0             0.0.0.0               0

* >  ZoneName=1,RouterID=10.1.1.1

                  0.0.0.0             0.0.0.0               0

* >  ZoneName=1,HostIP=10.10.1.100,RouterID=10.1.1.1

                  0.0.0.0             0.0.0.0               0

* >  ZoneName=1,HostIP=10.10.1.101,RouterID=10.1.1.1

                  0.0.0.0             0.0.0.0               0

* >  ZoneName=1,HostIP=10.10.1.102,RouterID=10.1.1.1

                  0.0.0.0             0.0.0.0               0

* >  ZoneName=1,HostIP=10.10.1.103,RouterID=10.1.1.1

                  0.0.0.0             0.0.0.0               0

* >  ZoneName=1,HostIP=10.10.1.104,RouterID=10.1.1.1

                  0.0.0.0             0.0.0.0               0

* >  ZoneName=1,HostIP=10.10.1.105,RouterID=10.1.1.1

                  0.0.0.0             0.0.0.0               0

# Display information about the BGP iNOF routes received from peer 10.1.1.1.

<Sysname> display bgp inof peer 10.1.1.1 received

 

 Total number of routes: 9

 

 BGP local router ID is 30.1.1.2

 Status codes: * - valid, > - best, d - dampened, h - history

               s - suppressed, S - stale, i - internal, e - external

               a - additional-path

       Origin: i - IGP, e - EGP, ? - incomplete

 

     Inof         PeerID              OriginRouterID      PathID

 

* >i DefaultZone=TRUE,RouterID=10.1.1.2

                  10.1.1.1            10.1.1.2              0

* >i HardZoning=FALSE,RouterID=10.1.1.2

                  10.1.1.1            10.1.1.2              0

* >i ZoneName=1,RouterID=10.1.1.2

                  10.1.1.1            10.1.1.2              0

* >i ZoneName=1,HostIP=10.10.1.100,RouterID=10.1.1.2

                  10.1.1.1            10.1.1.2              0

* >i ZoneName=1,HostIP=10.10.1.101,RouterID=10.1.1.2

                  10.1.1.1            10.1.1.2              0

* >i ZoneName=1,HostIP=10.10.1.102,RouterID=10.1.1.2

                  10.1.1.1            10.1.1.2              0

* >i ZoneName=1,HostIP=10.10.1.103,RouterID=10.1.1.2

                  10.1.1.1            10.1.1.2              0

* >i ZoneName=1,HostIP=10.10.1.104,RouterID=10.1.1.2

                  10.1.1.1            10.1.1.2              0

* >i ZoneName=1,HostIP=10.10.1.105,RouterID=10.1.1.2

                  10.1.1.1            10.1.1.2              0

Table 1 Command output

Field

Description

Status codes

Route status codes:

·     * – valid—Valid route.

·     > – best—Optimal route.

·     d - dampened—Dampened route.

·     h – history—History route.

·     s – suppressed—Suppressed route.

·     S – stale—Stale route.

·     i – internal—Internal route.

·     e – external—External route.

·     a - additional-path—Add-Path optimal route.

Origin

Origin of the route:

·     i – IGP—Originated in the AS.

·     e – EGP—Learned through Exterior Gateway Protocol (EGP).

·     ? – incomplete—Unknown origin.

Inof

BGP iNOF route prefix.

PeerID

ID of the peer from which the local device received the route. If the route is generated by the local device, this field displays 0.0.0.0.

OriginRouterID

ID of the router that generates the route. If the route is generated by the local device, this field displays 0.0.0.0.

PathID

Add-Path ID of the learned route, which is fixed at 0.

# Display detailed information about the BGP iNOF routes with prefix DefaultZone=TRUE,RouterID=10.1.1.2.

<Sysname> display bgp inof DefaultZone=TRUE,RouterID=10.1.1.2

 

 BGP local router ID: 30.1.1.2

 Local AS number: 100

 

 Paths:   1 available, 1 best

 

 BGP routing table information of DefaultZone=TRUE,RouterID=10.1.1.2:

 From              : 10.1.1.1  (10.1.1.2)

 Original nexthop: 10.1.1.1

 OutLabel          : NULL

 RxPathID          : 0x0

 TxPathID          : 0x0

 AS-path           : (null)

 Origin            : igp

 Attribute value : localpref 100, pref-val 0

 State             : valid, internal, best

 IP precedence   : N/A

 QoS local ID    : N/A

 Traffic index   : N/A

Table 2 Command output

Field

Description

Paths

Number of routes:

·     available—Number of valid routes.

·     best—Number of optimal routes. BGP iNOF routes are all optimal routes.

BGP routing table information of iNOF-prefix

Information about the BGP iNOF routes with iNOF-prefix.

Imported route

This route is imported.

RR-client route

This route is received from a route reflection client.

From

IP address of the BGP peer that advertised the route.

Original nexthop

Original next hop of the route. If the route was obtained from a BGP update message, the original next hop is the next hop IP address in the message.

OutLabel

Outgoing label of the route. This field displays NULL for BGP iNOF routes.

RxPathID

Add-Path ID of received routes.

TxPathID

Add-Path ID of advertised routes.

AS-path

AS_PATH attribute of the route.

Origin

Origin of the route:

·     igp—Originated in the AS.

·     egp—Learned through Exterior Gateway Protocol (EGP).

·     incomplete—Unknown origin.

Attribute value

BGP path attributes:

·     MED—MED value.

·     localprefLocal preference value.

·     pref-val—Preferred value.

·     pre—Route preference.

State

Current state of the route:

·     valid.

·     internal.

·     external.

·     local.

·     synchronize.

·     best.

IP precedence

IP precedence in the range of 0 to 7. N/A indicates that the route does not support this field.

QoS local ID

QoS local ID in the range of 1 to 4095. N/A indicates that the route does not support this field.

Traffic index

Traffic index in the range of 1 to 64. N/A indicates that the route does not support this field.

# Display statistics of the BGP iNOF routes advertised to peer 10.2.1.2.

<Sysname> display bgp inof peer 10.1.1.2 advertised statistics

 

 Advertised routes total: 2

# Display statistics of the BGP iNOF routes received from peer 10.2.1.2.

<Sysname> display bgp inof peer 10.1.1.2 received statistics

 

 Received routes total: 2

Table 3 Command output

Field

Description

Advertised routes total

Number of the BGP iNOF routes advertised to the peer.

Received routes total

Number of the BGP iNOF routes received from the peer.

# Display BGP iNOF route statistics.

<Sysname> display bgp inof statistics

 

 Total number of routes: 4

display inof configuration

Use display inof configuration to display global iNOF configuration information.

Syntax

display inof configuration

Views

Any view

Predefined user roles

network-admin

network-operator

Examples

# Display global iNOF configuration information.

<Sysname> display inof configuration

iNOF         : Enabled

iNOF role   : Standalone

Default-zone: Enabled

Hard-zoning : Disabled

Table 4 Command output

Field

Description

iNOF

Whether iNOF is enabled on the device.

iNOF role

Role of the device on the iNOF network:

·     Reflect-clientThe device acts as an iNOF client.

·     Reflector—The device acts as an iNOF reflector.

·     Standalone—The device runs in standalone mode.

Default-zone

Whether the device automatically adds free hosts to the default iNOF zone.

Hard-zoning

Whether iNOF hard zoning is enabled on the device.

display inof configuration zone

Use display inof configuration zone to display information about user-defined iNOF zones.

Syntax

display inof [ ipv6 ] configuration zone [ zone-name ] [ inconsistent ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

ipv6: Displays information about the IPv6 hosts in the specified iNOF zone. If you do not specify this keyword, this command displays information about the IPv4 hosts in the specified iNOF zone.

zone-name: Specifies a user-defined iNOF zone by its name, a case-sensitive string of 1 to 31 characters.

inconsistent: Displays the iNOF zones configured in only one iNOF reflector.

Usage guidelines

iNOF reflectors on the same network must have the same iNOF zone configuration. You can use the inconsistent keyword to discover inconsistent iNOF zone configuration.

If you do not specify a user-defined iNOF zone or the inconsistent keyword, the command displays information about all user-defined iNOF zones.

Examples

# Display information about the IPv4 hosts in user-defined iNOF zones.

<Sysname> display inof configuration zone

Total Zone number: 2

iNOF Default-Zone: Enable

ZoneName                          Host             Learned-From

Default                           --                Local

Test                               10.1.1.10        Local

Test                               10.1.1.20        Local

# Display information about the IPv6 hosts in user-defined iNOF zones.

<Sysname> display inof ipv6 configuration zone

Total Zone number: 3

iNOF Default-Zone: Enable

ZoneName                          Host                                           Learned-From

Default                           C0A8:386E:C0A8:386E:C0A8:386E:C0A8:386E 10.1.1.2

Test                               --                                             Local

TestIPv6                          1::1                                           Local

Table 5 Command output

Field

Description

Total Zone number

Number of iNOF zones in the current iNOF network. The default iNOF zone is included in the statistics only when it is enabled.

iNOF Default-Zone

Whether the device automatically adds free hosts to the default iNOF zone.

ZoneName

Name of the iNOF zone to which the host belongs.

Host

IP address of the host.

·     If you use the display inof configuration zone command and this field displays double hyphens (--), the iNOF zone does not have any IPv4 hosts.

·     If you use the display inof ipv6 configuration zone command and this field displays double hyphens (--), the iNOF zone does not have any IPv6 hosts.

Learned-From

Source of the iNOF zone configuration:

·     iNOF reflector IP address—The iNOF zone is learned from the iNOF reflector.

·     Local—The iNOF zone is configured on the local device.

display inof information host

Use display inof information host to display iNOF host information.

Syntax

display inof [ ipv6 ] information host [ ip-address | local | remote ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

ipv6: Display information about IPv6 iNOF hosts. If you do not specify this keyword, this command displays information about IPv4 iNOF hosts.

ip-address: Specifies an iNOF host by its IP address.

local: Displays information about the iNOF hosts connected to the local device.

remote: Displays information about the iNOF hosts learned from the iNOF reflector.

Examples

# Display information about IPv4 iNOF hosts.

<Sysname> display inof information host

Host            Type   AccessDevice                            AccessInterface          HardZoning

192.168.1.155 Local  192.168.2.151                           XGE1/0/1                       Normal

192.168.1.156 Local  192.168.2.151                           XGE1/0/1                       Normal

192.168.1.157 Local  192.168.2.151                           XGE1/0/1                       Normal

192.168.1.185 Local  192.168.2.151                           XGE1/0/1                       Normal

# Display information about IPv6 iNOF hosts.

<Sysname> display inof ipv6 information host

Host                                           Type   AccessDevice                            AccessInterface          HardZoning

C0A8:386E:C0A8:386E:C0A8:386E:C0A8:386E local  21.1.1.4                                 XGE1/0/1                   Abnormal

C0A8:386E:C0A8:386E:C0A8:386E:C0A8:3861 local  21.1.1.4                                 XGE1/0/1                   Abnormal

C0A8:386E:C0A8:386E:C0A8:386E:C0A8:3862 local  21.1.1.4                                 XGE1/0/1                   Abnormal

C0A8:386E:C0A8:386E:C0A8:386E:C0A8:3863 local  21.1.1.4                                 XGE1/0/1                   Abnormal

Table 6 Command output

Field

Description

Host

IP address of the iNOF host.

Type

Access type the iNOF host:

·     Local—The host is connected to the local device.

·     Remote—The host is connected to a remote device. The local device learned the host information from the iNOF reflector.

Access Device

IP address of the device to which the host is connected.

Access Interface

Host-facing interface or reflector-facing interface on the device.

Hard Zoning

iNOF hard zoning status on the access interface:

·     Normal—iNOF hard zoning is enabled.

·     Abnormal—iNOF hard zoning is abnormal and cannot take effect.

·     Hyphen (--)—The host is connected to a remote device. To view the iNOF hard zoning status on the real access interface, use the display inof information host command on that remote device.

display inof reflector

Use display inof reflector to display iNOF reflector information.

Syntax

display inof reflector

Views

Any view

Predefined user roles

network-admin

network-operator

Examples

# Display iNOF reflector information.

<Sysname> display inof reflector

Index   ReflectorIP           DefaultZone            HardZoning

1        Local                  Enabled                 Disabled

2        100.1.1.2             Enabled                 Disabled

Table 7 Command output

Field

Description

Index

Index of the iNOF reflector.

ReflectorIP

Router ID of the iNOF reflector. The Local attribute indicates that the device is an iNOF reflector.

DefaultZone

Whether the iNOF reflector automatically adds free hosts to the default iNOF zone.

HardZoning

Whether iNOF hard zoning is enabled on the iNOF reflector.

hard-zoning enable

Use hard-zoning enable to enable iNOF hard zoning.

Use undo hard-zoning enable to disable iNOF hard zoning.

Syntax

hard-zoning enable

undo hard-zoning enable

Default

iNOF hard zoning is disabled.

Views

iNOF view

Predefined user roles

network-admin

Usage guidelines

If iNOF hard zoning is enabled, the following rules apply:

·     Hosts in the same iNOF zone can access each other.

·     Hosts in different iNOF zones cannot access each other.

Support for this command varies by iNOF network type as follows:

·     On a directly-connected iNOF network, all iNOF switches support this command.

·     On a trans-switch iNOF network, only iNOF reflectors support this command. For iNOF clients on such a network, the status of iNOF hard zoning depends on the configuration of this feature for the iNOF reflector. To specify the role of an iNOF switch on the iNOF network, use the role command.

Examples

# Enable iNOF hard zoning.

<Sysname> system-view

[Sysname] inof enable

[Sysname-inof] hard-zoning enable

Related commands

zone

host

Use host to add members (hosts) into a user-defined iNOF zone.

Use undo host to remove hosts from a user-defined iNOF zone.

Syntax

host [ ipv6 ] { ip-address | ip-address1 to ip-address2 }

undo host [ ipv6 ] { ip-address | ip-address1 to ip-address2 }

Default

The user-defined iNOF zone has no members.

Views

iNOF zone view

Predefined user roles

network-admin

Parameters

ipv6: Adds IPv6 hosts into the user-defined iNOF zone. To add IPv4 hosts, do not specify this keyword.

ip-address: Specifies an iNOF host by its IP address.

ip-address1 to ip-address2: Specifies an IP address range of iNOF hosts. The ip-address1 argument represents the start IP address and the ip-address2 argument represents the end IP address. The end IP address cannot be lower than the start IP address.

Usage guidelines

Support for this command varies by iNOF network type as follows:

·     On a directly-connected iNOF network, all iNOF switches support this command.

·     On a trans-switch iNOF network, only iNOF reflectors support this command.

The iNOF zone can manage its members as long as these members come online.

To add multiple hosts into a user-defined iNOF zone, repeat this command. You can add a host into multiple user-defined iNOF zones.

Examples

# Add host 192.168.56.111 into user-defined iNOF zone zone1.

<Sysname> system-view

[Sysname] inof enable

[Sysname-inof] zone 1

[Sysname-inof-zone-1] host 192.168.56.111

inof enable

Use inof enable to enable iNOF and enter its view, or enter iNOF view if it is already enabled.

Use undo inof enabl to disable iNOF.

Syntax

inof enable

undo inof enable

Default

iNOF is disabled.

Views

System view

Predefined user roles

network-admin

Usage guidelines

CAUTION

CAUTION:

Disabling iNOF removes all configurations in iNOF view. Make sure you have understood the potential impact before performing this operation.

A storage system needs to manage a large number of hosts for data storage. The system might have a slow reaction to host changes, which degrades storage performance. To resolve this issue, enable iNOF. When a host is connected to or is disconnected from a device, all devices on the same iNOF zone can detect the event immediately and report it to the storage system. Then, the system can intelligently adjust related settings to accommodate this change. This ensure the storage system can achieve lossless storage with low latency and high throughput.

Examples

# Enable iNOF and enter its view.

<Sysname> system-view

[Sysname] inof enable

[Sysname-inof]

role

Use role to specify the role of the device on the iNOF network.

Use undo role to restore the default.

Syntax

role { reflect-client | reflector }

undo role

Default

The iNOF role of the device is not specified.

Views

BGP iNOF address family view

Predefined user roles

network-admin

Parameters

reflect-client: Specifies the iNOF role of the device as client.

reflector: Specifies the iNOF role of the device as reflector.

Usage guidelines

On a trans-switch iNOF network, each iNOF switch acts as one of the following:

·     ReflectorUpon receiving iNOF route information from a client, the iNOF reflector advertises it to other clients.

·     Client—When the device acts as an iNOF client, it establishes an iNOF connection to the iNOF reflector for iNOF route advertisement. iNOF clients do not exchange iNOF route information.

The application of BGP route reflection simplifies the maintenance of iNOF network by reducing the number of iNOF connections.

This command configures a logical role for an iNOF switch to specify the iNOF features that you can configure on that switch. To configure the iNOF switch as an actual iNOF reflector, perform the following tasks:

·     Use the role reflector command to specify the iNOF role of the switch as reflector.

·     Use the peer reflect-client command to specify the switch as a route reflector.

For an iNOF client, the peer reflect-client command is not supported in BGP iNOF address family view and the zone command is not supported in iNOF zone view.

After you use the peer reflect-client or zone command on an iNOF switch, you cannot specify the iNOF role of that switch as client.

To ensure iNOF clients receive iNOF routes only from iNOF reflectors, do not establish any BGP sessions between clients in BGP iNOF address family.

Examples

# Specify the iNOF role of an iNOF switch as reflector.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp-default] address-family inof

[Sysname-bgp-default-inof] role reflector

# Specify the iNOF role of the switch as client.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp-default] address-family inof

[Sysname-bgp-default-inof] role reflect-client

Related commands

address-family inof

peer reflect-client (Layer 3—IP Routing Command Reference)

zone

zone

Use zone to create an iNOF zone and enter its view, or enter iNOF zone view if the zone already exists.

Use undo zone to delete a user-defined iNOF zone.

Syntax

zone zone-name

undo zone zone-name

Default

The device has a default iNOF zone and the zone name is Default.

Views

iNOF view

Predefined user roles

network-admin

Parameters

zone-name: Specifies a user-defined iNOF zone by its name, a case-sensitive string of 1 to 31 characters.

Usage guidelines

iNOF introduces the concept of zone to manage hosts. By default, the device has a default iNOF zone that cannot be deleted. After you create an iNOF zone, you can add hosts into that zone.

Support for this command varies by iNOF network type as follows:

·     On a directly-connected iNOF network, all iNOF switches support this command.

·     On a trans-switch iNOF network, only iNOF reflectors support this command. After you create iNOF zones and add hosts into these zones on an iNOF reflector, the reflector issues the configuration to its clients. To implement iNOF zone configuration backup among the reflectors on the iNOF network, configure the same iNOF zones on each reflector separately.

You can add a host into multiple user-defined iNOF zones.

Examples

# Create iNOF zone 1.

<Sysname> system-view

[Sysname] inof enable

[Sysname-inof] zone 1

[Sysname-inof-zone-1]

Related commands

default-zone enable

hard-zoning enable

host

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Intelligent Storage
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
  • Technical Blogs
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网