目录 1 VCF Fabric 1-1 1.1 VCF Fabric 配置命令 1-1 1.1.1 display vcf-fabric role 1-1 1.1.2 display vcf-fabric topology 1-2 1.1.3 display vcf-fabric underlay autoconfigure 1-3 1.1.4 vcf-fabric role 1-5 1.1.5 vcf-fabric spine-role master 1-6 1.1.6 vcf-fabric topology enable 1-7 1.1.7 vcf-fabric underlay autoconfigure 1-7 1.1.8 vcf-fabric underlay pause 1-8 i
1 VCF Fabric 1.1 VCF Fabric 配置命令 1.1.1 display vcf-fabric role display vcf-fabric role 命令用来查看设备在 VCF Fabric 中的角色 命令 display vcf-fabric role 视图 任意视图 缺省用户角色 network-operator mdc-operator 使用指导 设备在 VCF Fabric 中的角色可通过 vcf-fabric role 命令进行配置, 配置后的角色可以通过本命令查看 举例 查看设备在 VCF Fabric 中的角色 <System> display vcf-fabric role Default role: leaf Current role: leaf 表 1-1 display vcf-fabric role 命令显示信息描述表 字段 描述 设备缺省的 VCF Fabric 角色, 包含如下取值 Default role spine: 设备角色为 spine leaf: 设备角色为 leaf access: 设备角色为 access 设备当前配置的 VCF Fabric 角色, 包含如下取值 Current role spine: 设备角色为 spine leaf: 设备角色为 leaf access: 设备角色为 access 1-1
相关命令 vcf-fabric role 1.1.2 display vcf-fabric topology display vcf-fabric topology 命令用来查看 VCF Fabric 的拓扑信息 命令 display vcf-fabric topology 视图 任意视图 缺省用户角色 network-operator mdc-operator 使用指导 只有在主 Spine 设备上执行本命令, 才能查看到拓扑信息 要正确显示 VCF Fabric 拓扑信息, 必须保证 VCF Fabric 的拓扑发现和 Underlay 网络配置自动化功能已经开启 举例 查看 VCF Fabric 组网的拓扑信息 <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-GigabitEthernet1/0/1 Up 10.11.113.52 Deploying Ten-GigabitEthernet1/0/2 Down -- -- Ten-GigabitEthernet1/0/3 Down -- -- 表 1-2 display vcf-fabric topology 命令显示信息描述表 字段 SpineIP Interface Link LeafIP Status 描述 Leaf-Spine 拓扑网络中,Spine 节点设备的管理以太网接口的 IPv4 地址,* 表示主 Spine 节点 Spine 节点设备上连接 Leaf 节点设备的接口当设备角色为主 Spine 节点时, 显示其所有接口 Spine 节点设备上连接 Leaf 节点设备的接口状态与 Spine 节点设备相连的 Leaf 节点设备上接口的 IPv4 地址 Leaf 节点设备 Underlay 网络的自动化配置的状态 --: 未开始 1-2
Deploying: 正在进行自动化配置 相关命令 vcf-fabric underlay autoconfigure vcf-fabric topology enable 1.1.3 display vcf-fabric underlay autoconfigure display vcf-fabric underlay autoconfigure 命令用来查看 Underlay 网络的自动化配置信息 命令 display vcf-fabric underlay autoconfigure 视图 任意视图 缺省用户角色 network-operator mdc-operator 使用指导 通过模板文件进行 Underlay 网络的自动配置后, 可通过本命令查看 Underlay 网络的自动化配置信息 举例 查看 Underlay 网络自动化配置信息 <Sysname> display vcf-fabric underlay autoconfigure success command: clock timezone beijing add 08:00:00 lldp global enable lldp compliance cdp ospf 1 graceful-restart ietf area 0.0.0.0 interface LoopBack0 l2vpn enable 1-3
vxlan tunnel mac-learning disable vxlan tunnel arp-learning disable stp global enable ntp-service enable ntp-service unicast-peer 172.16.1.136 netconf soap https enable restful https enable info-center loghost 172.16.1.136 local-user aaa password ****** service-type https authorization-attribute user-role line vty 0 63 authentication-mode scheme user-role bgp 100 graceful-restart address-family l2vpn evpn vcf-fabric topology enable neutron rabbit user openstack rabbit password ****** rabbit host ip 172.16.1.136 restful user aaa password ****** vpn-target 1:1 export-extcommunity vsi-mac 789c-2f5f-0200 network-type distributed-vxlan proxy-arp enable 1-4
l2agent enable l3agent enable snmp-agent snmp-agent packet max-size 4096 snmp-agent community read public snmp-agent community write private snmp-agent sys-info version all Uplink interface: Ten-GigabitEthernet1/0/1 Ten-GigabitEthernet1/0/2 Downlink interface: Ten-GigabitEthernet1/0/3 Ten-GigabitEthernet1/0/4 Loopback0 IP Allocation: DEV_MAC LOOPBACK_IP MANAGE_IP STATE a43c-adae-0400 200.1.1.6 172.16.1.193 up a43c-9aa7-0100 200.1.1.4 172.16.1.152 up Aggregation configurations: AggrID: 7 interface: Ten-GigabitEthernet1/0/5 interface: Ten-GigabitEthernet1/0/6 bgp configure peer: 200.1.1.4 表 1-3 display vcf-fabric status 命令显示信息描述表 字段 描述 success command Uplink interface Downlink interface Aggregation configurations Loopback0 IP Allocation bgp configure peer 配置自动化过程中, 已经成功执行的命令行设备的上行口设备的下行口二层聚合组信息为 Loopback 接口分配的 IP 地址列表 BGP 配置信息 相关命令 vcf-fabric underlay autoconfigure 1.1.4 vcf-fabric role vcf-fabric role 命令用来指定设备在 VCF Fabric 网络拓扑中的角色 undo vcf-fabric role 命令用来恢复缺省情况 1-5
命令 vcf-fabric role { access leaf spine } undo vcf-fabric role 缺省情况 未配置设备在 VCF Fabric 网络拓扑中的角色 视图 系统视图 缺省用户角色 参数 access: 指定 Access 节点角色 leaf: 指定 Leaf 节点角色 spine: 指定 Spine 节点角色 使用指导 网络拓扑角色的修改需要设备重启后才能生效 举例 指定设备在 VCF Fabric 网络拓扑中的角色为 Spine 节点 <Sysname> -view [Sysname] vcf-fabric role spine 1.1.5 vcf-fabric spine-role master vcf-fabric spine-role master 命令用来配置设备角色为主 Spine 节点 undo vcf-fabric spine-role 命令用来恢复缺省情况 命令 vcf-fabric spine-role master undo vcf-fabric spine-role 缺省情况 设备不作为主 Spine 节点 视图 系统视图 缺省用户角色 使用指导 本命令只能在 Spine 节点设备上配置 1-6
采用 Leaf-Spine 的 VCF Fabric 网络拓扑且网络中存在多个 Spine 节点时, 主 Spine 节点负责收集全网拓扑, 进行 Loopback IP 地址分配等 在 Underlay 网络配置自动化过程中, 一般通过执行模板文件将设备角色配置为主 Spine 节点, 不需要进行手工配置 举例 配置设备角色为主 Spine 节点 <Sysname> -view [Sysname] vcf-fabric spine-role master 相关命令 vcf-fabric role 1.1.6 vcf-fabric topology enable vcf-fabric topology enable 命令用来开启 VCF Fabric 网络拓扑发现功能 undo vcf-fabric topology enable 命令用来关闭 VCF Fabric 网络拓扑发现功能 命令 vcf-fabric topology enable undo vcf-fabric topology enable 缺省情况 VCF Fabric 网络拓扑发现功能处于关闭状态 视图 系统视图 缺省用户角色 举例 开启 VCF Fabric 网络拓扑发现功能 <Sysname> -view [Sysname] vcf-fabric topology enable 1.1.7 vcf-fabric underlay autoconfigure vcf-fabric underlay autoconfigure 命令用来采用指定的模板文件进行 Underlay 网络的自动配置 undo vcf-fabric underlay autoconfigure 命令用来恢复缺省情况 命令 vcf-fabric underlay autoconfigure template undo vcf-fabric underlay autoconfigure 缺省情况 未指定进行 Underlay 网络自动配置的模板文件 1-7
视图 系统视图 缺省用户角色 参数 template: 模板文件名, 以.template 为后缀, 从存储介质名称开始包括后缀名最多可输入 127 个字符, 不区分大小写 使用指导 用户预先通过 TFTP 等方式将模板文件保存到本地设备, 执行本命令后, 设备将采用指定的模板文件进行 Underlay 网络的自动配置 举例 采用模板文件 vxlan_spine.template 进行 Underlay 网络的自动配置 <Sysname> -view [Sysname] vcf-fabric underlay autoconfigure vxlan_spine.template 1.1.8 vcf-fabric underlay pause vcf-fabric underlay pause 命令用来暂停 Underlay 网络的自动配置功能 undo vcf-fabric underlay pause 命令用来重新启动 Underlay 网络的自动配置功能 命令 vcf-fabric underlay pause undo vcf-fabric underlay pause 缺省情况 Underlay 网络的自动配置功能处于非暂停状态 视图 系统视图 缺省用户角色 使用指导 设备已经启动 Underlay 网络的自动配置功能后, 可利用本命令暂停自动配置功能 举例 暂停 Underlay 网络的自动配置功能 <sysname> -view [sysname] vcf-fabric underlay pause 1-8