Most of this information was stolen from cisco's documentation
set vlan 1 8/1-5 set vlan 1 8/48 |
unassign the ports |
set vlan 10 pvlan-type primary | initialize the VLAN |
set vlan 901 pvlan-type community set vlan 904 pvlan-type community set vlan 905 pvlan-type community |
initialize the private VLANs (note: any VLAN number can be used) |
set pvlan 10 901 8/1-3 set pvlan 10 904 8/4 set pvlan 10 905 8/5 |
assign ports to the private VLANs |
set pvlan mapping 10 901 15/1 set pvlan mapping 10 901 16/1 set pvlan mapping 10 901 8/48 set pvlan mapping 10 904 15/1 set pvlan mapping 10 904 16/1 set pvlan mapping 10 905 15/1 set pvlan mapping 10 905 16/1 |
map the promiscuous ports for the router(s). In this case, pvlan 901 has three ports for machines that can talk to each other and three routers. The two MSFC's are probably setup for HSRP, and the router plugged into 8/48 is a special router for pvlan 901 |
Next, make sure the MSFCs are configured with IP addresses
interface vlan10 ip address 10.6.27.2 255.255.255.0 no ip redirects standby 10 priority 105 standby 10 ip 10.6.27.1
interface vlan10 ip address 10.6.27.3 255.255.255.0 no ip redirects standby 10 priority 100 standby 10 ip 10.6.27.1
clear pvlan mapping 10 901 904 905 8/1-48 clear vlan 901 clear vlan 904 clear vlan 905 clear vlan 10