多联机附加
Syntax
多联机附加 no vrf attach
Description
Assigns an IP tunnel to a VRF. By default, all tunnels are automatically assigned to the default VRF when they are created.
Theno
form of this command assigns a tunnel to the default VRF (default
).
Command context
config-gre-if
config-ip-if
Parameters
-
-
指定了多联机的名字to which to assign the tunnel.
Authority
Administrators or local user group members with execution rights for this command.
Examples
Assigns GRE tunnel33tovrf1.
开关(配置)#interface tunnel 33 mode gre ipv4switch(config-gre-if)#多联机附加vrf1
Reassigns GRE tunnel33to the default VRF.
开关(配置)#interface tunnel 33switch(config-gre-if)#no vrf attach vrf1
Assigns IPv6 in IPv4 tunnel27tovrf2.
开关(配置)#interface tunnel 27 mode gre ipv4switch(config-ip-if)#多联机附加vrf2
Reassigns IPv6 in IPv4 tunnel27to the default VRF.
开关(配置)#interface tunnel 27switch(config-ip-if)#no vrf attach vrf2
Assigns IPv6 in IPv6 tunnel8tovrf3.
开关(配置)#interface tunnel 8 mode ip 6in6switch(config-ip-if)#多联机附加vrf3
Reassigns IPv6 in IPv6 tunnel8to the default VRF.
开关(配置)#interface tunnel 8switch(config-ip-if)#no vrf attach vrf3