1. Create the Etherchannel and bring it up:
laks:/root # dladm show-dev
nge0 link: up speed: 100 Mbps duplex: full
rge0 link: up speed: 100 Mbps duplex: full
rtls0 link: unknown speed: 100 Mbps duplex: unknown
Create the Etherchannel (aggregation):
laks:/root # dladm create-aggr -d rge0 -d rtls0 1
laks:/root # ifconfig aggr1 plumb
laks:/root # dladm show-aggr
key: 1 (0x0001) policy: L4 address: 0:16:a:1c:4a:6e (auto)
device address speed duplex link state
rge0 0:16:a:1c:4a:6e 100 Mbps full up attached
laks:/root # ifconfig aggr1 192.168.2.31 up
2. Create a IEEE802.1Q Trunk:
Here vlan 21 is used on Etherchannel aggr1:
laks:/root # ifconfig aggr120001 plumb
Assign an IP address:
laks:/root # ifconfig aggr120001 1.2.3.4 netmask 255.0.0.0 up
Now assign an etherchannel to the LACP compatible Cisco Switch:
witch3560(config)#inter fastEthernet 0/6
Switch3560(config-if)#channel-group 3 mode active
Creating a port-channel interface Port-channel 3
See if you get the PO up:
Switch3560(config-if)#no shut
000019: *Mar 1 00:16:19: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/6, changed state to up
On Solaris:
laks:/root # dladm show-dev
nge0 link: up speed: 100 Mbps duplex: full
rge0 link: up speed: 100 Mbps duplex: full
rtls0 link: unknown speed: 100 Mbps duplex: unknown
0. In the Cisco switch, make a TRUNK:
Switch3560(config-if)#switchport trunk encapsulation dot1q
Switch3560(config-if)#switchport mode trunk
000021: *Mar 1 00:18:14: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
000022: *Mar 1 00:18:15: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/6, changed state to down
Create VLAN 12:
Switch3560(config) # vlan 12
Now if possible on the Switch – side, assign an IP address in VLAN12:
Switch3560(config-if)#exit
Switch3560(config)#interface vlan 12
Switch3560(config-if)#ip address
000024: *Mar 1 00:19:20: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/6, changed state to up
Switch3560(config-if)#ip address 1.2.3.5 255.0.0.0
Switch3560(config-if)#no shut
CHECK THAT THE VLAN ADDRESS COMES UP:
Switch3560#sh ip int brief
Interface IP-Address OK? Method Status Protocol
Vlan1 192.168.2.25 YES NVRAM up up
Vlan12 1.2.3.5 YES manual up up
Ping the IP address in VLAN 12 from the switch.
Switch3560#ping 1.2.3.5
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.2.3.5, timeout is 2 seconds:
Check the trunk on the switch:
Switch3560#sh int trunk
Port Mode Encapsulation Status Native vlan
Fa0/6 on 802.1q trunking 1