Chapter 22 Layer 2 Isolation
UAG CLI Reference Guide
139
22.3 Layer 2 Isolation Commands Example
The following example enables Layer-2 isolation on the UAG and interface lan2. It also creates a
rule in the white list to allow access to the device with IP address 172.17.0.66. It then displays the
Layer-2 isolation settings.
Router# configure terminal
Router(config)# l2-isolation
Router(l2-isolation)# activate
Router(l2-isolation)# interface lan2
Router(l2-isolation)# white-list 1
Router(white-list)# activate
Router(white-list)# description PC
Router(white-list)# ip-address 172.17.0.66
Router(white-list)# exit
Router(config)# show l2-isolation
interface
===============================================================================
lan2
Router(config)# show l2-isolation activation
Layer2 Isolation Status: yes
Router(config)# show l2-isolation white-list
layer2 isolation white list rule: 1
active: yes
ip address: 172.17.0.66
description: PC
Router(config)#