API Guide
no shutdown
!
interface ethernet1/1/2
no shutdown
no switchport
ip vrf forwarding blue
ip address 20.0.0.1/24
!
interface ethernet1/1/3
no shutdown
no switchport
ip vrf forwarding orange
ip address 30.0.0.1/24
!
interface ethernet1/1/4
no shutdown
no switchport
ip vrf forwarding green
ip address 40.0.0.1/24
!
interface vlan128
mode L3
no shutdown
ip vrf forwarding blue
ip address 1.0.0.1/24
!
interface vlan192
mode L3
no shutdown
ip vrf forwarding orange
ip address 2.0.0.1/24
!
!
interface vlan256
mode L3
no shutdown
ip vrf forwarding green
ip address 3.0.0.1/24
!
ip route vrf green 31.0.0.0/24 3.0.0.1
路由器 2
ip vrf blue
!
ip vrf orange
!
ip vrf green
!
interface ethernet 1/1/1
no ip address
no switchport
no shutdown
!
interface ethernet1/1/5
no shutdown
no switchport
ip vrf forwarding blue
ip address 21.0.0.1/24
!
interface ethernet1/1/6
no shutdown
no switchport
ip vrf forwarding orange
ip address 31.0.0.1/24
!
interface ethernet1/1/7
no shutdown
no switchport
ip vrf forwarding green
ip address 41.0.0.1/24
!
interface vlan128
第 3 层 499