12-Network Management and Monitoring Command Reference

HomeSupportSwitchesS7500X-G SeriesReference GuidesCommand ReferencesH3C S7500X-G Switch Series Command References-R7755Pxx-6W10012-Network Management and Monitoring Command Reference
25-VCF fabric commands
Title Size Download
25-VCF fabric commands 106.28 KB

VCF fabric commands

User-defined MDCs support only the display vcf-fabric role and vcf-fabric role commands.

display vcf-fabric role

Use display vcf-fabric role to display the role of the device in the VCF fabric.

Syntax

display vcf-fabric role

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Usage guidelines

Use this command to display the default role and the current role of the device in the VCF fabric. To change the current role of the device, use the vcf-fabric role command.

Only user-defined MDCs can have no role. If a user-defined MDC does not have a role, no template file for automated VCF fabric deployment will be issued to the MDC.

Examples

# Display the role of the device in the VCF fabric.

<System> display vcf-fabric role

Default role: leaf

Current role: leaf

Table 1 Command output

Field

Description

Default role

Default role of the device:

·     Not specified—The device does not have a role.

·     spine—The device is a spine node.

·     aggr—The device is an aggregate node.

·     leaf—The device is a leaf node.

·     access—The device is an access node.

Current role

Current role of the device:

·     Not specified—The device does not have a role.

·     spine—The device is a spine node.

·     aggr—The device is an aggregate node.

·     leaf—The device is a leaf node.

·     access—The device is an access node.

 

Related commands

vcf-fabric role

display vcf-fabric topology

Use display vcf-fabric topology to display VCF fabric topology information.

Syntax

display vcf-fabric topology

Views

Any view

Predefined user roles

network-admin

network-operator

Usage guidelines

This command displays VCF fabric topology information only when it is executed on the master spine node.

Before you display VCF fabric topology information, make sure VCF fabric topology discovery and automated underlay network deployment are enabled.

Examples

# Display VCF fabric topology information.

<Sysname> display vcf-fabric topology

                                  Topology Information

----------------------------------------------------------------------------------

* indicates the master spine role among all spines

SpineIP            Interface                      Link LeafIP              Status

*10.11.113.51     Ten-GigabitEthernet3/0/1          Up   10.11.113.52         Deploying

                  Ten-GigabitEthernet3/0/2           Down --               --

                  Ten-GigabitEthernet3/0/3           Down --               --

                  Ten-GigabitEthernet3/0/4           Down --               --

                  Ten-GigabitEthernet3/0/5           Up   10.11.113.53        Deploying

                  Ten-GigabitEthernet3/0/6          Down --                 --

                  Ten-GigabitEthernet3/0/7           Down --               --

                  Ten-GigabitEthernet3/0/8           Down --               --

Table 2 Command output

Field

Description

SpineIP

IPv4 address of the management Ethernet interface on the spine node. This field displays an asterisk (*) before the IP address if the device is the master spine node.

Interface

Interface through which the spine node connects to a leaf node.

If the device is a master spine node, all interfaces on the device are displayed.

Link

Physical link state of the interface.

LeafIP

IPv4 address of the interface through which a leaf node connects to the spine node.

Status

Status of automated underlay network deployment on the leaf node.

This field displays two hyphens (--) if automated underlay network deployment is not started.

This field displays Deploying if automated underlay network deployment is in progress.

 

Related commands

vcf-fabric underlay autoconfigure

vcf-fabric topology enable

display vcf-fabric underlay autoconfigure

Use display vcf-fabric underlay autoconfigure to display information about automated underlay network deployment.

Syntax

display vcf-fabric underlay autoconfigure

Views

Any view

Predefined user roles

network-admin

network-operator

Usage guidelines

Before you execute this command, make sure automated underlay network deployment is enabled.

Examples

# Display information about automated underlay network deployment.

<Sysname> display vcf-fabric underlay autoconfigure

success command:

        #

          system

          clock timezone beijing add 08:00:00

        #

          system

          lldp global enable

        #

          system

          stp global enable

        #

          system

          interface Vlan-interface1

          ip address dhcp-alloc

        #

          system

          telnet server enable

        #

          system

          ssh server enable

        #

          system

          info-center loghost 110.0.0.111

        #

          system

          local-user aaa

          password ******

          service-type telnet http https ssh

          authorization-attribute user-role network-admin

        #

          system

          line vty 0 63

          authentication-mode scheme

          user-role network-admin

        #

          system

          vcf-fabric topology enable

        #

          system

          snmp-agent

          snmp-agent community read public

          snmp-agent community write private

          snmp-agent sys-info version all

        #

          system

          vlan 4093

        #

          system

          vlan 4094

        #

          system

          interface Vlan-interface4094

          ip address dhcp-alloc

        #

          system

          ntp-service enable

          ntp-service unicast-server 110.0.0.111

        #

          system

          snmp-agent

          snmp-agent community read public

          snmp-agent community write private

          snmp-agent sys-info version all

          snmp-agent packet max-size 4096

          snmp-agent target-host trap address udp-domain 110.0.0.111 params securityname public v2c

        #

          system

          telnet server enable

          local-user 2

          password ******

          service-type telnet http https

          authorization-attribute user-role network-admin

        #

          system

          ssh server enable

          local-user 3

          password ******

          service-type ssh http https

          authorization-attribute user-role network-admin

        #

          system

          netconf soap http enable

          netconf soap https enable

          local-user 1

          password ******

          service-type http https

          authorization-attribute user-role network-admin

        #

Table 3 Command output

Field

Description

success command

Commands that have been successfully executed during automated underlay network deployment.

Uplink interface

Uplink interfaces of the device.

Downlink interface

Downlink interfaces of the device.

AP-side interfaces

Interfaces connected to APs.

Loopback0 IP allocation

IP addresses assigned to Loopback 0.

Loopback1 IP allocation

IP addresses assigned to Loopback 1.

Aggregation configuration

Information about Layer 2 aggregation groups.

IRF allocation

IRF configurations, including IRF bridge MAC address of the IRF fabric, IRF status, and the IRF member ID of the device.

BGP peer configuration

Information about BGP peers of the device.

NOTE:

BGP peer information on all spine and leaf nodes is displayed only when this command is executed on the master spine node in a spine-aggregate-leaf VCF fabric.

 

Related commands

vcf-fabric underlay autoconfigure

display vcf-fabric underlay template-version

Use display vcf-fabric underlay template-version to display the supported version and the current version of the template file for automated VCF fabric deployment.

Syntax

display vcf-fabric underlay template-version

Views

Any view

Predefined user roles

network-admin

network-operator

Usage guidelines

The version format of a template file for automated VCF fabric deployment is x.y. Only the x part is examined during a version compatibility check. For successful automated deployment, make sure x in the version of the template file to be used is not greater than x in the supported version.

Examples

# Display the supported version and the current version of the template file for automated VCF fabric deployment when automated deployment is not started.

<Sysname> display vcf-fabric underlay template-version

Supported template version: 1.0

Current template version: Not available

# Display the supported version and the current version of the template file for automated VCF fabric deployment when automated deployment has finished.

<Sysname> display vcf-fabric underlay template-version

Supported template version: 1.0

Current template version: 1.0

Table 4 Command output

Field

Description

Supported template version

Supported version of the template file for automated VCF fabric deployment.

Current template version

Current version of the template file for automated VCF fabric deployment.

This field displays Not available if automated VCF fabric deployment has not started.

This field displays None if automated VCF fabric deployment has finished but the template file does not contain a version number.

 

vcf-fabric role

Use vcf-fabric role to specify the role of the device.

Use undo vcf-fabric role to restore the default.

Syntax

vcf-fabric role { access | aggr | leaf | spine }

undo vcf-fabric role

Default

The device is a leaf node.

Views

Neutron view

Predefined user roles

network-admin

mdc-admin

Parameters

access: Specifies the access node.

aggr: Specifies the aggregate node.

leaf: Specifies the leaf node.

spine: Specifies the spine node.

Usage guidelines

If you change the role of the device, the new role takes effect after the device restarts.

User-defined MDCs do not have a role by default. You can use this command to specify the role for the MDCs. Automated underlay network provisioning is not supported by user-defined MDCs. The Director server can identify the role of user-defined MDCs in the VCF fabric and deploy configuration to the MDCs through NETCONF.

Examples

# Specify the device as a spine node.

<Sysname> system-view

[Sysname] vcf-fabric role spine

vcf-fabric spine-role master

Use vcf-fabric spine-role master to specify the device as a master spine node.

Use undo vcf-fabric spine-role master to restore the default.

Syntax

vcf-fabric spine-role master

undo vcf-fabric spine-role

Default

The device is not a master spine node.

Views

System view

Predefined user roles

network-admin

Usage guidelines

You must execute this command on a spine node.

When multiple spines nodes exist in the VCF fabric, you must specify a device as the master spine node to collect the topology for the entire VCF fabric.

For the new role to take effect, you must restart the automated underlay network deployment. To restart the automated underlay network deployment, execute the undo vcf-fabric underlay autoconfigure command and then the vcf-fabric underlay autoconfigure command.

Examples

# Specify the device as a master spine.

<Sysname> system-view

[Sysname] vcf-fabric spine-role master

For this configuration to take effect, you must execute the undo vcf-fabric underlay autoconfigure and vcf-fabric underlay autoconfigure commands in sequence.

Related commands

vcf-fabric role

vcf-fabric underlay autoconfigure

vcf-fabric topology enable

Use vcf-fabric topology enable to enable VCF fabric topology discovery.

Use undo vcf-fabric topology enable to disable VCF fabric topology discovery.

Syntax

vcf-fabric topology enable

undo vcf-fabric topology enable

Default

VCF fabric topology discovery is disabled.

Views

System view

Predefined user roles

network-admin

Examples

# Enable VCF fabric topology discovery.

<Sysname> system-view

[Sysname] vcf-fabric topology enable

vcf-fabric underlay autoconfigure

Use vcf-fabric underlay autoconfigure to specify the template file for automated underlay network deployment.

Use undo vcf-fabric underlay autoconfigure to cancel automated underlay network deployment.

Syntax

vcf-fabric underlay autoconfigure template

undo vcf-fabric underlay autoconfigure

Default

No template file is specified for automated underlay network deployment.

Views

System view

Predefined user roles

network-admin

Parameters

template: Specifies a template file by its name, a case-insensitive string of 1 to 127 characters. A template file is a file ending with the .template file extension.

Usage guidelines

After this command is executed, the device uses the specified template file to deploy the underlay network.

If you re-execute this command after automated underlay network deployment is cancelled, the spine node will assign different IP addresses to loopback interfaces on leaf nodes. Thus, the leaf nodes will go offline and come online again.

Examples

# Specify template file vlan_leaf.template for automated underlay network deployment.

<Sysname> system-view

[Sysname] vcf-fabric underlay autoconfigure vlan_leaf.template

vcf-fabric underlay netconf-username

Use vcf-fabric underlay netconf-username to set the NETCONF username.

Use undo vcf-fabric underlay netconf-username to restore the default.

Syntax

vcf-fabric underlay netconf-username username

undo vcf-fabric underlay netconf-username

Default

The device uses the NETCONF username defined in the template file for automated VCF fabric deployment.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

username: Specifies the username used by the spine device to collect the global topology through NETCONF, a case-sensitive string of 1 to 63 characters.

Usage guidelines

This command is available on spine nodes.

During automated underlay network deployment, a spine node establishes NETCONF sessions with other devices in the underlay network to collect the global topology. If a user changes the username or password on a device in the undelay network, the NETCONF session between the device and the spine node is disconnected. Thun, the spine node fails to sense the topology change. To resolve the issue, use this command to change the NETCONF username on the spine node.

Make sure all devices in the underlay network use the same username and password for NETCONF session establishment.

Examples

# Set the NETCONF username to aaa.

<Sysname> system-view

[Sysname] vcf-fabric underlay netconf-username aaa

vcf-fabric underlay netconf-password

Use vcf-fabric underlay netconf-password to set the NETCONF password.

Use undo vcf-fabric netconf-underlay password to restore the default.

Syntax

vcf-fabric underlay netconf-password { cipher | simple } string

undo vcf-fabric underlay netconf-password

Default

The device uses the NETCONF password defined in the template file for automated VCF fabric deployment.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

cipher: Specifies the password in encrypted form.

simple: Specifies the password in plaintext form. For security purposes, the password specified in plaintext form will be stored in encrypted form.

string: Specifies the key. This argument is case sensitive. Its plaintext form is a string of 1 to 63 characters. Its encrypted form is a string of 1 to 127 characters.

Usage guidelines

This command is available on spine nodes.

During automated underlay network deployment, a spine node establishes NETCONF sessions with other devices in the underlay network to collect the global topology. If a user changes the username or password on a device in the undelay network, the NETCONF session between the device and the spine node is disconnected. Thun, the spine node fails to sense the topology change. To resolve the issue, use this command to change the NETCONF password on the spine node.

Make sure all devices in the underlay network use the same username and password for NETCONF session establishment.

Examples

# Set the NETCONF password to aaa in plaintext form.

<Sysname> system-view

[Sysname] vcf-fabric underlay netconf-password simple aaa

vcf-fabric underlay pause

Use vcf-fabric underlay pause to pause automated underlay network deployment.

Use undo vcf-fabric underlay pause to continue automated underlay network deployment.

Syntax

vcf-fabric underlay pause

undo vcf-fabric underlay pause

Default

Automated underlay network deployment is not paused.

Views

System view

Predefined user roles

network-admin

Usage guidelines

You can use this command to pause automated underlay network deployment if the device is in the process of automated underlay network deployment.

Examples

# Pause automated underlay network deployment.

<Sysname> system-view

[Sysname] vcf-fabric underlay pause

 

  • 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
新华三官网