Allied Telesis C613-16164-00 REV E Network Card User Manual


 
Configure VRF-lite | Page 31
Simple VRF-lite configuration examples
!
access-list standard greenBlock3334 deny 192.168.33.0/24
access-list standard greenBlock3334 deny 192.168.34.0/24
access-list standard greenBlock3334 permit any
access-list standard redBlock3435 deny 192.168.34.0/24
access-list standard redBlock3435 deny 192.168.35.0/24
access-list standard redBlock3435 permit any
!
ip vrf red
rd 100:1
route-target export 100:1
route-target import 100:3
import map red33
!
ip vrf green
rd 100:2
route-target export 100:2
route-target import 100:3
import map green35
!
ip vrf shared
rd 100:3
route-target import 100:1
route-target import 100:2
route-target export 100:3
!
vlan database
vlan 2-3 state enable
!
interface port1.0.1
switchport
switchport mode access
!
interface port1.0.2
switchport
switchport mode access
switchport access vlan 2
!
interface port1.0.3
switchport
switchport mode access
switchport access vlan 3
!
interface port1.0.4-1.0.26
switchport
switchport mode access
!
[cont...]