Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

Dell EMC SmartFabric OS10 User Guide Release 10.5.0

PDF

为非默认 VRF 实例分配接口

创建非默认 VRF 实例之后,您可以将接口关联到您创建的 VRF 实例。

要为非默认 VRF 分配接口,请执行以下步骤:

  1. 输入要分配给非默认 VRF 实例的接口。
    CONFIGURATION
    interface ethernet 1/1/1
  2. 从 L2 交换中移除接口。
    INTERFACE
    no switchport
  3. 为非默认 VRF 分配接口。
    INTERFACE CONFIGURATION
    ip vrf forwarding vrf-test
    在为 VRF 实例分配接口之前,请确保未在接口上配置 IP 地址。
  4. 将一个 IPv4 地址分配给接口。
    INTERFACE CONFIGURATION
    ip address 10.1.1.1/24
  5. 将一个 IPv6 地址分配给接口。
    INTERFACE CONFIGURATION
    ipv6 address 1::1/64
    您也可以使用 ipv6 address autoconfig 命令自动配置 IPv6 地址。
    注: 在 VRF 实例中配置任何路由协议之前,您必须先将 IP 地址分配给要在其上配置路由协议的 VRF 实例的至少一个接口。

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\