ip route-static Function The ip route-static command configures a unicast static route. The undo ip route-static command deletes a unicast static route. By default, no unicast static route is configured. Format ip route-static ip-address { mask | mask-length } { nexthop-address | interface...
ip address delIFADDRdevIFNAME删除IP地址 ip address flush devIFNAME清空所有的IP地址 ip address addIFADDRdevIFNAME[labelNAME]为额外添加的地址指明接口别名[broadcastADDRESS]广播地址;会根据IP和NETMASK自动计算得到[scopeSCOPE_VALUE]global全局可用 link 接口可用 host 仅本机可用 route:路由表配置 ip route h...
The undo ip rpf-route-static command deletes a multicast static route. By default, no multicast static route is configured. Format ip rpf-route-static [ vpn-instance vpn-instance-name ] source-address { mask | mask-length } { rpf-neighbor | interface-type interface-number } [ preference ...
You could configure a static route to an interface and not specify the next hop IP address. This is good for all cases where the interface is a point-to-point interface. This is not recommended if the interface is a multi-access interface, such as an Ethernet interface. The static route ...
route (static) To establish static routes, use theroutecommand in address family configuration mode. To remove the route command from the configuration, use thenoform of this command. prefixmask[vrfvrf-name]{ip-address|typeinterface-path-id}[distance][descriptiontext][tagtag][permanent]...
To delete one static route, use the undo ip route-static command. To delete all static routes, including the default route, use the delete static-routes all command. Examples # Delete all static routes. <Sysname> system-view [Sysname] delete static-routes all This will erase all IPv4 static...
You can create a static route group, and specify the static group in the ip route-static command. All prefixes in the static route group will be assigned the next hop and output interface specified in the ip route-static command. Procedure 1. Enter system view. system-view 2. Create a ...
Open Command Prompt. At the command prompt, type: route adddestinationmasksubnetmaskgatewaymetriccostmetricifinterface where: Static IP route entryDefinition destination Specifies either an IP address or host name for the network or host. subnetmask ...
Open Command Prompt. At the command prompt, type: route adddestinationmasksubnetmaskgatewaymetriccostmetricifinterface where: Static IP route entryDefinition destination Specifies either an IP address or host name for the network or host. subnetmask ...
route add -p <destination> mask <subnet-mask> <gateway> For example, the following route command tells the windows to add a new persistent route to the192.168.1.0/24network, using10.0.0.1as the gateway to reach the network. route add -p 192.168.1.0 mask 255.255.255.0 10.0.0.1 ...