在设置安慰vmr之后,它会自动给您一个默认的ip地址。我试图通过以下方式对其进行更改:启用>配置> ip管理>接口intf0静态> ip地址xxx.xxx/xx,但在显示ip管理之后,没有任何更改。
发布于 2017-03-24 17:27:58
在VMR版本8.1之前,可以像您所描述的那样通过CLI更改静态IP地址。最后一步是禁用DHCP以允许新的静态IP地址生效。
在VMR版本8.0及更早版本中更改IP的完整步骤如下:
sysadmin
身份登录到VMR。[support@solace ~]$ solacectl cli
System Software. SolOS-TR Version 7.2.x.x Virtual Message Router (Message Routing Node) Copyright 2004-2017 Solace Corporation. All rights reserved. ip-172-31-2-108> enable ip-172-31-2-108# configure ip-172-31-2-108(configure)# ip vrf management ip-172-31-2-108(configure/ip/vrf)# interface intf0:1 ip-172-31-2-108(configure/ip/vrf/interface)# ip-address <ip-address/xx> ip-172-31-2-108(configure/ip/vrf/interface)# exit ip-172-31-2-108(configure/ip/vrf)# route default <ip-address> ip-172-31-2-108(configure/ip/vrf)# no dhcp
新的静态IP地址将立即生效。
在VMR的8.1及更高版本中,不可能使用CLI更改IP。必须在主机上或通过云提供商配置IP。
https://stackoverflow.com/questions/42980889
复制相似问题