Configuring a static route

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Configure a static route for a VPN instance to reach the multirole host.

ip route-static vpn-instance s-vpn-instance-name dest-address { mask-length | mask } vpn-instance d-vpn-instance-name next-hop-address [ track track-entry-number ] [ permanent ] [ preference preference ] [ tag tag-value ] [ description text ]

By default, no static routes are configured.

The d-vpn-instance-name argument represents the VPN instance to which the multirole host belongs. The next-hop-address argument represents the IP address of the CE in the site where the multirole host resides.