#configure terminal | Enter configure mode |
(config)#interface xe1 | Enter interface mode |
(config-if)#ip address 20.20.0.2/24 | Assign an IPv4 address to the interface |
(config)#end | Exit interface and configure mode |
#configure terminal | Enter configure mode |
(config)#interface xe1 | Enter interface mode |
(config-if)#ip address 20.20.1.2/24 | Assign an IPv4 address to the interface |
(config)#end | Exit interface and configure mode |
#configure terminal | Enter configure mode |
(config)#interface xe1 | Enter interface mode |
(config-if)#ip address 20.20.0.1/24 | Assign an IPv4 address to the interface |
(config-if)#ip proxy-arp | Enable proxy ARP |
(config-if)#exit | Exit interface mode |
(config-if)#interface xe2 | Enter interface mode |
(config-if)#ip address 20.20.1.1/24 | Assign an IPv4 address to the interface |
(config)#end | Exit interface and configure mode |
#configure terminal | Enter configure mode |
(config)#interface xe1 | Enter interface mode |
(config-if)#ip address 20.20.0.2/24 | Assign an IPv4 address to the interface |
(config)#end | Exit interface and configure mode |
#configure terminal | Enter configure mode |
(config)#interface xe1 | Enter interface mode |
(config-if)#ip address 20.20.0.3/24 | Assign an IPv4 address to the interface |
(config)#end | Exit interface and configure mode |
#configure terminal | Enter configure mode |
(config)#bridge 1 protocol ieee vlan-bridge | Create ieee vlan-bridge on switch for pvlan configuration |
(config)#vlan database | Enter VLAN database mode |
(config-vlan)#vlan 100-101 bridge 1 state enable | Create VLANs 100 and 101 as part of bridge 1 |
(config-vlan)#private-vlan 100 primary bridge 1 | Configure VLAN 100 as primary VLAN |
(config-vlan)#private-vlan 101 isolated bridge 1 | Configure VLAN 101 as isolated VLAN |
(config-vlan)#private-vlan 100 association add 101 bridge 1 | Associate secondary VLAN 101 to primary VLAN 100 |
(config-vlan)#exit | Exit VLAN database mode |
(config)#interface xe1 | Enter interface mode |
(config-if)#switchport | Configure xe1 as a Layer 2 interface |
(config-if)#bridge-group 1 | Associate the interface to the bridge |
(config-if)#switchport access vlan 100 | Associate primary VLAN to the interface |
(config-if)#switchport mode private-vlan promiscuous | Make the interface a promiscuous port |
(config-if)#switchport private-vlan mapping 100 add 101 | Associate primary VLAN 100 and secondary VLAN 101 to a promiscuous port |
(config-if)#exit | Exit interface mode |
(config)#interface xe2 | Enter interface mode |
(config-if)#switchport | Make the interface a Layer 2 interface |
(config-if)#bridge-group 1 | Associate the interface to the bridge |
(config-if)#switchport access vlan 100 | Associate primary VLAN to the interface |
(config-if)#switchport mode private-vlan promiscuous | Make the interface a promiscuous port |
(config-if)#switchport private-vlan mapping 100 add 101 | Associate primary VLAN 100 and secondary VLAN 101 to a promiscuous port |
(config-if)#exit | Exit interface mode |
(config)#interface xe3 | Enter interface mode |
(config-if)#switchport | Make the interface a Layer 2 interface |
(config-if)#bridge-group 1 | Associate the interface to the bridge |
(config-if)#switchport access vlan 100 | Associate primary VLAN to the interface |
(config-if)#switchport mode private-vlan promiscuous | Make the interface a promiscuous port |
(config-if)#switchport private-vlan mapping 100 add 101 | Associate primary VLAN 100 and secondary VLAN 101 to a promiscuous port |
(config-if)#exit | Exit interface mode |
#configure terminal | Enter configure mode |
(config)#interface xe1 | Enter interface mode |
(config-if)#ip address 20.20.0.3/24 | Assign an IPv4 address to the interface |
(config-if)#ip local-proxy-arp | Enable local proxy ARP |
(config)#end | Exit interface and configure mode |