Specifications

8-90 add vlanrelay Rapier Switch Software Reference
Software Release 2.7.3
C613-03098-00 REV A
add vlanrelay
Syntax ADD VLANRelay=name [PROTocol=protocoltype] [VLAN={vlan-
name|1..4094}]
where:
name is a unique name for the VLAN relay entity 1 to 15 characters long.
Valid characters are uppercase and lowercase letters, digits, the
underscore, and the hyphen.
protocoltype is either a valid protocol number in hexadecimal notation, or a
recognised protocol name. A protocol number is 1 byte for SAP, 2 bytes for
ETHII, or 5 bytes for an 802.2 SNAP type packet.
vlan-name is a unique name from 1 to 32 characters. Valid characters are
uppercase and lowercase letters, digits, the underscore, and the hyphen.
The vlan-name cannot be a number or ALL.
Description This command adds a protocol number and/or a VLAN to a VLAN relay
entity. At least one protocol and two VLANs must be added to a VLAN relay
entity before the entity can begin relaying packets.
The vlanrelay parameter specifies the unique identifier for the VLAN relay
entity. A VLAN relay entity with this name must already exist.
The protocol parameter specifies an Ethernet protocol number for packets that
are to be relayed. A predefined list of common protocols is provided in
Table 8-5 on page 8-25. To relay one of these protocols, specify the protocol
name as the value for the protocol parameter. There is also the option of
relaying all protocols of a given encapsulation type by use of the keywords
all802”, “allethii” and “allsnap”.
Use of the “ALL802”, “ALLETHII” and “ALLSNAP” protocols can cause traffic
to be unexpectedly relayed where it is not desired. It is more desirable to
explicitly enter the identification numbers of the protocols to be relayed.
The vlan parameter specifies the name or VLAN identifier of a VLAN to add to
the VLAN relay entity. Adding a VLAN allows packets from that VLAN to be
received and relayed, and packets from other VLANs to be relayed to that
VLAN. The VLAN must already exist, and must be a static VLAN.
Example To add the VLAN whose ID is 2, and all SAP protocols, to VLAN relay entity
SNARelay, use the command:
add vlanr=snarelay vlan=2 prot=all802
Related Commands create vlanrelay
delete vlanrelay
destroy vlanrelay
show vlanrelay