Sie sind auf Seite 1von 13

Summary FCX Config Guide

MAC del management port 0000.1234.2200 plus 0x30, or 0000.1234.2230

Colocar Ip y mostrar la Ip del MP Brocade(config-if-mgmt)#ip addr 10.44.9.64/24 Brocade(config)#show running-config interface management 1 interface management 1 ip address 10.44.9/64 255.255.255.0

Brocade(config)#show interfaces brief management 1

Stackable devices (FCX) use the stack-unit/slot/port nomenclature Brocade(config)#interface e 1/1/1

Alias Brocade(config)#alias shoro = show ip route Brocade(config)#alias wrsbc = copy running-config tftp 10.10.10.10 test.cfg Brocade(config)#no alias wrsbc Brocade(config)#unalias wrsbc

Login WEB Para acceder por via web primero se debe ingresar por consola y crear la comunidad SNMP con acceso de escritura RW User: set

Pass : <nombre de la comunidad>

get / public set/ private

Brocade(config)#web-management list-menu Brocade(config)#no web-management front-panel

System Administration Brocade(config)# hostname zappa zappa(config)# snmp-server contact Support Services zappa(config)# snmp-server location Centerville zappa(config)# end zappa# write memory

SNTP Brocade(config)# sntp server 208.99.8.95 Brocade(config)# sntp poll-interval 900 Brocade# show sntp associations Brocade# show sntp status Brocade# clock set 10:15:05 10-15-2003 Brocade# sntp sync Brocade(config)# clock timezone gmt gmt+10 Banner Brocade(config)# banner motd $ (Press Return) Enter TEXT message, End with the character '$'.

Welcome to FESX! $ Brocade(config)# no banner motd

Port Brocade(config)# interface ethernet 2 Brocade(config-if-e1000-2)# port-name Marsha Brocade(config)# interface ethernet 8 Brocade(config-if-e1000-8)# speed-duplex 100-full

Enable / Disable interface Brocade(config)# interface ethernet 8 Brocade(config-if-e1000-8)# disable Brocade(config)# interface ve v1 Brocade(config-vif-1)# disable Brocade(config-vif-1)# enable

Flow control Brocade(config)# no flow-control Brocade(config)# flow-control Brocade(config)# interface ethernet 0/1/21 Brocade(config-if-e1000-0/1/21)# no flow-control Brocade(config)# interface ethernet 0/1/21 Brocade(config-if-e1000-0/1/21)# flow-control neg-on

Voice Vlan Brocade(config)# interface ethernet 2

Brocade(config-if-e1000-2)# voice-vlan 1001 Brocade# show voice-vlan ethernet 2 Voice vlan ID for port 2: 1001

Ver la Flash Brocade#show flash Active Management Module (Slot 9): Compressed Pri Code size = 3613675, Version 03.1.00aT3e3 (sxr03100a.bin) Compressed Sec Code size = 2250218, Version 03.1.00aT3e1 (sxs03100a.bin) Compressed BootROM Code size = 524288, Version 03.0.01T3e5 Code Flash Free Space = 9699328 Standby Management Module (Slot 10): Compressed Pri Code size = 3613675, Version 03.1.00aT3e3 (sxr03100a.bin) Compressed Sec Code size = 2250218, Version 03.1.00aT3e1 (sxs03100a.bin) Compressed BootROM Code size = 524288, Version 03.0.01T3e5 Code Flash Free Space = 524288

The Compressed Pri Code size line lists the flash code version installed in the primary flash area. The Compressed Sec Code size line lists the flash code version installed in the secondary flash area. The Boot Monitor Image size line lists the boot code version installed in flash memory. The device does not have separate primary and secondary flash areas for the boot image. The flash memory module contains only one boot image.

Types of images. Boot: GRZxxxxxx.bin Flash : FCXSxxxxx.bin (Layer 2) or

Flash : FCXRxxxxx.bin (Layer 3)

Vissualiza el contenido del arcgivo startup-config Brocade#copy flash console startup-config.backup Brocade#copy flash console (colocar el archive que se quiere ver)

Visualiza el boot preference Brocade#show boot-preference

Copia a y desde tftp server al switch (The maximum size for the runningconfig and the startup-config file is 512K each) Brocade#copy tftp 10.10.20.1 start_config_20-11-2011 Brocade#copy running-config tftp 10.10.20.1 runing_config_20-11-2011 Brocade#copy tftp startup-config 10.10.20.1 config_20-11-2011 Tambien se puede usar el commando ncopy.

Ping Brocade> ping 192.33.4.7 Syntax: ping <ip addr> | <hostname> [source <ip addr>] [count <num>] [timeout <msec>] [ttl <num>] [size <byte>] [quiet] [numeric] [no-fragment] [verify] [data <1-to-4 byte hex>] [brief [max-print-per-sec <number>] ] Tracert Brocade> traceroute 192.33.4.7 Syntax: traceroute <host-ip-addr> [maxttl <value>] [minttl <value>] [numeric] [timeout <value>] [source-ip <ip-addr>

Ver licencias Brocade#show versin Brocade#show license

Habilitar Stack Brocade# config t Brocade(config)# stack enable Brocade(config)# exit Brocade# stack secure-setup Brocade# stack secure-setup Brocade# show stack

Configurar un Puerto stack como data port Brocade(config)#int e 1/2/1 Brocade(config-if-e10000-1/2/1)#longpreamble

Mostar los modulos instalados. Brocade#show media Brocade#show media slot 1 Brocade#show media eth 1/17

STP Full Support To enable STP for all ports in all VLANs on a Brocade device, enter the following command. Brocade(config)#spanning-tree

Brocade(config)#vlan 10

Brocade(config-vlan-10)#spanning-tree

To enable STP on an individual port, enter commands such as the following. Brocade(config)#interface 1/1 Brocade(config-if-e1000-1/1)#spanning-tree

To change a STP bridge priority on a Brocade devic root bridge, enter the following command. Brocade(config)#spanning-tree priority 0

Brocade(config)#vlan 20 Brocade(config-vlan-20)#spanning-tree priority 0

Brocade#(config) interface e 2 Brocade#(config-if-e1000-2)#stp-protect This command causes the port to drop STP BPDUs sent from the device on the other end of the link. Brocade#show stp-protect Brocade#show span Brocade#show vlans Brocade#show span detail Brocade#show span detail vlan 1 ethernet 7/1 Brocade#show interface ethernet 3/11

Fast Port Span

Brocade(config)#fast port-span Brocade(config)#write memory Brocade(config)#fast port-span exclude ethernet 1 Brocade(config)#write memory Brocade(config)#fast port-span exclude ethernet 1 to 24 Brocade(config)#write memory Brocade(config)#no fast port-span exclude ethernet 1 Brocade(config)#write memory

Fast Uplink Port group (habilitar slo en switch de borde) Brocade(config)# fast uplink-span ethernet 4/1 to 4/4 Brocade(config)# write memory Brocade(config)# show span fast-uplink-span

To configure Fast Uplink Span for a VLAN, enter command such as the following. Brocade(config)#vlan 10 Brocade(config-vlan-10)#untag ethernet 8/1 to 8/2 Brocade(config-vlan-10)#fast uplink-span ethernet 8/1 to 8/2 Brocade(config-vlan-2)#show span vlan 2 fast-uplink-span Brocade#show 802-1w detail

Trunk en puertos consecutivos Brocade(config)#trunk ethernet 1/1 to 1/4 Trunk will be created in next trunk deploy Brocade(config)#write memory Brocade(config)#trunk deploy

Trunk en puertos no consecutivos Brocade(config)#trunk ethe 1/7 ethe 1/9 ethe 1/11 ethe 1/21 Brocade(config)#trunk ethe 1/1/7 ethe 1/1/9 ethe 1/1/11 ethe 1/1/21

Trunk en chassis Brocade(config)#trunk ethernet 1/1 to 1/2 ethernet 4/5 to 4/6 Trunk will be created in next trunk deploy Brocade(config)#write memory Brocade(config)#trunk deploy

Trunk con un Puerto por modulo Brocade(config)#trunk ethernet 1/1 to 1/1 ethernet 2/1 to 2/1 Trunk will be created in next trunk deploy Brocade(config)#write memory Brocade(config)#trunk deploy

Trunk de puertos 10G Brocade(config)#trunk ethernet 1/1 to 2/1 Brocade(config-trunk-1/1-2/1)# write memory Brocade(config-trunk-1/1-2/1)# exit Brocade(config)#trunk deploy

Trunk en un Iron Stack Brocade(config)#trunk ethe 1/1/1 ethe 2/1/4 ethe 3/1/7 ethe 4/1/2 ethe 5/1/5 ethe 6/1/7 ethe 7/1/2 ethe 7/1/5

Trunk will be created in next trunk deploy. STK1(config)#trunk deploy

Borrar un trunk group Brocade(config)#no trunk ethernet 1/1 to 1/2 ethernet 3/3 to Brocade(config)# show trunk Ethernet 1/1 to 1/2]

To configure a LACP trunk group consisting of two groups of two ports each on an IronSt commands similar to the following. Brocade(config)#interface ethernet 1/1/1 to 1/1/4 Brocade(config-mif-1/1/1-1/1/4)#link-aggregate off Brocade(config-mif-1/1/1-1/1/4)#link-aggregate configure key 10000 Brocade(config-mif-1/1/1-1/1/4)#link-aggregate active Brocade(config-mif-1/1/1-1/1/4)#interface ethernet 3/1/5 to 3/1/8 Brocade(config-mif-3/1/5-3/1/8)#link-aggregate off Brocade(config-mif-3/1/5-3/1/8)#link-aggregate configure key 10000 Brocade(config-mif-3/1/5-3/1/8)#link-aggregate active Brocade(config)#show trunk

Brocade#show link-aggregate ethernet 1/1 Brocade#show link-aggregate

Habilitar LACP Brocade(config)#interface ethernet 1/1 to 1/4 Brocade(config-mif-1/1-1/4)#link-aggregate configure key 10000

Brocade(config-mif-1/1-1/4)#interface ethernet 3/5 to 3/8 Brocade(config-mif-3/5-3/8)#link-aggregate configure key 10000

Limpiar la cache LACP Brocade#clear link-aggregate

Crear Vlan con puertos untagged y tagged Brocade> enable Brocade# configure terminal Brocade(config)# hostname FESX-A Brocade-A(config)# vlan 2 name BROWN Brocade-A(config-vlan-2)# untagged ethernet 1 to 4 ethernet 17 Brocade-A(config-vlan-2)# tagged ethernet 25 to 26 Brocade-A(config-vlan-2)# spanning-tree Brocade-A(config-vlan-2)# vlan 3 name GREEN Brocade-A(config-vlan-3)# untagged ethernet 5 to 8 ethernet 18 Brocade-A(config-vlan-3)# tagged ethernet 25 to 26 Brocade-A(config-vlan-3)# spanning-tree

Borrar una Vlan Brocade-A(config)# no vlan 5

Borrar un puerto en una vlan Brocade-A(config)# Brocade-A(config)# vlan 4 Brocade-A(config-vlan-4)#

Brocade-A(config-vlan-4)# no untagged ethernet 11 deleted port ethe 11 from port-vlan 4.

Crear varias Vlans continuas. Brocade(config)#vlan 2 to 7 Brocade(config-mvlan-2-7)#

Crear varias vlans discontinuas Brocade(config)#vlan 2 to 7 20 25 Brocade(config-mvlan-2*25)#

To reassign the default VLAN to a different VLAN ID, enter the following command. Brocade(config)# default-vlan-id 4095 Dual Mode Port Brocade(config)# vlan 20 Brocade(config-vlan-20)# tagged ethernet 2/11 Brocade(config-vlan-20)# tagged ethernet 2/9 Brocade(config-vlan-20)# interface ethernet 2/11 Brocade(config-if-e1000-2/11)# dual-mode Brocade(config-if-e1000-2/11)# exit

Brocade# show vlan Brocade# show vlan brief Brocade# show vlan brief ethernet 7 Brocade# show interfaces ethernet 7 Brocade# show pvlan

Das könnte Ihnen auch gefallen