Cisco Ex SERIES Manual de usuario Pagina 72

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 83
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 71
Juniper Networks/Cisco Systems Switch Interoperability Cookbook
! ! !
72
Juniper!commands!
1. Define VLANs v2001 through v2004 with VLAN IDs of 2001 through 2004
respectively:
admin@EX9208> config
admin@EX9208# set vlans v2001 vlan-id 2001
admin@EX9208# set vlans v2002 vlan-id 2002
admin@EX9208# set vlans v2003 vlan-id 2003
admin@EX9208# set vlans v2004 vlan-id 2004
admin@EX9208# set vlans v2005 vlan-id 2005
2. Define a VLAN trunk port that allows tagged traffic from VLANs v2001 and v2002
and untagged traffic from VLAN v2003:
admin@EX9208# set interfaces xe-5/0/5 description "VLAN trunk to Nexus 7010
e3/9"
admin@EX9208# set interfaces xe-5/0/5 unit 0 family ethernet-switching vlan
members v2001
admin@EX9208# set interfaces xe-5/0/5 unit 0 family ethernet-switching
interface-mode trunk
admin@EX9208# set interfaces xe-5/0/5 unit 0 family ethernet-switching vlan
members v2001
admin@EX9208# set interfaces xe-5/0/5 unit 0 family ethernet-switching vlan
members v2002
admin@EX9208# set interfaces xe-5/0/5 unit 0 family ethernet-switching vlan
members v2003
3. On the VLAN trunk port, allow native untagged traffic from VLAN v2003. Note that
the native-vlan-id command takes the VLAN ID and not the VLAN name as an
argument:
admin@EX9208# set interfaces xe-5/0/5 native-vlan-id 2003
4. Define access-mode interfaces allowing untagged traffic from VLANs v2001 through
v2004:
admin@EX9208# set interfaces ge-2/0/0 description "to stc v2001"
admin@EX9208# set interfaces ge-2/0/0 unit 0 family ethernet-switching
interface-mode access
admin@EX9208# set interfaces ge-2/0/0 unit 0 family ethernet-switching vlan
members v2001
admin@EX9208# set interfaces ge-2/0/1 description "to stc v2002"
admin@EX9208# set interfaces ge-2/0/1 unit 0 family ethernet-switching
interface-mode access
admin@EX9208# set interfaces ge-2/0/1 unit 0 family ethernet-switching vlan
members v2002
admin@EX9208# set interfaces ge-2/0/2 description "to stc v2003"
admin@EX9208# set interfaces ge-2/0/2 unit 0 family ethernet-switching
interface-mode access
admin@EX9208# set interfaces ge-2/0/2 unit 0 family ethernet-switching vlan
members v2003
admin@EX9208# set interfaces ge-2/0/3 description "to stc v2004"
admin@EX9208# set interfaces ge-2/0/3 unit 0 family ethernet-switching
interface-mode access
Vista de pagina 71
1 2 ... 67 68 69 70 71 72 73 74 75 76 77 ... 82 83

Comentarios a estos manuales

Sin comentarios