admin@EX9208# set interfaces xe-5/3/1 unit 0 family ethernet-switching vlan
members v2002
admin@EX9208# set interfaces xe-5/3/1 unit 0 family ethernet-switching vlan
members v2003
admin@EX9208# set interfaces xe-12/3/0 unit 0 family ethernet-switching
interface-mode trunk
admin@EX9208# set interfaces xe-12/3/0 unit 0 family ethernet-switching
vlan members v2001
admin@EX9208# set interfaces xe-12/3/0 unit 0 family ethernet-switching
vlan members v2002
admin@EX9208# set interfaces xe-12/3/0 unit 0 family ethernet-switching
vlan members v2003
3. (Optional) Create link aggregation group (LAG) ae1 and add interfaces to the LAG.
Link aggregation is optional, and is not required for LLDP to work:
admin@EX9208# set protocols lldp interface all
admin@EX9208# set interfaces ae1 description "linkagg to 3850"
admin@EX9208# set interfaces ae1 aggregated-ether-options lacp active
admin@EX9208# set interfaces ae1 unit 0 family ethernet-switching interface-
mode trunk
admin@EX9208# set interfaces ae1 unit 0 family ethernet-switching vlan members
v2001
admin@EX9208# set interfaces ae1 unit 0 family ethernet-switching vlan members
v2002
admin@EX9208# set interfaces ae1 unit 0 family ethernet-switching vlan members
v2003
admin@EX9208# set interfaces xe-5/3/1 description "ae1 linkagg to 3850"
admin@EX9208# set interfaces xe-5/3/1 ether-options 802.3ad ae1
admin@EX9208# set interfaces xe-12/3/0 description "ae1 linkagg to 3850"
admin@EX9208# set interfaces xe-12/3/0 ether-options 802.3ad ae1
4. (Optional) Enable LLDP. On Juniper switches, LLDP is enabled by default on all
interfaces; if LLDP has not been disabled, skip this step. The following (optional)
command enables LLDP on all interfaces but it also can be set on a per-interface basis:
admin@EX9208# set protocols lldp interface all
5. (Optional) Disable rapid spanning tree protocol (RSTP). In this example RSTP is
disabled on all interfaces but it also can be set on a per-interface basis:
admin@EX9208# delete protocols rstp
admin@EX9208# commit
Cisco!commands!
1. Define VLANs 2001-2003:
Cat3850# configure terminal
Cat3850(config)# vlan 2001
Cat3850(config-vlan)# exit
Cat3850(config)# vlan 2002
Cat3850(config-vlan)# exit
Cat3850(config)# vlan 2002
Cat3850(config-vlan)# exit
Comentarios a estos manuales