Lenovo G8052 RackSwitch Guide
Lenovo G8052 RackSwitch Guide
Application Guide
For Networking OS 8.3
Note: Before using this information and the product it supports, read the general information in the
Safety information and Environmental Notices and User Guide documents on the Lenovo Documentation CD
and the Warranty Information document that comes with the product.
LIMITED AND RESTRICTED RIGHTS NOTICE: If data or software is delivered pursuant a General
Services Administration “GSA” contract, use, reproduction, or disclosure is subject to restrictions set
forth in Contract No. GS-35F-05925.
Lenovo and the Lenovo logo are trademarks of Lenovo in the United States, other countries, or both.
Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Who Should Use This Guide . . . . . . . . . . . . . . . . . . . . . . .18
What You’ll Find in This Guide . . . . . . . . . . . . . . . . . . . . . .19
Additional References . . . . . . . . . . . . . . . . . . . . . . . . . .23
Typographic Conventions . . . . . . . . . . . . . . . . . . . . . . . .24
How to Get Help . . . . . . . . . . . . . . . . . . . . . . . . . . . .25
Part 5: IP Routing
Chapter 20, “Basic IP Routing,” describes how to configure the G8052 for IP
routing using IP subnets, BOOTP, and DHCP Relay.
Chapter 21, “Policy-Based Routing describes how to configure the G8052 to
forward traffic based on defined policies rather than entries in the routing table.
Chapter 22, “Routed Ports describes how to configure a switch port to forward
Layer 3 traffic.
Chapter 23, “Internet Protocol Version 6,” describes how to configure the G8052
for IPv6 host management.
Chapter 24, “IPsec with IPv6,” describes how to configure Internet Protocol
Security (IPsec) for securing IP communications by authenticating and
encrypting IP packets, with emphasis on Internet Key Exchange version 2, and
authentication/confidentiality for OSPFv3.
Chapter 25, “Routing Information Protocol,” describes how the N/OS software
implements standard Routing Information Protocol (RIP) for exchanging
TCP/IP route information with other routers.
Part 9: Appendices
Appendix A, “Glossary,” describes common terms and concepts used
throughout this guide.
ABC123 This type is used for names of View the [Link] file.
commands, files, and directories
used within the text.
AaBbCc123 This block type depicts menus, Click the Save button.
buttons, and other controls that
appear in Web browsers and other
graphical interfaces.
The warranty card received with your product provides details for contacting a
customer support representative. If you are unable to locate this information, please
contact your reseller. Before you call, prepare the following information:
Serial number of the switch unit
Software release version number
Brief description of the problem and the steps you have already taken
Technical support dump information (# show techsupport)
This chapter discusses the various methods that can be used to administer the
switch.
In all cases, administration requires that the switch hardware is properly installed
and turned on. (see the RackSwitch G8052 Installation Guide).
You can establish a connection to the ISCLI in any of the following ways:
Serial connection via the serial port on the G8052 (this option is always available)
Telnet connection over the network
SSH connection over the network
Browser-Based Interface
The Browser-based Interface (BBI) provides access to the common configuration,
management and operation features of the G8052 through your Web browser.
Remote access using the network requires the accessing terminal to have a valid,
routable connection to the switch interface. The client IP address may be
configured manually, or an IPv4 address can be provided automatically through
the switch using a service such as DHCP or BOOTP relay (see “BOOTP/DHCP
Client IP Address Services” on page 38), or an IPv6 address can be obtained using
IPv6 stateless address configuration.
Note: Throughout this manual, IP address is used in places where either an IPv4 or
IPv6 address is allowed. IPv4 addresses are entered in dotted-decimal notation (for
example, [Link]), while IPv6 addresses are entered in hexadecimal notation (for
example, 2001:db8:85a3::8a2e:370:7334). In places where only one type of address is
allowed, IPv4 address or IPv6 address is specified.
To manage the switch using Telnet, SNMP, or a Web browser, you must configure
an IP interface.
When a DHCP server is present in the local network for the switch, the DHCP
server will be used to configures the IP interface. However, if the switch fails to
renew the address obtained through DHCP, the following factory configured
settings will be used for IP interface 1:
IPv4 address: [Link]
Mask:[Link]
Gateway:[Link]
DHCP: enabled
RS G8052> enable
RS G8052# configure terminal
RS G8052(config)# interface ip <IP interface number>
Using IPv6:
RS G8052(configipif)# vlan 1
RS G8052(configipif)# enable
RS G8052(configipif)# exit
If using IPv6:
Once you configure the IP address and have a network connection, you can use the
Telnet program from an external management station to access and control the
switch. Once the default gateway is enabled, the management station and your
switch do not need to be on the same IP subnet.
Using Telnet
A Telnet connection offers the convenience of accessing the switch from a
workstation connected to the network. Telnet access provides the same options for
user and administrator access as those available through the console port.
Once the switch is configured with an IP address and gateway, you can use Telnet
to access switch administration from any workstation connected to the
management network.
To establish a Telnet connection with the switch, run the Telnet program on your
workstation and issue the following Telnet command:
You will then be prompted to enter a password as explained “Switch Login Levels”
on page 42.
Two attempts are allowed to log in to the switch. After the second unsuccessful
attempt, the Telnet client is disconnected via TCP session closure.
The switch can do only one session of key/cipher generation at a time. Thus, a
SSH/SCP client will not be able to login if the switch is doing key generation at that
time. Similarly, the system will fail to do the key generation if a SSH/SCP client is
logging in at that time.
Lenovo Network Operating System implements the SSH version 2.0 standard and
is confirmed to work with SSH version 2.0-compliant clients such as the following:
OpenSSH_5.4p1 for Linux
Secure CRT Version 5.0.2 (build 1021)
Putty SSH release 0.60
To establish an SSH connection with the switch, run the SSH program on your
workstation by issuing the SSH command, followed by the switch IPv4 or IPv6
address:
You will then be prompted to enter a password as explained “Switch Login Levels”
on page 42.
1. Enable SSH:
2. Import the public key file using SFTP or TFTP for the admin user account::
Notes:
Once the public key is configured on the switch, the client can use SSH to login
from a system where the private key pair is set up:
You can also access the BBI directly from an open Web browser window. Enter the
URL using the IP address of the switch interface (for example, [Link] or
IPv6 address>).
To disable or re-enable HTTP access to the switch BBI, use the following
commands:
The default HTTP web server port to access the BBI is port 80. However, you can
change the default Web server port with the following command:
To access the BBI from a workstation, open a Web browser window and type in the
URL using the IP address of the switch interface (for example, [Link] or
IPv6 address>).
1. Enable HTTPS.
By default, BBI access via HTTPS is disabled on the switch. To enable BBI Access
via HTTPS, use the following command:
To change the HTTPS Web server port number from the default port 443, use the
following command:
The certificate is valid only until the switch is rebooted. To save the certificate so it
is retained beyond reboot or power cycles, use the following command:
When a client (such as a web browser) connects to the switch, the client is asked to
accept the certificate and verify that the fields match what is expected. Once BBI
access is granted to the client, the BBI can be used.
Context buttons—These buttons allow you to select the type of action you wish to
perform. The Configuration button provides access to the configuration elements
for the entire switch. The Statistics button provides access to the switch statistics
and state information. The Dashboard button allows you to display the settings and
operating status of a variety of switch features.
The read and write community strings on the switch can be configured using the
following commands:
The SNMP manager must be able to reach any one of the IP interfaces on the
switch.
For the SNMP manager to receive the SNMPv1 traps sent out by the SNMP agent
on the switch, configure the trap host on the switch with the following commands:
To restrict SNMP access to specific IPv4 subnets, use the following commands:
Note: Subnets allowed for SNMP read-only access must not overlap with subnets
allowed for SNMP read-write access.
For more information on SNMP usage and configuration, see Chapter 35, “Simple
Network Management Protocol.”
The G8052 can function as a relay agent for Bootstrap Protocol (BOOTP) or DHCP.
This allows clients to be assigned an IPv4 address for a finite lease period,
reassigning freed addresses later to other clients.
Acting as a relay agent, the switch can forward a client’s IPv4 address request to up
to five BOOTP/DHCP servers. In addition to the five global BOOTP/DHCP servers,
up to five domain-specific BOOTP/DHCP servers can be configured for each of up
to 10 VLANs.
DHCP is described in RFC 2131, and the DHCP relay agent supported on the
G8052 is described in RFC 1542. DHCP uses UDP as its transport protocol. The
client sends messages to the server on port 67 and the server sends messages to the
client on port 68.
BOOTP and DHCP relay are collectively configured using the BOOTP commands
and menus on the G8052.
If the host name is manually configured, the switch does not replace it with the
host name received from the DHCP server.
After the host name is configured on the switch, if DHCP or DHCP host name
configuration is disabled, the switch retains the host name.
The G8052 supports requesting of a SYSLOG server IP address from the DHCP
server as described in RFC 2132, option 7. DHCP SYSLOG server request option is
enabled by default.
Manually configured SYSLOG server takes priority over DHCP SYSLOG server.
Up to two SYSLOG server addresses received from the DHCP server can be used.
The SYSLOG server can be learnt over a management port or a data port.
Use the RS G8052# show logging command to view the SYSLOG server
address.
DHCP SYSLOG server address option can be enabled/disabled using the following
command:
Generally, it is best to configure BOOTP for the switch IP interface that is closest to
the client, so that the BOOTP server knows from which IPv4 subnet the newly
allocated IPv4 address will come.
DHCP Option 82
DHCP Option 82 provides a mechanism for generating IP addresses based on the
client device’s location in the network. When you enable the DHCP relay agent
option on the switch, it inserts the relay agent information option 82 in the packet,
and sends a unicast BOOTP request packet to the DHCP server. The DHCP server
uses the option 82 field to assign an IP address, and sends the packet, with the
original option 82 field included, back to the relay agent. DHCP relay agent strips
off the option 82 field in the packet and sends the packet to the DHCP client.
Configuration of this feature is optional. The feature helps resolve several issues
where untrusted hosts access the network. See RFC 3046 for details.
DHCP Snooping
DHCP snooping provides security by filtering untrusted DHCP packets and by
building and maintaining a DHCP snooping binding table. This feature is
applicable only to IPv4.
The DHCP snooping binding table contains the MAC address, IP address, lease
time, binding type, VLAN number, and port number that correspond to the local
untrusted interface on the switch; it does not contain information regarding hosts
interconnected with a trusted interface.
By default, DHCP snooping is disabled on all VLANs. You can enable DHCP
snooping on one or more VLANs. You must enable DHCP snooping globally. To
enable this feature, enter the commands below:
Access to switch functions is controlled through the use of unique user names and
passwords. Once you are connected to the switch via console, remote Telnet, or
SSH, you are prompted to enter a password. The default user names/password for
each access level are listed in the following table.
Note: It is recommended that you change default switch passwords after initial
configuration and as regularly as required under your network security policies.
When in boot strict mode, the switch uses Secure Sockets Layer (SSL)/Transport
Layer Security (TLS) 1.2 protocols to ensure confidentiality of the data to and from
the switch.
The following cipher suites are acceptable (listed in the order of preference) when
the RackSwitch G8052 is in strict mode:
Table 5. List of Acceptable Cipher Suites in Strict Mode
Cipher ID Key Authenti Encryption MAC Cipher Name
Exchange cation
0xC027 ECDHE RSA AES_128_CB SHA256 TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA2
C 56
0xC013 ECDHE RSA AES_128_CB SHA1 TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
C
0xC012 ECDHE RSA 3DES SHA1 SSL_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA
0x0033 DHE RSA AES128_CB SHA1 TLS_DHE_RSA_WITH_AES_128_CBC_SHA
C
0x0067 DHE RSA AES_128_CB SHA256 TLS_DHE_RSA_WITH_AES_128_CBC_SHA256
C
0x0016 DHE RSA 3DES SHA1 SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA
0x002F RSA RSA AES_128_CB SHA1 TLS_RSA_WITH_AES_128_CBC_SHA
C
0x003C RSA RSA AES_128_CB SHA256 TLS_RSA_WITH_AES_128_CBC_SHA256
C
0x000A RSA RSA 3DES SHA1 SSL_RSA_WITH_3DES_EDE_CBC_SHA
When strict mode is enabled, you will see the following message:
Do you want SNMPV3 support old default users in strict mode (y/n)?
Warning, disabling security strict mode. The mode change will take effect
after reloading the switch.
You must reboot the switch for the boot strict mode enable/disable to take effect.
In no-prompt mode, confirmation prompts are disabled for this and future
sessions.
Limitations
In Networking OS 8.3, consider the following limitation/restrictions if you need to
operate the switch in boot strict mode:
Whenever you log in as the system administrator under the factory default
configuration, you are asked whether you wish to run the Setup utility. Setup can
also be activated manually from the command line interface any time after login.
Enter Password:
RackSwitch G8052
18:44:05 Wed Jan 3, 2009
If you add interface 1 to another VLAN and do not configure any IP address, the
factory default IP address will be automatically assigned to the interface.
We recommend that you disable the factory default IP address configuration after
the switch boot up and configuration is complete. Use the following command:
Restarting Setup
You can restart the Setup utility manually at any time by entering the following
command at the administrator prompt:
RS G8052(config)# setup
If you decide not to configure VLANs during this session, you can configure them
later using the configuration menus, or by restarting the Setup facility. For more
information on configuring VLANs, see the Lenovo Network Operating System
Application Guide.
Next, the Setup utility prompts you to input basic system information.
System Date:
Enter year [2009]:
Enter the four-digits that represent the year. To keep the current year, press
<Enter>.
System Date:
Enter month [1]:
Enter the month as a number from 1 to 12. To keep the current month, press
<Enter>.
Enter the date as a number from 1 to 31. To keep the current day, press <Enter>.
System Time:
Enter hour in 24hour format [18]:
Enter the hour as a number from 00 to 23. To keep the current hour, press <Enter>.
Enter the seconds as a number from 00 to 59. To keep the current second, press
<Enter>. The system then displays the date and time settings:
Spanning Tree:
Current Spanning Tree Group 1 setting: ON
Turn Spanning Tree Group 1 OFF? [y/n]
Enter y to turn off Spanning Tree, or enter n to leave Spanning Tree on.
Port Config:
Will you configure VLANs and VLAN Tagging/TrunkMode for ports? [y/n]
If you wish to change settings for VLANs, enter y, or enter n to skip VLAN
configuration.
Note: The sample screens that appear in this document might differ slightly from
the screens displayed by your system. Screen content varies based on the firmware
versions and options that are installed.
2. Select the port to configure, or skip port configuration at the prompt:
If you wish to change settings for individual ports, enter the number of the port
you wish to configure. To skip port configuration, press <Enter> without specifying
any port and go to “Setup Part 3: VLANs” on page 62.
Enter rx to enable receive flow control, tx for transmit flow control, both to
enable both, or none to turn flow control off for the port. To keep the current
setting, press <Enter>.
If you selected a port that has a Gigabit Ethernet connector, the system prompts:
Enter on to enable port autonegotiation, off to disable it, or press <Enter> to keep
the current setting.
5. If configuring VLANs, enable or disable VLAN trunk mode/tagging for the port.
If you have selected to configure VLANs back in Part 1, the system prompts:
Port VLAN tagging/trunk mode config (tagged/trunk mode port can be a member
of multiple VLANs)
Current VLAN tagging/trunk mode support: disabled
Enter new VLAN tagging/trunk mode support [d/e]:
When you are through configuring ports, press <Enter> without specifying any
port. Otherwise, repeat the steps in this section.
VLAN Config:
Enter VLAN number from 2 to 4094, NULL at end:
If you wish to change settings for individual VLANs, enter the number of the
VLAN you wish to configure. To skip VLAN configuration, press <Enter> without
typing a VLAN number and go to “Setup Part 4: IP Configuration” on page 63.
Entering a new VLAN name is optional. To use the pending new VLAN name,
press <Enter>.
Enter each port, by port number or port alias, and confirm placement of the port
into this VLAN. When you are finished adding ports to this VLAN, press <Enter>
without specifying any port.
VLAN Config:
Enter VLAN number from 2 to 4094, NULL at end:
Repeat the steps in this section until all VLANs have been configured. When all
VLANs have been configured, press <Enter> without specifying any VLAN.
Although the switch supports both IPv4 and IPv6 networks, the Setup utility
permits only IPv4 configuration. For IPv6 configuration, see Chapter 23, “Internet
Protocol Version 6.”
IP Interfaces
IP interfaces are used for defining the networks to which the switch belongs.
IP Config:
IP interfaces:
Enter interface number: (1128)
2. For the specified IP interface, enter the IP address in IPv4 dotted decimal notation:
3. At the prompt, enter the IPv4 subnet mask in dotted decimal notation:
To keep the current setting, press <Enter>.If configuring VLANs, specify a VLAN
for the interface.
Current VLAN: 1
Enter new VLAN [14094]:
Enter the number for the VLAN to which the interface belongs, or press <Enter>
without specifying a VLAN number to accept the current setting.
Repeat the steps in this section until all IP interfaces have been configured. When
all interfaces have been configured, press <Enter> without specifying any interface
number.
Default Gateways
To set up a default gateway:
IP default gateways:
Enter default gateway number: (14)
Enter the number for the IP default gateway to be configured. To skip default
gateway configuration, press <Enter> without typing a gateway number and go to
“IP Routing” on page 64.
2. At the prompt, enter the IPv4 address for the selected default gateway:
Enter the IPv4 address in dotted decimal notation, or press <Enter> without
specifying an address to accept the current setting.
Repeat the steps in this section until all default gateways have been configured.
When all default gateways have been configured, press <Enter> without specifying
any number.
IP Routing
When IP interfaces are configured for the various IP subnets attached to your
switch, IP routing between them can be performed entirely within the switch. This
eliminates the need to send inter-subnet communication to an external router
device. Routing on more complex networks, where subnets may not have a direct
presence on the G8052, can be accomplished through configuring static routes or
by letting the switch learn routes dynamically.
2. When prompted, decide whether you wish to review the configuration changes:
Enter y to review the changes made during this session of the Setup utility. Enter n
to continue without reviewing the changes. We recommend that you review the
changes.
Enter y to save the changes to flash. Enter n to continue without saving the
changes. Changes are normally saved at this point.
5. If you do not apply or save the changes, the system prompts whether to abort them:
Enter y to discard the changes. Enter n to return to the “Apply the changes?”
prompt.
Note: After initial configuration is complete, it is recommended that you change
the default passwords.
In Networking OS 8.3, loopback interfaces have been expanded for use with
routing protocols such as OSPF, PIM, and BGP. Loopback interfaces can also be
specified as the source IP address for syslog, SNMP, RADIUS, TACACS+, NTP, and
router IDs.
Loopback interfaces must be configured before they can be used in other features.
Up to five loopback interfaces are currently supported. They can be configured
using the following commands:
SNMP traps
RS G8052(config)# snmpserver trapsource loopback <1-5>
RADIUS
RS G8052(config)# ip radius sourceinterface loopback <1-5>
TACACS+
RS G8052(config)# ip tacacs sourceinterface loopback <1-5>
NTP
RS G8052(config)# ntp source loopback <1-5>
[Link]
To determine the software version currently used on the switch, use the following
switch command:
The typical upgrade process for the software image consists of the following steps:
Load a new software image and boot image onto an FTP, SFTP or TFTP server on
your network.
Transfer the new images to your switch.
Specify the new software image as the one which will be loaded into switch
memory the next time a switch reset occurs.
Reset the switch.
For instructions on the typical upgrade process using the N/OS ISCLI, USB, or BBI,
see “Loading New Software to Your Switch” on page 72.
CAUTION:
Although the typical upgrade process is all that is necessary in most cases,
upgrading from (or reverting to) some versions of Lenovo Network Operating
System requires special steps prior to or after the software installation
process. Please be sure to follow all applicable instructions in the release
notes document for the specific software release to ensure that your switch
continues to operate as expected after installing new software.
For example, if your active image is currently loaded into image1, you would
probably load the new image software into image2. This lets you test the new
software and reload the original active image (stored in image1), if needed.
CAUTION:
When you upgrade the switch software image, always load the new boot image
and the new software image before you reset the switch. If you do not load a new
boot image, your switch might not boot properly (To recover, see “Recovering
from a Failed Software Upgrade” on page 76).
To load a new software image to your switch, you will need the following:
The image and boot software loaded on an FTP, SFTP or TFTP server on your net-
work.
Note: Be sure to download both the new boot file and the new image file.
The exact form of the name will vary by server. However, the file location is
normally relative to the FTP, SFTP or TFTP directory (for example, tftpboot).
4. If required by the FTP, SFTP or TFTP server, enter the appropriate username and
password.
Once confirmed, the software will begin loading into the switch.
The system will then verify which image is set to be loaded at the next reset:
Router(config)# reload
The system prompts you to confirm your request. Once confirmed, the switch
will reboot to use the new software.
FTP server
TFTP server
SFTP server
Local computer
After you log onto the BBI, perform the following steps to load a software image:
3. If you are loading software from your computer (HTTP client), skip this step and
go to the next. Otherwise, if you are loading software from an FTP, SFTP, or TFTP
server, enter the server’s information in the FTP, SFTP, or TFTP Settings section.
4. In the Image Settings section, select the image version you want to replace (Image
for Transfer).
If you are loading software from an FTP, SFTP, or TFTP server, enter the file
name and click Get Image.
If you are loading software from your computer, click Browse.
In the File Upload Dialog, select the file and click OK. Then click Download via
Browser.
Once the image has loaded, the page refreshes to show the new software.
To safely remove the USB drive, first use the following command to un-mount the
USB file system:
system usbeject
USB Boot
USB Boot allows you to boot the switch with a software image file, boot file, or
configuration file that resides on a USB drive inserted into the USB port. Use the
following command to enable or disable USB Boot:
When enabled, when the switch is reset/reloaded, it checks the USB port. If a USB
drive is inserted into the port, the switch checks the root directory on the USB drive
for software and image files. If a valid file is present, the switch loads the file and
boots using the file.
Note: The following file types are supported: FAT32, NTFS (read-only), EXT2, and
EXT3.
The following list describes the valid file names, and describes the switch behavior
when it recognizes them. The file names must be exactly as shown, or the switch
will not recognize them.
RSG8052_Boot.img
The switch replaces the current boot image with the new image, and boots with
the new image.
RSG8052_OS.img
The switch boots with the new software image. The existing images are not
affected.
RSG8052_replace1_OS.img
The switch replaces the current software image1 with the new image, and boots
with the new image. RSG8052_replace1_OS.img takes precedence over
RSG8052_OS.img
RSG8052_replace2_OS.img
The switch replaces the current software image2 with the new image, and boots
with the new image. RSG8052_replace2_OS.img takes precedence over
RSG8052_OS.img
[Link]
The switch boots with the new configuration file. The existing configuration files
(active and backup) are not affected.
If more than one valid file is present, the switch loads all valid files and boots with
them. For example, you may simultaneously load a new boot file, image file, and
configuration file from the USB drive.
The switch ignores any files that do not match the valid file names or that have the
wrong format.
USB Copy
If a USB drive is inserted into the USB port, you can copy files from the switch to
the USB drive, or from the USB drive to the switch. USB Copy is available only for
software image 1 and the active configuration.
Copy to USB
Use the following command to copy a file from the switch to the USB drive
(Privileged EXEC mode):
In this example, the active configuration file is copied to a directory on the USB
drive:
In this example, the active configuration file is copied from a directory on the USB
drive:
You can interrupt the boot process and enter the Boot Management menu from the
serial console port. When the system displays Memory Test, press <Shift B>. The
Boot Management menu appears.
The Boot Management menu allows you to perform the following actions:
To change the booting image, press I and follow the screen prompts.
To change the configuration block, press C, and follow the screen prompts.
To perform a TFTP/XModem download, press R and follow the screen prompts.
To reboot the switch, press Q. The booting process restarts.
To exit the Boot Management menu, press E. The booting process continues.
5. Xmodem download: When you see the following message, change the Serial Port
characteristics to 115200 bps:
Change the baud rate to 115200 bps and hit the <ENTER> key before
initiating the download.
a. Press <Enter> to set the system into download accept mode. When the readiness
meter displays (a series of “C” characters), start XModem on your terminal
emulator.
b. When you see the following message, change the Serial Port characteristics to
9600 bps:
Change the baud rate back to 9600 bps, hit the <ESC> key.
c. When you see the following prompt, enter the image number where you want to
install the new software and press <Enter>:
Option?:
Performing TFTP rescue. Please answer the following questions (enter 'q'
to quit):
IP addr :
Server addr:
Netmask :
Gateway :
Image Filename:
Host IP : [Link]
Server IP : [Link]
Netmask : [Link]
Broadcast : [Link]
Gateway : [Link]
Installing image G80528.3.1.0_OS.img from TFTP server [Link]
c. When you see the following prompt, enter the image number and press <Enter>:
3. Boot the switch and access the Boot Management menu by pressing <Shift B>
while the Memory Test is in progress and the dots are being displayed.
5. When you see the following message, change the Serial Port characteristics to
115200 bps:
Change the baud rate to 115200 bps and hit the <ENTER> key before
initiating the download.
a. Press <Enter> to set the system into download accept mode. When the readiness
meter displays (a series of “C” characters), start Xmodem on your terminal
[Link] will see a display similar to the following:
b. When you see the following message, change the Serial Port characteristics to
9600 bps:
Change the baud rate back to 9600 bps, hit the <ESC> key.
SSH is a protocol that enables remote administrators to log securely into the G8052
over a network to execute management commands.
SCP is typically used to copy files securely from one machine to another. SCP uses
SSH for encryption of data on the network. On a G8052, SCP is used to download
and upload the switch configuration via secure channels.
Although SSH and SCP are disabled by default, enabling and using these features
provides the following benefits:
Identifying the administrator using Name/Password
Authentication of remote administrators
Authorization of remote administrators
Determining the permitted actions and customizing service for individual
administrators
Encryption of management messages
Encrypting messages between the remote administrator and switch
Secure copy support
Lenovo Network Operating System implements the SSH version 2.0 standard and
is confirmed to work with SSH version 2.0-compliant clients such as the following:
OpenSSH_5.4p1 for Linux
Secure CRT Version 5.0.2 (build 1021)
Putty SSH release 0.60
Note: The 4 option (the default) specifies that an IPv4 switch address will be
used. The 6 option specifies IPv6.
Example:
Example:
Example:
Syntax:
Example:
To Copy the Switch Image and Boot Files to the SCP Host
Syntax:
Example:
Example:
To configure RSA host key, first connect to the G8052 through the console port
(commands are not available via external Telnet connection), and enter the
following command to generate it manually.
When the switch reboots, it will retrieve the host key from the FLASH memory.
Note: The switch will perform only one session of key/cipher generation at a time.
Thus, an SSH/SCP client will not be able to log in if the switch is performing key
generation at that time. Also, key generation will fail if an SSH/SCP client is
logging in at that time.
For example, an administrator can assign a user, who can then log into the switch
and perform operational commands (effective only until the next switch reboot).
Strong Passwords
The administrator can require use of Strong Passwords for users to access the
G8052. Strong Passwords enhance security because they make password guessing
more difficult.
When strong password is enabled, users can still access the switch using the old
password but will be advised to change to a strong password at log-in.
Locking Accounts
To protect the switch from unauthorized access, the account lockout feature can be
enabled. By default, account lockout is disabled. To enable this feature, ensure the
strong password feature is enabled (See “Strong Passwords” on page 88). Then use
the following command:
RS G8052(config)# access user strongpassword lockout
Usernames:
user Enabled offline
oper Disabled offline
admin Always Enabled online 1 session
1. A remote administrator connects to the switch and provides a user name and
password.
3. The authentication server checks the request against the user ID database.
4. Using RADIUS protocol, the authentication server instructs the switch to grant or
deny administrative access.
1. Configure the IPv4 addresses of the Primary and Secondary RADIUS servers, and
enable RADIUS authentication.
Note: You can use a configured loopback address as the source address so the
RADIUS server accepts requests only from the expected loopback address block.
Use the following command to specify the loopback interface:
3. If desired, you may change the default UDP port number used to listen to RADIUS.
4. Configure the number retry attempts for contacting the RADIUS server, and the
timeout period.
The default G8052 setting for backdoor and secure backdoor access is disabled.
Backdoor and secure backdoor access is always enabled on the console port.
All user privileges, other than those assigned to the Administrator, have to be
defined in the RADIUS dictionary. RADIUS attribute 6 which is built into all
RADIUS servers defines the administrator. The file name of the dictionary is
RADIUS vendor-dependent. The following RADIUS attributes are defined for
G8052 user privileges levels:
Table 7. Networking OS-proprietary Attributes for RADIUS
Admin Vendor-supplied 6
Authorization
Authorization is the action of determining a user’s privileges on the device, and
usually takes place after authentication.
user 0
oper 3
admin 6
user 0-1
oper 6-8
admin 14 - 15
You can use TACACS+ to record and track software login access, configuration
changes, and interactive commands.
The following examples illustrate the format of N/OS commands sent to the
TACACS+ server:
Note: You can use a configured loopback address as the source address so the
TACACS+ server accepts requests only from the expected loopback address block.
Use the following command to specify the loopback interface:
RS G8052(config)# ip tacacs sourceinterface loopback <1-5>
3. If desired, you may change the default TCP port number used to listen to
TACACS+.
Each entry in the LDAP server is referenced by its Distinguished Name (DN). The
DN consists of the user-account name concatenated with the LDAP domain name.
If the user-account name is John, the following is an example DN:
uid=John,ou=people,dc=domain,dc=com
3. You may change the default TCP port number used to listen to LDAP (optional).
4. Configure the number of retry attempts for contacting the LDAP server, and the
timeout period.
5. You may change the default LDAP attribute (uid) or add a custom attribute. For
instance, Microsoft’s Active Directory requires the cn attribute.
The 802.1X standard describes port-based network access control using Extensible
Authentication Protocol over LAN (EAPoL). EAPoL provides a means of
authenticating and authorizing devices attached to a LAN port that has
point-to-point connection characteristics and of preventing access to that port in
cases of authentication and authorization failures.
Port Unauthorized
EAPOL-Start
EAP-Request (Credentials)
EAP-Response (Credentials)
Radius-Access-Request
Radius-Access-Challenge
EAP-Request (Credentials)
EAP-Response (Credentials)
Radius-Access-Request
Radius-Access-Accept
EAP-Success
Port Authorized
© Copyright Lenovo 2015 Chapter 6: 802.1X Port-Based Network Access Control 105
EAPoL Message Exchange
During authentication, EAPOL messages are exchanged between the client and the
G8052 authenticator, while RADIUS-EAP messages are exchanged between the
G8052 authenticator and the RADIUS server.
If a client that does not support 802.1X connects to an 802.1X-controlled port, the
G8052 authenticator requests the client's identity when it detects a change in the
operational state of the port. The client does not respond to the request, and the
port remains in the unauthorized state.
Note: When an 802.1X-enabled client connects to a port that is not
802.1X-controlled, the client initiates the authentication process by sending an
EAPOL-Start frame. When no response is received, the client retransmits the
request for a fixed number of times. If no response is received, the client assumes
the port is in authorized state, and begins sending frames, even if the port is
unauthorized.
Guest VLAN
The guest VLAN provides limited access to unauthenticated ports. The guest
VLAN can be configured using the following commands:
Client ports that have not received an EAPOL response are placed into the Guest
VLAN, if one is configured on the switch. Once the port is authenticated, it is
moved from the Guest VLAN to its configured VLAN.
When Guest VLAN enabled, the following considerations apply while a port is in
the unauthenticated state:
The port is placed in the guest VLAN.
The Port VLAN ID (PVID) is changed to the Guest VLAN ID.
Port tagging is disabled on the port.
© Copyright Lenovo 2015 Chapter 6: 802.1X Port-Based Network Access Control 107
Supported RADIUS Attributes
The 802.1X Authenticator relies on external RADIUS servers for authentication
with EAP. Table 10 lists the RADIUS attributes that are supported as part of
RADIUS-EAP authentication based on the guidelines specified in Annex D of the
802.1X standard and RFC 3580.
Table 10. Support for RADIUS Attributes
© Copyright Lenovo 2015 Chapter 6: 802.1X Port-Based Network Access Control 109
EAPoL Configuration Guidelines
When configuring EAPoL, consider the following guidelines:
The 802.1X port-based authentication is currently supported only in
point-to-point configurations, that is, with a single supplicant connected to an
802.1X-enabled switch port.
When 802.1X is enabled, a port has to be in the authorized state before any other
Layer 2 feature can be operationally enabled. For example, the STG state of a
port is operationally disabled while the port is in the unauthorized state.
The 802.1X supplicant capability is not supported. Therefore, none of its ports
can successfully connect to an 802.1X-enabled port of another device, such as
another switch, that acts as an authenticator, unless access control on the remote
port is disabled or is configured in forced-authorized mode. For example, if a
G8052 is connected to another G8052, and if 802.1X is enabled on both switches,
the two connected ports must be configured in force-authorized mode.
Unsupported 802.1X attributes include Service-Type, Session-Timeout, and
Termination-Action.
RADIUS accounting service for 802.1X-authenticated devices or users is not
currently supported.
Configuration changes performed using SNMP and the standard 802.1X MIB
will take effect immediately.
IPv6 ACLs
Up to 128 ACLs are supported for networks that use IPv6 addressing. IPv6
ACLs are configured using the following ISCLI command path:
1 icmp
2 igmp
6 tcp
17 udp
89 ospf
112 vrrp
Flag Value
URG 0x0020
ACK 0x0010
PSH 0x0008
RST 0x0004
SYN 0x0002
FIN 0x0001
When multiple ACLs are assigned to a port, higher-priority ACLs are considered
first, and their action takes precedence over lower-priority ACLs. ACL order of
precedence is discussed in the next section.
To create and assign ACLs in groups, see “ACL Groups” on page 115.
If multiple ACLs match the port traffic, only the action of the one with the lowest
ACL number is applied. The others are ignored.
ACL 1:
VLAN = 1
SIP = [Link] ([Link])
Action = permit
ACL Group 1
ACL 1:
VLAN = 1
SIP = [Link] ([Link])
Action = permit
ACL 2:
VLAN = 2
SIP = [Link] ([Link])
Action = deny
ACL 3:
Priority = 7
DIP = [Link] ([Link])
Action = permit
ACL Groups organize ACLs into traffic profiles that can be more easily assigned
to ports. The G8052 supports up to 640 ACL Groups.
Note: ACL Groups are used for convenience in assigning multiple ACLs to ports.
ACL Groups have no effect on the order in which ACLs are applied (see “ACL
Order of Precedence” on page 114). All ACLs assigned to the port (whether
individually assigned or part of an ACL Group) are considered as individual ACLs
for the purposes of determining their order of precedence.
Metering
QoS metering provides different levels of service to data streams through
user-configurable parameters. A meter is used to measure the traffic stream against
a traffic profile which you create. Thus, creating meters yields In-Profile and
Out-of-Profile traffic for each ACL, as follows:
In-ProfileIf there is no meter configured or if the packet conforms to the meter,
the packet is classified as In-Profile.
Out-of-ProfileIf a meter is configured and the packet does not conform to the
meter (exceeds the committed rate or maximum burst rate of the meter), the
packet is classified as Out-of-Profile.
Using meters, you set a Committed Rate in Kbps (1000 bits per second in each
Kbps). All traffic within this Committed Rate is In-Profile. Additionally, you can
set a Maximum Burst Size that specifies an allowed data burst larger than the
Committed Rate for a brief period. These parameters define the In-Profile traffic.
Meters keep the sorted packets within certain parameters. You can configure a
meter on an ACL, and perform actions on metered traffic, such as packet
re-marking.
Re-Marking
Re-marking allows for the treatment of packets to be reset based on new network
specifications or desired levels of service. You can configure the ACL to re-mark a
packet as follows:
Change the DSCP value of a packet, used to specify the service level that traffic
receives.
Change the 802.1p priority of a packet.
The source port for the mirrored packets cannot be a portchannel, but may be a
member of a portchannel.
The destination port to which packets are mirrored must be a physical port.
The action (permit, drop, etc.) of the ACL or VMap must be configured before
assigning it to a port.
The ACL must be also assigned to it target ports as usual (see “Assigning
Individual ACLs to a Port” on page 114).
For VMaps (see “VLAN Maps” on page 123):
You must enable statistics for each ACL that you wish to monitor:
Logged Information
When ACL logging is enabled on any particular ACL, the switch will collect
information about packets that match the ACL. The information collected depends
on the ACL type:
For IP-based ACLs, information is collected regarding
Source IP address
Destination IP address
TCP/UDP port number
ACL action
Number of packets logged
For example:
Sep 27 4:20:28 DUT3 NOTICE ACLLOG: %IP ACCESS LOG: list
ACLIP12IN denied tcp [Link] (0) > [Link] (0), 150
packets.
For MAC-based ACLs, information is collected regarding
Source MAC address
Source IP address
Destination IP address
TCP/UDP port number
ACL action
Number of packets logged
For example:
Sep 27 4:25:38 DUT3 NOTICE ACLLOG: %MAC ACCESS LOG: list
ACLMAC12IN permitted tcp [Link] (0) (12,
00:ff:d7:66:74:62) > [Link] (0) (00:18:73:ee:a7:c6), 32
packets.
Log Interval
For each log-enabled ACL, the first packet that matches the ACL initiates an
immediate message in the system log. Beyond that, additional matches are subject
to the log interval. By default, the switch will buffer ACL log messages for a period
of 300 seconds. At the end of that interval, all messages in the buffer are written to
the system log. The global interval value can be changed as follows:
In any given interval, packets that have identical log information are condensed
into a single message. However, the packet count shown in the ACL log message
represents only the logged messages, which due to rate-limiting, may be
significantly less than the number of packets actually matched by the ACL.
Also, the switch is limited to 64 different ACL log messages in any interval. Once
the threshold is reached, the oldest message will be discarded in favor of the new
message, and an overflow message will be added to the system log.
ACL Example 2
Use this configuration to block traffic from a network destined for a specific host
address. All traffic that ingresses in port 2 with source IP from class [Link]/24
and destination IP [Link] is denied.
ACL Example 4
Use this configuration to deny all ARP packets that ingress a port.
ACL Example 5
Use the following configuration to permit access to hosts with destination MAC
address that matches 11:05:00:10:00:00 FF:F5:FF:FF:FF:FF and deny access to all
other hosts.
Individual VMap filters are configured in the same fashion as IPv4 ACLs, except
that VLANs cannot be specified as a filtering criteria (unnecessary, since the VMap
are assigned to a specific VLAN or associated with a VM group VLAN).
VMaps are configured using the following ISCLI configuration command path:
Once a VMap filter is created, it can be assigned or removed using the following
configuration commands:
For regular VLAN, use config-vlan mode:
For a VM group (see “VM Group Types” on page 276), use the global
configuration mode:
Note: Each VMap can be assigned to only one VLAN or VM group. However, each
VLAN or VM group may have multiple VMaps assigned to it.
When the optional serverports or nonserverports parameter is specified,
the action to add or remove the VMap is applied for either the switch server ports
(serverports) or uplink ports (nonserverports). If omitted, the operation
will be applied to all ports in the associated VLAN or VM group.
Management ACLs
Management ACLs (MACLs) filter inbound traffic i.e. traffic toward the CPU.
MACLs are applied switch-wide. Traffic can be filtered based on the following:
IPv4 source address
IPv4 destination address
IPv4 protocols
TCP/UDP destination or source port
The G8052 provides filters that can limit the number of the following packet types
transmitted by switch ports:
Broadcast packets
Multicast packets
Unknown unicast packets (destination lookup failure)
Ports are grouped into broadcast domains by assigning them to the same VLAN.
Frames received in one VLAN can only be forwarded within that VLAN, and
multicast, broadcast, and unknown unicast frames are flooded only to ports in the
same VLAN.
Alias Port Tag RMON Lrn Fld Openflow PVID DESCRIPTION VLAN(s)
Trk NVLAN
1 1 n d e e d 1 1
2 2 n d e e d 1 1
3 3 n d e e d 1 1
4 4 n d e e d 1 1
5 5 n d e e d 1 1
6 6 n d e e d 1 1
...
XGE1 49 n d e e d 23 23
XGE2 50 y d e e d 78 78 200
XGE3 51 n d e e d 23 23
XGE4 52 n d e e d 23 23
* = PVID/NativeVLAN is tagged.
# = PVID is ingress tagged.
Trk = Trunk mode
NVLAN = NativeVLAN
Each port on the switch can belong to one or more VLANs, and each VLAN can
have any number of switch ports in its membership. Any port that belongs to
multiple VLANs, however, must have VLAN tagging/trunk mode enabled (see
“VLAN Tagging/Trunk Mode” on page 132).
Tagging places the VLAN identifier in the frame header of a packet, allowing each
port to belong to multiple VLANs. When you add a port to multiple VLANs, you
also must enable tagging on that port.
802.1Q Switch
VLAN 1
DA CRC
SA
Incoming Outgoing Data
untagged Data untagged packet
packet (unchanged) SA
CRC DA
Key
By default:
All ports are assigned PVID = 1
All ports are untagged members of VLAN 1
BS45010A
Note: The port numbers specified in these illustrations may not directly
correspond to the physical port configuration of your switch model.
When a VLAN is configured, ports are added as members of the VLAN, and the
ports are defined as either tagged or untagged (see Figure 3 through Figure 6).
The default configuration settings for the G8052 has all ports set as untagged
members of VLAN 1 with all ports configured as PVID = 1. In the default
configuration example shown in Figure 2, all incoming packets are assigned to
VLAN 1 by the default port VLAN identifier (PVID =1).
Port 5
Untagged member
of VLAN 2
Port 4
Port 5
802.1Q Switch CRC* Data Tag SA DA
(*Recalculated)
Port 6 Port 7 Port 8
Before
Port 6 Port 7 Port 8
Untagged member
of VLAN 2
BS45013A
As shown in Figure 6, the tagged packet remains unchanged as it leaves the switch
through port 5, which is configured as a tagged member of VLAN 2. However, the
tagged packet is stripped (untagged) as it leaves the switch through port 7, which
is configured as an untagged member of VLAN 2.
Port 4
Port 5
802.1Q Switch CRC Data Tag SA DA
Outgoing After
SA untagged packet
changed Key
DA (tag removed)
Priority - User_priority
CFI - Canonical format indicator
VID - VLAN identifier
BS45014A
Ingress VLAN tagging is used to tunnel packets through a public domain without
altering the original 802.1Q status.
802.1Q Switch
Port 4
Port 5
CRC Data SA DA CRC* Data Tag SA DA CRC* Data Tag SA DA
After
Before Port 6 Port 7 Port 8
Untagged member
of VLAN 2
CRC Data SA DA
802.1Q Switch
Port 5
CRC* Data Tag 1 SA DA CRC* Data Tag 1 Tag 2 SA DA CRC* Data Tag 1 Tag 2 SA DA
After
Before Port 6 Port 7 Port 8
Untagged member
of VLAN 2
By default, ingress tagging is disabled. To enable ingress tagging on a port, use the
following commands:
Limitations
Ingress tagging cannot be configured with the following features/configurations:
vNIC ports
VMready ports
Enterprise Enterprise
Routing Switch Routing Switch
Component Description
G8052 switch This switch is configured with three VLANs that represent
three different IP subnets. Five ports are connected
downstream to servers. Two ports are connected upstream to
routing switches. Uplink ports are members of all three
VLANs, with VLAN tagging/trunk mode enabled.
Note: VLAN tagging/trunk mode is required only on ports that are connected to
other switches or on ports that connect to tag-capable end-stations, such as servers
with VLAN-tagging/trunk mode adapters.
To configure a specific VLAN on a trunk port, the following conditions must be
met:
The port must be in trunk mode.
The VLAN must be in the trunk’s allowed VLAN range. By default, the range
includes all VLANs.
The VLAN must be un-reserved.
The VLAN must be created.
The order in which the conditions above are met is not relevant. However, all
conditions must be met collectively. When all the conditions are met, the VLAN is
enabled on the port. If one of the conditions is broken, the VLAN is disabled.
When setting up multiple VLANs, ports configured in private VLAN mode are not
added to private VLANs unless the private VLANs are also configured for those
ports.
1. Enable VLAN tagging/trunk mode on server ports that support multiple VLANs.
By default, all ports are members of VLAN 1, so configure only those ports that
belong to other VLANs.
With PVLAN, the switch classifies incoming packets by Ethernet protocol of the
packets, not by the configuration of the ingress port. When an untagged or
priority-tagged frame arrives at an ingress port, the protocol information carried in
the frame is used to determine a VLAN to which the frame belongs. If a frame’s
protocol is not recognized as a pre-defined PVLAN type, the ingress port’s PVID is
assigned to the frame. When a tagged frame arrives, the VLAN ID in the frame’s
tag is used.
Each VLAN can contain up to eight different PVLANs. You can configure separate
PVLANs on different VLANs, with each PVLAN segmenting traffic for the same
protocol type. For example, you can configure PVLAN 1 on VLAN 2 to segment
IPv4 traffic, and PVLAN 8 on VLAN 100 to segment IPv4 traffic.
To define a PVLAN on a VLAN, configure a PVLAN number (1-8) and specify the
frame type and the Ethernet type of the PVLAN protocol. You must assign at least
one port to the PVLAN before it can function. Define the PVLAN frame type and
Ethernet type as follows:
Frame type—consists of one of the following values:
Ether2 (Ethernet II)
SNAP (Subnetwork Access Protocol)
LLC (Logical Link Control)
Ethernet type—consists of a 4-digit (16 bit) hex value that defines the Ethernet
type. You can use common Ethernet protocol values, or define your own values.
Following are examples of common Ethernet protocol values:
IPv4 = 0800
IPv6 = 86dd
ARP = 0806
All member ports of a PVLAN have the same PVLAN priority level.
Untagged ports must have PVLAN tagging disabled. Tagged ports can have
PVLAN tagging either enabled or disabled.
Use the tag list command (protocolvlan <x> tagpvlan) to define the
complete list of tag-enabled ports in the PVLAN. Note that all ports not included in
the PVLAN tag list will have PVLAN tagging disabled.
2. Create a VLAN and define the protocol type(s) supported by the VLAN.
RS G8052(config)# vlan 2
RS G8052(configvlan)# protocolvlan 1 frametype ether2 0800
Note: If VLAN tagging is turned on and the port being added to the VLAN has a
different default VLAN (PVID/Native VLAN), you will be asked to confirm
changing the PVID to the current VLAN.
5. Enable the PVLAN.
After you define the primary VLAN and one or more secondary VLANs, you map
the secondary VLAN(s) to the primary VLAN.
Configuration Example
Follow this procedure to configure a Private VLAN.
Switch 1 Switch 2
Aggregate
Port Trunk
Trunk groups are also useful for connecting a G8052 to third-party devices that
support link aggregation, such as Cisco routers and switches with EtherChannel
technology (not ISL trunking technology) and Sun's Quad Fast Ethernet Adapter.
Trunk Group technology is compatible with these devices when they are
configured manually.
Trunk traffic is statistically distributed among the ports in a trunk group, based on
a variety of configurable options.
Also, since each trunk group is comprised of multiple physical links, the trunk
group is inherently fault tolerant. As long as one connection between the switches
is available, the trunk remains active and statistical load balancing is maintained
whenever a port in a trunk group is lost or returned to service.
1. Read the configuration rules provided in the section, “Static Trunk Group
Configuration Rules” on page 150.
2. Determine which switch ports (up to 8) are to become trunk members (the specific
ports making up the trunk).
3. Ensure that the chosen switch ports are set to enabled. Trunk member ports must
have the same VLAN and Spanning Tree configuration.
4. Consider how the existing Spanning Tree will react to the new trunk configuration.
See Chapter 10, “Spanning Tree Protocols,” for Spanning Tree Group configuration
guidelines.
Examine the resulting information. If any settings are incorrect, make appropriate
changes.
3. Connect the switch ports that will be members in the trunk group.
Trunk group 3 (on the G8052) is now connected to trunk group 1 (on the other
switch).
Note: In this example, two G8052 switches are used. If a third-party device support-
ing link aggregation is used (such as Cisco routers and switches with EtherChannel
technology or Sun's Quad Fast Ethernet Adapter), trunk groups on the third-party
device must be configured manually. Connection problems could arise when using
automatic trunk group negotiation on the third-party device.
4. Examine the trunking information on each switch.
Information about each port in each configured trunk group is displayed. Make
sure that trunk groups consist of the expected ports and that each port is in the
expected state.
The 802.3ad standard allows standard Ethernet links to form a single Layer 2 link
using the Link Aggregation Control Protocol (LACP). Link aggregation is a
method of grouping physical link segments of the same media type and speed in
full duplex, and treating them as if they were part of a single, logical link segment.
If a link in a LACP trunk group fails, traffic is reassigned dynamically to the
remaining link(s) of the dynamic trunk group.
Note: LACP implementation in the Lenovo Network Operating System does not
support the Churn machine, an option used to detect if the port is operable within
a bounded time period between the actor and the partner. Only the Marker
Responder is implemented, and there is no marker protocol generator.
A port’s Link Aggregation Identifier (LAG ID) determines how the port can be
aggregated. The Link Aggregation ID (LAG ID) is constructed mainly from the
partner switch’s system ID and the port’s admin key, as follows:
System ID: an integer value based on the partner switch’s MAC address and the
system priority assigned in the CLI.
Admin key: a port’s Admin key is an integer value (1-65535) that you can
configure in the CLI. Each switch port that participates in the same LACP trunk
group must have the same admin key value. The Admin key is local significant,
which means the partner switch does not need to use the same Admin key
value.
For example, consider two switches, an Actor (the G8052) and a Partner (another
switch), as shown in Table 15.
Table 15. Actor vs. Partner LACP configuration
Port 7 (admin key = 100) Port 1 (admin key = 50) Primary trunk group
Port 8 (admin key = 100) Port 2 (admin key = 50) Primary trunk group
Port 9 (admin key = 100) Port 3 (admin key = 70) Secondary trunk group
Port 10 (admin key = 100) Port 4 (admin key = 70) Secondary trunk group
In the configuration shown in Table 15, Actor switch ports 7 and 8 aggregate to
form an LACP trunk group with Partner switch ports 1 and 2. Only ports with the
same LAG ID are aggregated in the trunk group. Actor switch ports 9 and 10 are
not aggregated in the same trunk group, because although they have the same
LACP automatically determines which member links can be aggregated and then
aggregates them. It provides for the controlled addition and removal of physical
links for the link aggregation.
A port may also be placed in suspended mode for the following reasons:
When LACP is configured on the port but it stops receiving LACPDUs from the
partner switch.
When the port has a different LAG ID because of the partner switch MAC or
port LACP key being different. For example: when a switch is connected to two
partners.
Static LACP trunks are configured by associating the LACP admin key to a
portchannel ID within a dedicated LACP portchannel group range:
Each active LACP port transmits LACP data units (LACPDUs), while each passive
LACP port listens for LACPDUs. During LACP negotiation, the admin key is
exchanged. The LACP trunk group is enabled as long as the information matches
at both ends of the link. If the admin key value changes for a port at either end of
the link, that port’s association with the LACP trunk group is lost.
Use the following command to check whether the ports are trunked:
Note: If you configure LACP on ports with 802.1X network access control, make
sure the ports on both sides of the connection are properly configured for both
LACP and 802.1X.
LACP Individual
Ports with LACP enabled (active or passive) are prevented by default from
forming individual links if they cannot join an LACP trunk group. To override this
behavior, use the following commands:
This allows the selected ports to be treated as normal link-up ports, which may
forward data traffic according to STP, Hot Links or other applications, if they do
not receive any LACPDUs.
To configure the LACP individual setting for all the ports in a static LACP trunk,
use the following commands:
1. Configure port parameters. All ports that participate in the LACP trunk group
must have the same settings, including VLAN membership.
2. Select the port range and define the admin key. Only ports with the same admin
key can form an LACP trunk group.
The switch can be configured to use a variety of hashing options. To achieve the
most even traffic distribution, select options that exhibit a wide range of values for
your particular network. Avoid hashing on information that is not usually present
in the expected traffic, or which does not vary.
The G8052 supports the following hashing options, which can be used in any
combination:
Frame MAC and IP information. One of the following combinations is required:
Source MAC address (smac)
When enabled, Layer 4 port information (TCP, UPD, etc.) is added to the hash if
available. The L4port option is ignored when Layer 4 information is not
included in the packet (such as for Layer 2 packets).
With port-based trunk hashing, packet data is disregarded. Instead, you configure
each ingress port to use a specific egress port. When you have many ingress ports
with traffic to distribute over a smaller number of egress ports with equal
bandwidth, such as 40 10Gb ingress ports and four 100Gb egress ports, this may
enable you to make better use of those egress ports.
Note: Port-based trunk hashing is disabled by default and the standard hashing
algorithm is used.
To enable port-based trunk hashing:
The trunk-member index will only be used for traffic destined for a trunk where
port-based trunk hashing has been enabled. Otherwise, the value is ignored.
When applicable, the index specifies which member link within the trunk will be
used. Traffic from ports that have the same member index will occupy the same
links when destined for the same trunk.
Note: The administrator must ensure that traffic is properly balanced among the
individual links within the trunk.
Each time a port is added to or removed from a trunk, the mapping between its
member index and physical links is updated.
The trunk-member index can be configured on a per-port basis. The index assigned
a given port is used with all trunks where port-based trunk hashing is enabled. The
same port cannot use different trunk-member indexes for different trunks.
PVRST Mode
Note: Per-VLAN Rapid Spanning Tree (PVRST) is enabled by default on the
G8052.
Using STP, network devices detect and eliminate logical loops in a bridged or
switched network. When multiple paths exist, Spanning Tree configures the
network so that a switch uses only the most efficient path. If that path fails,
Spanning Tree automatically sets up another active path on the network to sustain
network operations.
N/OS PVRST mode is based on IEEE 802.1w RSTP. Like RSTP, PVRST mode
provides rapid Spanning Tree convergence. However, PVRST mode is enhanced
for multiple instances of Spanning Tree. In PVRST mode, each VLAN may be
automatically or manually assigned to one of 127 available STGs. If you need to
assign a VLAN to STG 128, it must be done manually. Each STG acts as an
independent, simultaneous instance of STP. PVRST uses IEEE 802.1Q tagging to
differentiate STP BPDUs and is compatible with Cisco R-PVST/R-PVST+ modes.
The relationship between ports, trunk groups, VLANs, and Spanning Trees is
shown in Table 16.
Table 16. Ports, Trunk Groups, and VLANs
Due to the sequence involved in these STP states, considerable delays may occur
while paths are being resolved. To mitigate delays, ports defined as edge ports
(“Port Type and Link Type” on page 180) may bypass the discarding and
learning states, and enter directly into the forwarding state.
Bridge Priority
The bridge priority parameter controls which bridge on the network is the STG root
bridge. To make one switch become the root bridge, configure the bridge priority
lower than all other switches and bridges on your network. The lower the value, the
higher the bridge priority. Use the following command to configure the bridge
priority:
where priority value is a number from 0 to 240, in increments of 16 (such as 0, 16, 32,
and so on). If the specified priority value is not evenly divisible by 16, the value will
be automatically rounded down to the nearest valid increment whenever manually
changed in the configuration, or whenever a configuration file from a release prior
to N/OS 6.5 is loaded.
Root Guard
The root guard feature provides a way to enforce the root bridge placement in the
network. It keeps a new device from becoming root and thereby forcing STP
re-convergence. If a root-guard enabled port detects a root device, that port will be
placed in a blocked state.
You can configure the root guard at the port level using the following commands:
Loop Guard
In general, STP resolves redundant network topologies into loop-free topologies.
The loop guard feature performs additional checking to detect loops that might not
be found using Spanning Tree. STP loop guard ensures that a non-designated port
does not become a designated port.
Note: The global loop guard command will be effective on a port only if the
port-level loop guard command is set to default as shown below:
RS G8052(config)# interface port <port number>
RS G8052(configif)# no spanningtree guard
To enable loop guard at the port level, enter the following command:
The port path cost can be a value from 1 to 200000000. Specify 0 for automatic path
cost.
Enterprise
Routing
Switches
Switch 1 x Switch 2
STP
Blocks Link
To prevent a network loop among the switches, STP must block one of the links
between them. In this case, it is desired that STP block the link between the Lenovo
switches, and not one of the G8052 uplinks or the Enterprise switch trunk.
Enterprise
Routing Uplink
Switches Failure
Switch 1 Switch 2
STP
Restores Link
In this example, port 10 on each G8052 is used for the switch-to-switch link. To
ensure that the G8052 switch-to-switch link is blocked during normal operation,
the port path cost is set to a higher value than other paths in the network. To
configure the port path cost on the switch-to-switch links in this example, use the
following commands on each G8052.
RS G8052(config)# interface port 10
RS G8052(configif)# spanningtree stp 1 pathcost 60000
RS G8052(configif)# exit
Multiple STGs provide multiple data paths which can be used for load-balancing
and redundancy. To enable load balancing between two G8052s using multiple
STGs, configure each path with a different VLAN and then assign each VLAN to a
separate STG. Since each STG is independent, they each send their own IEEE
802.1Q tagged Bridge Protocol Data Units (BPDUs).
Each STG behaves as a bridge group and forms a loop-free topology. The default
STG 1 may contain multiple VLANs (typically until they can be assigned to
another STG). STGs 2-128 may contain only one VLAN each.
Switch 1 Switch 2
VLAN 30
VLAN 1
STG 1 STG 2
False x
Loop VLAN 1 VLAN 30
is active is active
In the second network, the problem of improper link blocking is resolved when the
VLANs are placed into different Spanning Tree Groups (STGs). Since each STG has
its own independent instance of Spanning Tree, each STG is responsible only for
the loops within its own VLAN. This eliminates the false loop, and allows both
VLANs to forward packets between the switches at the same time.
STG 1 is the default STG. Although VLANs can be added to or deleted from
default STG 1, the STG itself cannot be deleted from the system. By default, STG 1
is enabled and includes VLAN 1, which by default includes all switch ports
By default, all other STGs (STG 2 through 128) are enabled, though they initially
include no member VLANs. VLANs must be assigned to STGs. By default, this is
done automatically using VLAN Automatic STG Assignment (VASA), though it
can also be done manually (see “Manually Assigning STGs” on page 168.
Note: VLAN assignment to STG 128 must be done manually.
When VASA is enabled (as by default), each time a new VLAN is configured, the
switch will automatically assign that new VLAN to its own STG. Conversely, when
a VLAN is deleted, if its STG is not associated with any other VLAN, the STG is
returned to the available pool.
The specific STG number to which the VLAN is assigned is based on the VLAN
number itself. For low VLAN numbers (1 through 127), the switch will attempt to
assign the VLAN to its matching STG number. For higher numbered VLANs, the
STG assignment is based on a simple modulus calculation; the attempted STG
number will “wrap around,” starting back at the top of STG list each time the end
of the list is reached. However, if the attempted STG is already in use, the switch
will select the next available STG. If an empty STG is not available when creating a
new VLAN, the VLAN is automatically assigned to default STG 1.
If ports are tagged, each tagged port sends out a special BPDU containing the
tagged information. Also, when a tagged port belongs to more than one STG, the
egress BPDUs are tagged to distinguish the BPDUs of one STG from those of
another STG.
VASA is enabled by default, but can be disabled or re-enabled using the following
commands:
If VASA is disabled, when you create a new VLAN, that VLAN automatically
belongs to default STG 1. To place the VLAN in a different STG, assign it manually.
VASA applies only to PVRST mode and is ignored in RSTP and MSTP modes.
1. If no VLANs exist (other than default VLAN 1), see “Guidelines for Creating
VLANs” on page 169 for information about creating VLANs and assigning ports to
them.
When a VLAN is assigned to a new STG, the VLAN is automatically removed from
its prior STG.
Note: For proper operation with switches that use Cisco PVST+, it is
recommended that you create a separate STG for each VLAN.
When you remove a port from VLAN that belongs to an STG, that port will also
be removed from the STG. However, if that port belongs to another VLAN in the
same STG, the port remains in the STG.
As an example, assume that port 2 belongs to only VLAN 2, and that VLAN 2
belongs to STG 2. When you remove port 2 from VLAN 2, the port is moved to
default VLAN 1 and is removed from STG 2.
However, if port 2 belongs to both VLAN 1 and VLAN 2, and both VLANs
belong to STG 1, removing port 2 from VLAN 2 does not remove port 2 from
STG 1 because the port is still a member of VLAN 1, which is still a member of
STG 1.
An STG cannot be deleted, only disabled. If you disable the STG while it still
contains VLAN members, Spanning Tree will be off on all ports belonging to
that VLAN.
The relationship between port, trunk groups, VLANs, and Spanning Trees is
shown in Table 16 on page 162.
For example, in Figure 14, each switch is responsible for the proper configuration
of its own ports, VLANs, and STGs. Switch A identifies its own port 17 as part of
VLAN 2 on STG 2, and the Switch B identifies its own port 8 as part of VLAN 2 on
STG 2.
Figure 14. Implementing PVRST
Chassis Application
Switch A Switch B
STG 2
17 8
VLAN 2
18 2 1
STG 3
VLAN 3 STG 1
VLAN 1
8 2 1
1 8
Application Application
Switch C Switch D
The VLAN participation for each Spanning Tree Group in Figure 14 on page 171 is
as follows:
VLAN 1 Participation
Assuming Switch B to be the root bridge, Switch B transmits the BPDU for STG
1 on ports 1 and 2. Switch C receives the BPDU on port 2, and Switch D receives
the BPDU on port 1. Because there is a network loop between the switches in
VLAN 1, either Switch D will block port 8 or Switch C will block port 1,
depending on the information provided in the BPDU.
VLAN 2 Participation
Switch B, the root bridge, generates a BPDU for STG 2 from port 8. Switch A
receives this BPDU on port 17, which is assigned to VLAN 2, STG 2. Because
switch B has no additional ports participating in STG 2, this BPDU is not
forwarded to any additional ports and Switch B remains the designated root.
VLAN 3 Participation
For VLAN 3, Switch A or Switch C may be the root bridge. If Switch A is the root
bridge for VLAN 3, STG 3, then Switch A transmits the BPDU from port 18.
Switch C receives this BPDU on port 8 and is identified as participating in
VLAN 3, STG 3. Since Switch C has no additional ports participating in STG 3,
this BPDU is not forwarded to any additional ports and Switch A remains the
designated root.
Because VASA is enabled by default, each new VLAN is automatically assigned its
own STG.
Note: PVRST is the default mode on the G8052. This step is not required unless the
STP mode has been previously changed, and is shown here merely as an example
of manual configuration.
2. Configure the following on Switch A:
a. Enable VLAN 2 and VLAN 3.
RS G8052(config)# vlan 2
RS G8052(configvlan)# exit
RS G8052(config)# vlan 3
RS G8052(configvlan)# exit
RS G8052(config)# vlan 2
RS G8052(configvlan)# exit
RS G8052(config)# interface port 8
RS G8052(configif)# switchport mode trunk
RS G8052(configif)# switchport trunk allowed vlan 2
RS G8052(configif)# exit
RS G8052(config)# vlan 3
RS G8052(configvlan)# exit
RS G8052(config)# interface port 8
RS G8052(configif)# switchport mode trunk
RS G8052(configif)# switchport trunk allowed vlan 3
RS G8052(configif)# exit
5. Switch D does not require any special configuration for multiple Spanning Trees.
Switch D uses default STG 1 only.
RSTP was originally defined in IEEE 802.1w (2001) and was later incorporated into
IEEE 802.1D (2004), superseding the original STP standard.
RSTP parameters apply only to Spanning Tree Group (STG) 1. The PVRST mode
STGs 2-128 are not used when the switch is placed in RSTP mode.
RSTP is compatible with devices that run IEEE 802.1D (1998) Spanning Tree
Protocol. If the switch detects IEEE 802.1D (1998) BPDUs, it responds with IEEE
802.1D (1998)-compatible data units. RSTP is not compatible with Per-VLAN
Rapid Spanning Tree (PVRST) protocol.
Port States
RSTP port state controls are the same as for PVRST: discarding, learning, and
forwarding.
Due to the sequence involved in these STP states, considerable delays may occur
while paths are being resolved. To mitigate delays, ports defined as edge/portfast
ports (“Port Type and Link Type” on page 180) may bypass the discarding and
learning states, and enter directly into the forwarding state.
MSTP allows frames assigned to different VLANs to follow separate paths, with
each path based on an independent Spanning Tree instance. This approach
provides multiple forwarding paths for data traffic, thereby enabling
load-balancing, and reducing the number of Spanning Tree instances required to
support a large number of VLANs.
MSTP Region
A group of interconnected bridges that share the same attributes is called an MST
region. Each bridge within the region must share the following attributes:
Alphanumeric name
Revision number
VLAN-to STG mapping scheme
MSTP provides rapid re-configuration, scalability and control due to the support
of regions, and multiple Spanning-Tree instances support within each region.
CIST allows the MSTP region to act as a virtual bridge to other bridges outside of
the region, and provides a single Spanning-Tree instance to interact with them.
2. Configure Multiple Spanning Tree region parameters, and set the mode to MSTP.
Enterprise Enterprise
Routing Switch Routing Switch
MSTP Group 1 MSTP Group 2
Root Root
This example shows how multiple Spanning Trees can provide redundancy
without wasting any uplink ports. In this example, the server ports are split
between two separate VLANs. Both VLANs belong to two different MSTP groups.
The Spanning Tree priority values are configured so that each routing switch is the
root for a different MSTP instance. All of the uplinks are active, with each uplink
port backing up the other.
1. Configure port membership and define the STGs for VLAN 1. Enable tagging on
uplink ports that share VLANs. Port 19 and port 20 connect to the Enterprise
Routing switches.
4. Configure port membership and define the STGs for VLAN 2. Add server ports 3
and 4 to VLAN 2. Uplink ports 19 and 20 are automatically added to VLAN 2.
Assign VLAN 2 to STG 2.
RS G8052(config)# interface port 3,4
RS G8052(configif)# switchport access vlan 2
RS G8052(configif)# exit
Edge ports send BPDUs to upstream STP devices like normal STP ports, but do not
receive BPDUs. If a port with edge enabled does receive a BPDU, it immediately
begins working as a normal (non-edge) port, and participates fully in Spanning
Tree.
Link Type
The link type determines how the port behaves in regard to Rapid Spanning Tree.
Use the following commands to define the link type for the port:
RS G8052(config)# interface port <port>
RS G8052(configif)# [no] spanningtree linktype <type>
RS G8052(configif)# exit
ISL
Aggregation VLAG
Layer Peers
Servers
As shown in the example, a switch in the access layer may be connected to more
than one switch in the aggregation layer to provide for network redundancy.
Typically, Spanning Tree Protocol (RSTP, PVRST, or MSTP—see Chapter 10,
“Spanning Tree Protocols) is used to prevent broadcast loops, blocking redundant
uplink paths. This has the unwanted consequence of reducing the available
bandwidth between the layers by as much as 50%. In addition, STP may be slow to
resolve topology changes that occur during a link failure, and can result in
considerable MAC address flooding.
Using Virtual Link Aggregation Groups (VLAGs), the redundant uplinks remain
active, utilizing all available bandwidth.
Two switches are paired into VLAG peers, and act as a single virtual entity for the
purpose of establishing a multi-port trunk. Ports from both peers can be grouped
into a VLAG and connected to the same LAG-capable target device. From the
perspective of the target device, the ports connected to the VLAG peers appear to
be a single trunk connecting to a single logical device. The target device uses the
configured Tier ID to identify the VLAG peers as this single logical device. It is
important that you use a unique Tier ID for each VLAG pair you configure. The
VLAG-capable switches synchronize their logical view of the access layer port
structure and internally prevent implicit loops. The VLAG topology also responds
more quickly to link failure and does not result in unnecessary MAC flooding.
VLAGs are also useful in multi-layer environments for both uplink and downlink
redundancy to any regular LAG-capable device. For example:
VLAG 3 Trunk
VLAG 3 VLAG 4
ISL ISL
VLAG VLAG
Peers A Peers B
VLAG 1 VLAG 2
Trunk Trunk
LACP-capable
Switch
LACP-capable
Server
Servers
Wherever ports from both peered switches are trunked to another device, the
trunked ports must be configured as a VLAG. For example, VLAGs 1 and 3 must
be configured for both VLAG Peer A switches. VLAGs 2 and 4 must be configured
for both VLAG Peer B [Link] 3, 5, and 6 must be configured on both
VLAG Peer C switches. Other devices connecting to the VLAG peers are
configured using regular static or dynamic trunks.
Note: Do not configure a VLAG for connecting only one switch in the peer set to
another device or peer set. For instance, in VLAG Peer C, a regular trunk is
employed for the downlink connection to VLAG Peer B because only one of the
VLAG Peer C switches is involved.
VLAG
ISL Peers
VRRP VRRP
VLAG
Master Backup
Server Active
Traffic Flows
VLAG Capacities
Servers or switches that connect to the VLAG peers using a multi-port VLAG are
considered VLAG clients. VLAG clients are not required to be VLAG-capable. The
ports participating in the VLAG are configured as regular port trunks on the
VLAG client end.
On the VLAG peers, the VLAGs are configured similarly to regular port trunks,
using many of the same features and rules. See Chapter 9, “Ports and Trunking”
for general information concerning all port trunks.
Each VLAG begins as a regular port trunk on each VLAG-peer switch. The VLAG
may be either a static trunk group (portchannel) or dynamic LACP trunk group,
and consumes one slot from the overall port trunk capacity pool. The trunk type
must match that used on VLAG client devices. Additional configuration is then
required to implement the VLAG on both VLAG peer switches.
You may configure up to 52 trunk groups on the switch, with all types (regular or
VLAG, static or LACP) sharing the same pool.
Each trunk type can contain up to 8 member ports, depending on the port type and
availability.
© Copyright Lenovo 2015 Chapter 11: Virtual Link Aggregation Groups 183
VLAGs versus Port Trunks
Though similar to regular port trunks in many regards, VLAGs differ from regular
port trunks in a number of important ways:
A VLAG can consist of multiple ports on two VLAG peers, which are connected
to one logical client device such as a server, switch, or another VLAG device.
The participating ports on the client device are configured as a regular port
trunk.
The VLAG peers must be the same model, and run the same software version.
VLAG peers require a dedicated inter-switch link (ISL) for synchronization. The
ports used to create the ISL must have the following properties:
ISL ports must have VLAN tagging turned on.
ISL ports must be configured for all VLAG VLANs.
ISL ports must be placed into a regular port trunk group (dynamic or static).
A minimum of two ports on each switch are recommended for ISL use.
Dynamic routing protocols, such as OSPF, cannot terminate on VLAGs.
Routing over VLAGs is not supported. However, IP forwarding between
subnets served by VLAGs can be accomplished using VRRP.
VLAGs are configured using additional commands.
It is recommended that end-devices connected to VLAG switches use NICs with
dual-homing. This increases traffic efficiency, reduces ISL load, and provides
faster link failover.
© Copyright Lenovo 2015 Chapter 11: Virtual Link Aggregation Groups 185
Basic VLAG Configuration
Figure 19 shows an example configuration where two VLAG peers are used for
aggregating traffic from downstream devices.
Figure 19. Basic VLAGs
ISL
VLAG Peer 1 1 2 VLAG Peer 2
Mgmt IP: [Link]/24 2 3 Mgmt IP: [Link]/24
8 9
LACP 200 7 8
VLAG 1 VLAG 2
LACP 1000 LACP 2000
VLAN 100 VLAN 100
In this example, each client switch is connected to both VLAG peers. On each client
switch, the ports connecting to the VLAG peers are configured as a dynamic LACP
port trunk. The VLAG peer switches share a dedicated ISL for synchronizing
VLAG information. On the individual VLAG peers, each port leading to a specific
client switch (and part of the client switch’s port trunk) is configured as a VLAG.
2. Configure the ISL ports and place them into a port trunk group:
Notes:
3. Configure VLAG Tier ID. This is used to identify the VLAG switch in a multi-tier
environment.
Make sure you configure the VLAG peer (VLAG Peer 2) using the same ISL trunk
type (dynamic or static), the same VLAN for VLAG and VLAG ISL ports, and the
same STP mode and tier ID used on VLAG Peer 1.
1. Configure the VLAN for VLAG 1 ports. Make sure members include the ISL and
VLAG 1 ports. Once the VLAN is ready, the ISL ports are automatically added to it.
4. Continue by configuring all required VLAGs on VLAG Peer 1, and then repeat the
configuration for VLAG Peer 2.
For each corresponding VLAG on the peer, the port trunk type (dynamic or static),
VLAN, STP mode, and ID must be the same as on VLAG Peer 1.
© Copyright Lenovo 2015 Chapter 11: Virtual Link Aggregation Groups 187
5. Enable VLAG globally.
1. Configure STP:
2. Configure the ISL ports and place them into a portchannel (dynamic or static):
Notes:
In this case, a dynamic trunk group is shown. A static trunk (portchannel) could
be configured instead.
ISL ports and VLAG ports must be members of the same VLANs.
3. Configure the VLAG Tier ID. This is used to identify the VLAG switch in a
multi-tier environment.
Make sure you configure the VLAG peer (VLAG Peer 2) using the same ISL trunk
type (dynamic or static), the same VLAN for VLAG and VLAG ISL ports, and the
same STP mode and tier ID used on VLAG Peer 1.
5. Enable VLAG.
© Copyright Lenovo 2015 Chapter 11: Virtual Link Aggregation Groups 189
Configuring the VLAG
To configure the VLAG:
1. Configure the VLAN for VLAG 1 ports. Once the VLAN s ready, the ISL ports are
automatically added to it.
3. Place the VLAG 1 port(s) in a trunk group (static or dynamic) and assign it to the
VLAG:
4. Enable VLAG:
5. Continue by configuring all required VLAGs on VLAG Peer 1, and then follow the
steps for configuring VLAG Peer 2.
For each corresponding VLAG on the peer, the port trunk type (dynamic or static),
the port’s VLAN, and STP mode and ID must be the same as on VLAG Peer 1.
VRRP Master
VLAG Peer 1 Server 1
Layer 3
Router VIR: [Link] VLAG 1
[Link]
1 10
11
2 Server 2
4 5 12 VLAG 2
Internet ISL [Link]
4 5 10
1 11 VLAG 3
Server 3
12
2
Layer 3 VRRP Backup [Link]
Router
VLAG Peer 2
VIR: [Link] Network [Link]/24
Although OSPF is used in this example, static routing could also be deployed. For
more information, see Chapter 29, “Open Shortest Path First” or Chapter 20,
“Basic IP Routing.”
RS G8052(config)# interface ip 3
RS G8052(configipif)# ip address [Link] [Link]
RS G8052(configipif)# vlan 100
RS G8052(configipif)# exit
© Copyright Lenovo 2015 Chapter 11: Virtual Link Aggregation Groups 191
4. Turn on VRRP and configure the Virtual Interface Router.
5. Set the priority of Virtual Router 1 to 101, so that it becomes the Master.
6. Configure the ISL ports and place them into a port trunk group:
Note: In this case, a dynamic trunk group is shown. A static trunk (portchannel)
could be configured instead.
7. Configure the upstream ports.
RS G8052(config)# vlan 10
RS G8052(configvlan)# exit
RS G8052(config)# vlan 20
RS G8052(configvlan)# exit
RS G8052(config)# interface ip 1
RS G8052(configipif)# ip address [Link] [Link]
RS G8052(configipif)# vlan 10
RS G8052(configipif)# enable
RS G8052(configipif)# ip ospf area 1
RS G8052(configipif)# ip ospf enable
RS G8052(configipif)# exit
RS G8052(config)# interface ip 2
RS G8052(configipif)# ip address [Link] [Link]
RS G8052(configipif)# vlan 20
RS G8052(configipif)# enable
RS G8052(configipif)# ip ospf area 1
RS G8052(configipif)# ip ospf enable
RS G8052(configipif)# exit
© Copyright Lenovo 2015 Chapter 11: Virtual Link Aggregation Groups 193
14. Verify the completed configuration:
For each corresponding VLAG on the peer, the port trunk type (dynamic or static),
VLAN, and STP mode and ID must be the same as on VLAG Switch 1.
Although OSPF is used in this example, static routing could also be deployed.
RS G8052(config)# interface ip 3
RS G8052(configipif)# ip address [Link] [Link]
RS G8052(configipif)# vlan 100
RS G8052(configipif)# exit
5. Configure the ISL ports and place them into a port trunk group:
RS G8052(config)# vlan 30
RS G8052(configvlan)# exit
RS G8052(config)# vlan 40
RS G8052(configvlan)# exit
RS G8052(config)# interface ip 1
RS G8052(configipif)# ip address [Link] [Link]
RS G8052(configipif)# vlan 30
RS G8052(configipif)# enable
RS G8052(configipif)# ip ospf area 1
RS G8052(configipif)# ip ospf enable
RS G8052(configipif)# exit
RS G8052(config)# interface ip 2
RS G8052(configipif)# ip address [Link] [Link]
RS G8052(configipif)# vlan 40
RS G8052(configipif)# enable
RS G8052(configipif)# ip ospf area 1
RS G8052(configipif)# ip ospf enable
RS G8052(configipif)# exit
© Copyright Lenovo 2015 Chapter 11: Virtual Link Aggregation Groups 195
10. Place the VLAG port(s) in their port trunk groups.
VLAG 3 Trunk
VLAG 3 VLAG 4
ISL ISL
VLAG VLAG
Peers A Switch C Switch D Switch E Switch F Peers B
VLAG 1 VLAG 2
Trunk Trunk
LACP-capable
Switch G Switch
LACP-capable
Server
Servers
RS G8052(config)# vlan 10
VLAN number 10 with name “VLAN 10” created
VLAN 10 was assigned to STG 10
RS G8052(configvlan)# exit
RS G8052(config)# interface port 1,2,5
RS G8052(configif)# switchport mode trunk
RS G8052(configif)# switchport trunk allowed vlan 10
RS G8052(configif)# exit
© Copyright Lenovo 2015 Chapter 11: Virtual Link Aggregation Groups 197
Repeat the previous steps on Switch B for ports connecting to Layer 2/3 router 1.
RS G8052(config)# vlan 20
VLAN number 20 with name “VLAN 20” created
VLAN 20 was assigned to STG 20
RS G8052(configvlan)# exit
RS G8052(config)# interface port 1,2,6
RS G8052(configif)# switchport mode trunk
RS G8052(configif)# switchport trunk allowed vlan 20
RS G8052(configif)# exit
Repeat these commands on Switch B for ports connecting to Layer 2/3 router 2.
RS G8052(config)# vlan 20
RS G8052(configvlan)# exit
RS G8052(config)# interface port 10,11
RS G8052(configif)# switchport mode trunk
RS G8052(configif)# switchport trunk allowed vlan 20
RS G8052(configif)# lacp key 600
RS G8052(configif)# lacp mode active
RS G8052(configif)# exit
RS G8052(config)# vlan 30
RS G8052(configvlan)# exit
RS G8052(config)# interface port 1518
RS G8052(configif)# switchport mode trunk
RS G8052(configif)# switchport trunk allowed vlan 30
RS G8052(configif)# lacp key 700
RS G8052(configif)# lacp mode active
RS G8052(configif)# exit
7. Configure ISL between switches C and D, and between E and F as shown in Step 1.
By assigning QoS levels to traffic flows on your network, you can ensure that
network resources are allocated where they are needed most. QoS features allow
you to prioritize network traffic, thereby providing better service for selected
applications.
The G8052 allows you to classify packets based on various parameters. For
example:
Ethernet: source MAC, destination MAC, VLAN number/mask, Ethernet type,
priority.
IPv4: Source IP address/mask, destination address/mask, type of service, IP pro-
tocol number.
TCP/UPD: Source port, destination port, TCP flag.
Packet format
Actions taken by an ACL are called In-Profile actions. You can configure additional
In-Profile and Out-of-Profile actions on a port. Data traffic can be metered, and
re-marked to ensure that the traffic flow provides certain levels of service in terms
of bandwidth for different types of network traffic.
Metering
QoS metering provides different levels of service to data streams through
user-configurable parameters. A meter is used to measure the traffic stream against
a traffic profile, which you create. Thus, creating meters yields In-Profile and
Out-of-Profile traffic for each ACL, as follows:
In-Profile–If there is no meter configured or if the packet conforms to the meter,
the packet is classified as In-Profile.
Out-of-Profile–If a meter is configured and the packet does not conform to the
meter (exceeds the committed rate or maximum burst rate of the meter), the
packet is classified as Out-of-Profile.
Using meters, you set a Committed Rate in Kbps (multiples of 64 Mbps). All traffic
within this Committed Rate is In-Profile. Additionally, you set a Maximum Burst
Size that specifies an allowed data burst larger than the Committed Rate for a brief
period. These parameters define the In-Profile traffic.
Meters keep the sorted packets within certain parameters. You can configure a
meter on an ACL, and perform actions on metered traffic, such as packet
re-marking.
The six most significant bits in the TOS byte of the IP header are defined as
DiffServ Code Points (DSCP). Packets are marked with a certain value depending
on the type of treatment the packet must receive in the network device. DSCP is a
measure of the Quality of Service (QoS) level of the packet.
The switch can classify traffic by reading the DiffServ Code Point (DSCP) or IEEE
802.1p priority value, or by using filters to match specific criteria. When network
traffic attributes match those specified in a traffic pattern, the policy instructs the
switch to perform specified actions on each packet that passes through it. The
packets are assigned to different Class of Service (COS) queues and scheduled for
transmission.
7 6 5 4 3 2 1 0
The switch can use the DSCP value to direct traffic prioritization.
The default settings are based on the following standard PHBs, as defined in the
IEEE standards:
Expedited Forwarding (EF)—This PHB has the highest egress priority and
lowest drop precedence level. EF traffic is forwarded ahead of all other traffic.
EF PHB is described in RFC 2598.
Assured Forwarding (AF)—This PHB contains four service levels, each with a
different drop precedence, as shown in the following table. Routers use drop
precedence to determine which packets to discard last when the network
becomes congested. AF PHB is described in RFC 2597.
Low AF11 (DSCP 10) AF21 (DSCP 18) AF31 (DSCP 26) AF41 (DSCP 34)
Medium AF12 (DSCP 12) AF22 (DSCP 20) AF32 (DSCP 28) AF42 (DSCP 36)
High AF13 (DSCP 14) AF23 (DSCP 22) AF33 (DSCP 30) AF43 (DSCP 38)
Class Selector (CS)—This PHB has eight priority classes, with CS7 representing
the highest priority, and CS0 representing the lowest priority, as shown in the
following table. CS PHB is described in RFC 2474.
Highest CS7 56
CS6 48
CS5 40
CS4 32
CS3 24
CS2 16
CS1 8
Lowest CS0 0
Critical CS7 7
Then you must enable DSCP re-marking on any port that you wish to perform this
function (Interface Port mode).
Note: If an ACL meter is configured for DSCP re-marking, the meter function
takes precedence over QoS re-marking.
Example 1
The following example includes the basic steps for re-marking DSCP value and
mapping DSCP value to 802.1p.
Example 2
The following example assigns strict priority to VoIP traffic and a lower priority to
all other traffic.
1. Create an ACL to re-mark DSCP value and COS queue for all VoIP packets.
RS G8052(configif)# dscpmarking
RS G8052(configif)# exit
The IEEE 802.1p standard uses eight levels of priority (0-7). Priority 7 is assigned to
highest priority network traffic, such as OSPF or RIP routing table updates,
priorities 5-6 are assigned to delay-sensitive applications such as voice and video,
and lower priorities are assigned to standard applications. A value of 0 (zero)
indicates a “best effort” traffic prioritization, and this is the default when traffic
priority has not been configured on your network. The switch can filter packets
based on the 802.1p values.
Figure 24. Layer 2 802.1q/802.1p VLAN tagged packet
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
Egress packets are placed in a COS queue based on the priority value, and
scheduled for transmission based on the scheduling weight of the COS queue.
To configure a port’s default 802.1p priority value, use the following commands:
To set the COS queue scheduling weight, use the following command:
The control plane receives packets that are channeled through protocol-specific
packet queues. Multiple protocols can be channeled through a common packet
queue. However, one protocol cannot be channeled through multiple packet
queues. These packet queues are applicable only to the packets received by the
software and does not impact the regular switching or routing traffic. Packet queue
with a higher number has higher priority.
You can configure the bandwidth for each packet queue. Protocols that share a
packet queue will also share the bandwidth.
Given below are the commands to configure the control plane protection (CoPP)
feature:
WRED discards packets based on the CoS queues. Packets marked with lower
priorities are discarded first.
For implementing ECN, you require ECN-specific field that has two bits—the
ECN-capable Transport (ECT) bit and the CE (Congestion Experienced) bit—in the
IP header. ECN is identified and defined by the values in these bits in the
Differentiated Services field of IP Header. Table 18 shows the combination values
of the ECN bits.
Table 18. ECN Bit Setting
0 0 Not ECN-capable
1 1 Congestion experienced
Configuring WRED/ECN
For configuring WRED, you must define a TCP profile and a non-TCP profile.
WRED prioritizes TCP traffic over non-TCP traffic.
For configuring ECN, you must define a TCP profile. You don’t need a non-TCP
profile as ECN can be enabled only for TCP traffic.
If you do not configure the profiles, the profile thresholds are set to maximum
value of 0x3FFF to avoid drops.
Note: WRED/ECN can be configured only on physical ports and not on trunks.
WRED and ECN are applicable only to unicast traffic.
Consider the following guidelines for configuring WRED/ECN:
Profiles can be configured globally or per port. Global profiles are applicable to
all ports.
Always enable the global profile before applying the port-level profile.
Note: You can enable the global profile and disable the port-level profile.
However, you must not enable the port-level profile if the global profile is disabled.
WRED settings are dependent on Memory Management Unit (MMU) Settings. If
you change the MMU setting, it could impact WRED functionality.
You cannot enable WRED if you have QoS buffer settings such as Converged
Enhanced Ethernet (CEE), Priority-based Flow Control (PFC), or Enhanced
Transmission Selection (ETS).
The number of WRED profiles per-port must match the total number of COS
Queues configured in the system.
3. Configure WRED thresholds (minimum, maximum, and drop rate) for TCP traffic.
5. Configure WRED thresholds (minimum, maximum, and drop rate) for TCP traffic.
3. Configure ECN thresholds (minimum, maximum, and drop rate) for TCP traffic.
5. Configure ECN thresholds (minimum, maximum, and drop rate) for TCP traffic.
Based on your requirement, select the switch boot profile using the following
commands:
OpenFlow-only: RS G8052(config)# boot profile openflow
The switch will operate only in OpenFlow environment. None of the legacy
switching features will be supported.
OpenFlow and Legacy Switching:
RS G8052(config)# boot profile default
Legacy switching features can be configured on the non-OpenFlow ports. By
default, the switch boots in this profile.
OpenFlow 1.3 includes (but not limited to) the following key features:
Static portchannels and static LACP trunks
MAC address/IP address masking
Flexible Table Miss and Fail Secure
Static CLI for Flow Programming
OpenFlow Groups
FDB aging timer
OpenFlow 1.0 backwards compatibility
The controller decides which flows to admit and the path their packets follow.
The switch classifies the flows as ACL-based or FDB-based. When the switch
operates in OpenFlow boot profile (See “Switch Profiles” on page 223), a maximum
of 2000 ACL-based flows, 1024 FDB multicast flows, 30976 FDB unicast flowsWhen
the switch operates in default boot profile, a maximum of 1500 ACL-based flows,
1024 FDB multicast flows, and 30976 FDB unicast flows are available. The instances
share these flows dynamically. To guarantee a specific number of flows to an
instance, use the following commands:
OpenFlow boot profile:
Note: When the switch operates in default boot profile, the number of FDB flows to
an instance cannot be guaranteed.
In version 1.0 of the OpenFlow standard, the G8052 supports two flow tables per
switch instance; basic flow table and emergency flow table. Actions are applied to
packets that match the flow entry. This is done in the data path.
Once a packet arrives, the switch searches the flow table. When a flow entry is hit
in the search, the packet is processed according to the action specified in the flow
entry.
Static flow entries are based on the following qualifiers, actions, and options:
Qualifier Description
vlan-priority 802.1p(0-7)
Qualifier Description
Qualifier Description
vlan-pcp 802.1p(0-7)
Action Description
Action Description
Action Description
The output action includes output and output-portchannel. Their order is not
mandatory.
Option Description
Port Membership
When static flow entries are configured, port membership changes are handled as
follows:
If a port is the “in-port” or “out-port” in a static flow entry, the port membership
cannot be changed.
When a port membership changes, the ingress bitmap of static entries with
in-port ANY will be updated.
When a port membership changes, the egress bitmap of static entries with
redirect output FlOOD/ANY will be updated.
To enable Layer 2 ECMP for OpenFlow station moves, use the following
commands:
STATIC FLOWS
Flow:1 Index:1
Filter Based, priority:12345
QUALIFIERS: ingressport:1
ACTION: output:10
STATS: packets=0, bytes=0
Flow:2 Index:2
Filter Based, priority: 1000
QUALIFIERS: vlanid: 1
dstmac:000000000001
ACTION: setvlanpriority=3, output:20
STATS: packets=0, bytes=0
Flow:3 Index:3
Filter Based, priority: 1000
QUALIFIERS:
ACTION: output:CONTROLLER [Max Len: 65534 / bytes (C/S)]
STATS: packets=26, bytes=1776
STATIC FLOWs
By default, packets that don’t match any of the existing flow entries are dropped.
To set up an OpenFlow instance to send non-matching packets to the controller
instead of dropping them, use the following commands:
In Emergency mode enabled state, if the connection to the controller fails, the
switch tries to establish connection with any of the other configured controllers. If
it is unable to connect with any controller, it enters Emergency mode. It replaces
the flow entries with the entries from the emergency flow table.
The switch stays in the Emergency mode for the time configured as the Emergency
timeout interval (default value is 30 seconds), after which the switch tries to
establish connection with any configured controller.
If connection with a controller is established, the switch exits Emergency mode.
Entries in the Emergency flow table are retained. If desired, the controller may
delete all the emergency flow entries.
If connection with a controller is not established, the switch stays in Emergency
mode and continues to forward packets based on the Emergency flows. It retries
to establish a connection with a controller every time the Emergency timeout
interval expires.
Flow:1
FDB Based, priority: 1000, hardtimeout: 0
QUALIFIERS: dstmac:010203050600, vlanid: 100
ACTION: outport:21
Flow:2
Filter Based, priority:32768, hardtimeout: 0, idletimeout: 0
QUALIFIERS: vlanid: 100
dstmac:010203667600
ACTION: output:22
STATS: packets=0, bytes=0
Flow:1
FDB Based, priority: 1000, hardtimeout: 0
QUALIFIERS: dstmac:010203660600, vlanid: 100
ACTION: outport:21
Flow:2
Filter Based, priority:32768, hardtimeout: 0, idletimeout: 0
QUALIFIERS: vlanid: 100
dstmac:010203660600
ACTION: output:22
Flow:1
FDB Based, priority: 1000, hardtimeout: 0
QUALIFIERS: dstmac:015503119600, vlanid: 200
ACTION: outport:31
Flow:1
FDB Based, priority: 1000, hardtimeout: 0
QUALIFIERS: dstmac:015503111600, vlanid: 200
ACTION: outport:31
For each OpenFlow instance, when you configure the controller IP address and
port, the switch establishes a TCP connection with the controller for flow control
and management. See Step 3 on page 242. The switch supports up to four
controllers per instance. The default controller port is 6633 and is reachable via
out-of-band management port (port 65) or in-band port. The controller
management ports must not be members of an OpenFlow instance. You can use a
controller to manage and control multiple instances.
Note: In default boot profile, when you disable OpenFlow, the OpenFlow ports
become legacy switch ports and are added to the default VLAN 1.
Note: Edge ports are not OpenFlow standard ports. You must configure edge ports
only if the controller supports it.
For more information about trunk groups, see Chapter 9, “Ports and Trunking.”
Link Aggregation
In OpenFlow 1.3, port trunk groups can be added to OpenFlow instances. A trunk
aggregates its member ports to form a logical port with increased bandwidth. You
can add an existing static trunk group (portchannel) or static LACP trunk group to
an OpenFlow instance using the following commands:
where the trunk ID (the logical port ID) is derived from the original trunk
configuration, based on the trunk type:
Static trunk group (portchannel)
Note: For more information about configuring trunk groups, see Chapter 9, “Ports
and Trunking.”
Once added to the instance, the trunk ports inherit the OpenFlow data properties
such as MAC learning turned off, flood blocking turned on, and STP disabled.
The trunk link remains active as long as at least one member port is up. The trunk
link speed is an aggregation of the speed of the individual member ports. If any
port in the trunk goes down, the overall trunk link speed is decreased accordingly.
To add a static trunk group or static LACP trunk group to the edge ports list, use
the following command:
Note: If the data path ID is changed, the switch instance closes the active
connection and reconnects with the modified data path ID.
1. Enable OpenFlow:
In version 1.3 of the OpenFlow standard, you can also add static portchannels
(1-52) or static LACP trunks (53-104) to the instance:
RS G8052(configopenflowinstance)# enable
Configure OpenFlow instance 1, which connects with two controllers via in-band
management ports, and OpenFlow instance 2, which connects with two controllers
via in-band management ports.
RS G8052(config)# interface ip 1
RS G8052(configipif)# ip address [Link] [Link] enable
RS G8052(configipif)# vlan 3000
RS G8052(configipif)# exit
RS G8052(config)# interface ip 2
RS G8052(configipif)# ip address [Link] [Link] enable
RS G8052(configipif)# vlan 4000
RS G8052(configipif)# exit
RS G8052(config)# openflow mgmtport 3,4(Switch can connect with the controllers via port 3
and 4, which are connected to the controller
networks)
Note: Step 5 is not required when the switch operates in default boot profile.
5. Create OpenFlow switch instance 1 and add ports:
RS G8052(configopenflowinstance)# enable
RS G8052(configopenflowinstance)# exit
RS G8052(configopenflowinstance)# enable
RS G8052(config)# interface ip 1
RS G8052(configipif)# ip address [Link] [Link] enable
RS G8052(configipif)# vlan 3000
RS G8052(configipif)# exit
RS G8052(config)# interface ip 2
RS G8052(configipif)# ip address [Link] [Link] enable
RS G8052(configipif)# vlan 4000
RS G8052(configipif)# exit
RS G8052(configopenflowinstance)# enable
RS G8052(configopenflowinstance)# exit
RS G8052(configopenflowinstance)# enable
RS G8052(configopenflowinstance)# exit
Stacking Requirements
Before Networking OS switches can form a stack, they must meet the following
requirements:
All switches must be the same model (RackSwitch G8052).
Each switch must be installed with N/OS, version 8.3 or later. The same release
version is not required, as the Master switch will push a firmware image to each
differing switch which is part of the stack.
The recommended stacking topology is a bidirectional ring (see Figure 25 on
page 260). To achieve this, two 10Gb Ethernet ports on each switch must be
reserved for stacking. By default, 10Gb Ethernet ports 49-50 are used.
The cables used for connecting the switches in a stack carry low-level,
inter-switch communications as well as cross-stack data traffic critical to shared
switching functions. Always maintain the stability of stack links to avoid
internal stack reconfiguration.
An operational stack must contain one Master and one or more Members, as
follows:
Master
One switch controls the operation of the stack and is called the Master. The
Master provides a single point to manage the stack. A stack must have one and
only one Master. The firmware image, configuration information, and run-time
data are maintained by the Master and pushed to each switch in the stack as
necessary.
Member
Member switches provide additional port capacity to the stack. Members
receive configuration changes, run-time information, and software updates
from the Master.
Backup
One member switch can be designated as a Backup to the Master. The Backup
takes over control of the stack if the Master fails. Configuration information and
run-time data are synchronized with the Master.
When adding new switches to an existing stack, the administrator must explicitly
configure each new switch for its intended role as a Master (only when replacing a
previous Master) or as a Member. All stack configuration procedures in this
chapter depict proper role specification.
In this scenario, if both the (original) Master and the Backup (acting as Master) are
in operation when the merger occurs, the original Master will reassert its role as
active Master for the entire stack. If any configuration elements were changed and
applied on the Backup during the time it acted as Master (and forwarded to its
connected Members), the Backup and its affected Members will reboot and will be
reconfigured by the returning Master before resuming their regular roles.
If both the Master and Backup are rebooted, all member switches in the stack will
also reboot. When the switches resume operation, they will assume their originally
configured roles.
If, while the stack is still split, the Backup (acting as Master) is explicitly
reconfigured to become a regular Master, then when the split stacks are finally
merged, the Master with the lowest MAC address will become the new active
Master for the entire stack.
Although all switches which are configured for stacking and joined by stacking
links are recognized as potential stack participants by any operational Master
switches, they are not brought into operation within the stack until explicitly
assigned (or “bound”) to a specific Master switch.
Consider two independent stacks, Stack A and Stack B, which are merged into one
stacking topology. The stacks will behave independently until the switches in
Stack B are bound to Master A (or vice versa). In this example, once the Stack B
switches are bound to Master A, Master A will automatically reconfigure them to
operate as Stack A Members, regardless of their original status within Stack B.
The Backup retains its status until one of the following occurs:
The Backup setting is deleted or changed using the following commands from
the active Master:
-or-
RS G8052(config)# stack backup <csnum 1-8>
A new Master assumes operation as active Master in the stack, and uses its own
configured Backup settings.
The active Master is rebooted with the boot configuration set to factory defaults
(clearing the Backup setting).
Master Failover
When the Master switch is present, it controls the operation of the stack and
pushes configuration information to the other switches in the stack. If the active
Master fails, then the designated Backup (if one is defined in the Master’s
configuration) becomes the new acting Master and the stack continues to operate
normally.
Secondary Backup
When a Backup takes over stack control operations, if any other configured Masters
(acting as Member switches) are available within the stack, the Backup will select one
as a secondary Backup. The primary Backup automatically reconfigures the
secondary Backup and specifies itself (the primary Backup) as the new Backup in case
the secondary fails. This prevents the chain of stack control from migrating too far
from the original Master and Backup configuration intended by the administrator.
Master Recovery
If the prior Master recovers in a functioning stack where the Backup has assumed
stack control, the prior Master does not reassert itself as the stack Master. Instead,
the prior Master will assume a role as a secondary Backup to avoid further stack
disruption.
Upon stack reboot, the Master and Backup will resume their regular roles.
When a group of stacked switches are rebooted without an active Master present,
the switches are considered to be isolated. All isolated switches in the stack are
placed in a WAITING state until a Master appears. During this WAITING period, all
the ports, except the management port and stacking ports, of these Member
switches are placed into operator-disabled state. Without the Master, a stack
cannot respond correctly to networking events.
It is recommended that asnum 1 and csnum 1 be used for identifying the Master
switch. By default, csnum 1 is assigned to the Master. If csnum 1 is not available,
the lowest available csnum is assigned to the Master.
Configuration Overview
This section provides procedures for creating a stack of switches. The high-level
procedure is as follows:
Configure the stack settings to be available after the next reboot:
Choose one Master switch for the entire stack.
Configure the same stacking VLAN for all switches in the stack.
Configure the desired stacking interlinks.
Configure a management interface.
Reboot the Master switch.
Configure the stack after the reboot:
Bind Member switches to the Master.
Assign a Backup switch.
Stacking VLANs
VLAN 4090 is the default VLAN reserved for internal traffic on stacking ports. You
can change the VLAN, if required.
Note: Do not use VLAN 4090 (or the configured VLAN) for any purpose other
than internal stacking traffic.
By default, each switch is set to Member mode. However, one switch must be set to
Master mode. Use the following command on only the designated Master switch:
Note: If any Member switches are incorrectly set to Master mode, use the mode
member option to set them back to Member mode.
2. On each switch, configure the stacking VLAN (or use the default setting).
Although any VLAN (except VLAN 1) may be defined for stack traffic, it is highly
recommended that the default, VLAN 4090 as shown in the following example, be
reserved for stacking.
To create the recommended topology, dedicate at least two 10Gb ports on each
switch to stacking. By default, 10Gb Ethernet ports 49 and 50 are used.
Note: Ports configured as Server ports for use with VMready cannot be designated
as stacking links.
4. On each switch, perform a reboot:
RS G8052(config)# reload
To create the recommended topology, attach the two designated stacking links in a
bidirectional ring. As shown in Figure 25, connect each switch in turn to the next,
starting with the Master switch. To complete the ring, connect the last Member
switch back to the Master.
Figure 25. Example of Stacking Connections
Master
Switch
Switches Member
connected in Switch
bidirectional
ring topology Member
Switch
Member
Switch
Note: The stacking feature is designed such that the stacking links in a ring
topology do not result in broadcast loops. The stacking ring is thus valid (no
stacking links are blocked), even when Spanning Tree protocol is enabled.
When two units are connected with multiple stacking links, the links are
automatically added as members of a higig trunk.
Once the stack trunks are connected, the switches will perform low-level stacking
configuration.
Note: Although stack link failover/failback is accomplished on a sub-second basis,
to maintain the best stacking operation and avoid traffic disruption, it is
recommended not to disrupt stack links after the stack is formed.
Once completed, stack management can be performed via Telnet or BBI (if
enabled) from any point in the configured VLAN, using the IPv4 address of the
configured IP interface.
In the event that the Master switch fails, if a Backup switch is configured (see
“Assigning a Stack Backup Switch” on page 263), the external IP interface for the
stack will still be available.
Local switch:
csnum 2
MAC fc:cf:62:9d:4f:00
Switch Type 10 (G8052)
Switch Mode (cfg) Master
Priority 225
Stack MAC fc:cf:62:9d:4f:1f
Master switch:
csnum 2
MAC fc:cf:62:9d:4f:00
Backup switch:
csnum 3
MAC 34:40:b5:3f:0b:00
Configured Switches:
csnum MAC asnum
C1 34:40:b5:3f:1d:00 A2
C2 fc:cf:62:9d:4f:00 A1
C3 34:40:b5:3f:0b:00 A5
C4 34:40:b5:41:76:00 A4
C5 34:40:b5:40:bc:00 A3
RS G8052(config)#
RS G8052(config)#
Field Description
The Update Image/Cfg section of the window applies to the Master. When a new
software image or configuration file is loaded, the file first loads onto the Master,
and the Master pushes the file to all other switches in the stack, placing it in the
1. Load new software on the Master (see “Loading New Software to Your Switch” on
page 72).
The Master pushes the new software image to all Members in the stack, as follows:
If the new software is loaded into image 1, the Master pushes the software into
image 1 on all Members.
If loaded into image 2, the Master pushes the software into image 2 on all
Members.
2. Verify that the software push is complete. Use either the BBI or the ISCLI:
From the BBI, go to Dashboard > Stacking > Push Status and view the Image
Push Status Information, or
From the ISCLI, use following command to verify the software push:
3. Reboot all switches in the stack. Use either the ISCLI or the BBI.
From the BBI, select Configure > System > Config/Image Control. Click Reboot
Stack.
From the ISCLI, use the following command:
RS G8052(config)# reload
This will force the Backup switch to assume Master operations for the stack.
3. Remove the stack link cables from the old switch only.
Otherwise, if replacing the removed switch with a new unit, use the following
procedure:
1. Make sure the new switch meets the stacking requirements on page 252.
2. Place the new switch in its determined place according to the RackSwitch G8052
Installation Guide.
3. Connect to the ISCLI of the new switch (not the stack interface).
5. Configure the stacking VLAN on the new switch, or use the default setting.
Although any VLAN may be defined for stack traffic, it is highly recommended
that the default, VLAN 4090, be reserved for stacking, as shown in the following
command.
It is recommended that you designate the same number of 10Gb ports for stacking
as the switch being replaced. By default, 10Gb Ethernet ports 49 and 50 are used.
At least one 10Gb port is required.
Use the following command to specify the links to be used in the stacking trunk:
7. Attach the required stack link cables to the designated stack links on the new
switch.
RS G8052(config)# reload
When the new switch boots, it will join the existing stack. Wait for this process to
complete.
You can bind Member switches to a stack csnum using either the new switch’s
asnum or MAC address :
Note: If replacing the Master switch, the Master will not assume control from the
Backup unless the Backup is rebooted or fails.
This approach differs from the traditional image upgrade that requires manual
image downloads and install to individual switches, which then requires the entire
logical switch reboot.
The upgrade is performed by first copying the new firmware to all members of the
stack. The master switch then triggers the other members of the stack to upgrade
and reboot sequentially.
where:
tftp, ftp, sftp is the protocol for copying
image1, image2 is the image to which the firmware is being copied
address is the IP address from which the firmware is being
copied
delay is the delay between each reload, in minutes
After the firmware is copied to all members of the stack, the rolling upgrade
process automatically reboots all switches sequentially in the following order:
Backup switch
Master switch
Other stack members, from lowest to highest csnum
The master switch can display the syslog messages originated on any stack
member as long as the specified stack element is currently an active member of the
stack using the command:
where:
For example, to retrieve the last 2000 syslog messages of severity 4 or greater from
switch 3, enter:
To retrieve the contents of the log files stored on flash on a specified switch in the
stack and copy that information to an external host using the specified protocol
(SFTP or TFTP). In case the feature of saving log to flash is disabled, this command
must be rejected.
To copy syslog content to an external host using SFTP or TFTP, use the command:
where:
To configure up to two external hosts to log stack errors, use the command:
where
<facility> the facility (0-7) of the logs being written to external syslog
servers
<severity> the severity (0-7) of the logs being written to external syslog
servers
Ports that are not defined as server ports are automatically considered uplink
ports.
VM Group Types
VEs, as well as switch server ports, switch uplink ports, static trunks, and LACP
trunks, can be placed into VM groups on the switch to define virtual
communication boundaries. Elements in a given VM group are permitted to
communicate with each other, while those in different groups are not. The
elements within a VM group automatically share certain group-level settings.
N/OS 8.3 supports up to 1024 VM groups. There are two different types:
Local VM groups are maintained locally on the switch. Their configuration is not
synchronized with hypervisors.
Distributed VM groups are automatically synchronized with a virtualization
management server (see “Assigning a vCenter” on page 286).
Each VM group type is covered in detail in the following sections.
Local VM groups support limited VE migration: as VMs and other VEs move to
different hypervisors connected to different ports on the switch, the configuration
of their group identity and features moves with them. However, VE migration to
and from more distant hypervisors (those not connected to the G8052, may require
manual configuration when using local VM groups.
VM Profiles
VM profiles are required for configuring distributed VM groups. They are not used
with local VM groups. A VM profile defines the VLAN and virtual switch
bandwidth shaping characteristics for the distributed VM group. The switch
distributes these settings to the virtualization management server, which in turn
distributes them to the appropriate hypervisors for VE members associated with
the group.
Next, the profile must be edited and configured using the following configuration
commands:
For virtual switch bandwidth shaping parameters, average and peak bandwidth
are specified in kilobits per second (a value of 1000 represents 1 Mbps). Burst size is
specified in kilobytes (a value of 1000 represents 1 MB). Eshaping (egress shaping)
is used for distributed virtual switch.
Note: The bandwidth shaping parameters in the VM profile are used by the
hypervisor virtual switch software. To set bandwidth policies for individual VEs,
see “VM Policy Bandwidth Control” on page 291.
Once configured, the VM profile may be assigned to a distributed VM group as
shown in the following section.
RS G8052(config)# virt vmgroup <VM group number> profile <VM profile name>
Note: The VM profile can be added only to an empty VM group (one that has no
VLAN, VMs, or port members). Any VM group number currently configured for a
local VM group (see “Local VM Groups” on page 277) cannot be converted and
must be deleted before it can be used for a distributed VM group.
Assigning Members
VMs, ports, and trunks may be added to the distributed VM group only after the
VM profile is assigned. Group members are added, pre-provisioned, or removed
from distributed VM groups in the same manner as with local VM groups (“Local
VM Groups” on page 277), with the following exceptions:
VMs: VMs and other VEs are not required to be local. Any VE known by the
virtualization management server can be part of a distributed VM group.
The VM group vlan option (see page 278) cannot be used with distributed VM
groups. For distributed VM groups, the VLAN is assigned in the VM profile.
Adding a server host interface to a distributed VM group does not create a new
port group on the virtual switch or move the host. Instead, because the host
interface already has its own virtual switch port group on the hypervisor, the VM
profile settings are applied to its existing port group.
Note: When applying the distributed VM group configuration, the virtualization
management server and associated hypervisors must take appropriate actions. If a
hypervisor is unable to make requested changes, an error message will be
displayed on the switch. Be sure to evaluate all error message and take the
appropriate actions for the expected changes to apply.
The VMcheck solution addresses these security concerns by validating the MAC
addresses assigned to VMs. The switch periodically sends hello messages on server
ports. These messages include the switch identifier and port number. The hypervisor
listens to these messages on physical NICs and stores the information, which can be
retrieved using the VMware Infrastructure Application Programming Interface (VI
API). This information is used to validate VM MAC addresses. Two modes of
validation are available: Basic and Advanced.
Use the following command to select the validation mode or to disable validation:
Basic Validation
This mode provides port-based validation by identifying the port used by a
hypervisor. It is suitable for environments in which MAC reassignment or
duplication cannot occur.
The switch, using the hello message information, identifies a hypervisor port. If the
hypervisor port is found in the hello message information, it is deemed to be a
trusted port. Basic validation should be enabled when:
A VM is added to a VM group, and the MAC address of the VM interface is in
the Layer 2 table of the switch.
A VM interface that belongs to a VM group experiences a “source miss” i.e. is
not able to learn new MAC address.
A trusted port goes down. Port validation must be performed to ensure that the
port does not get connected to an untrusted source when it comes back up.
Use the following command to set the action to be performed if the switch is
unable to validate the VM MAC address:
When the switch receives frames from a VM, it first validates the VM interface
based on the VM MAC address, VM Universally Unique Identifier (UUID), Switch
port, and Switch ID available in the hello message information. Only if all the four
parameters are matched, the VM MAC address is considered valid.
In advanced validation mode, if the VM MAC address validation fails, an ACL can
be automatically created to drop the traffic received from the VM MAC address on
the switch port. Use the following command to specify the number of ACLs to be
automatically created for dropping traffic:
Use the following command to set the action to be performed if the switch is
unable to validate the VM MAC address:
Command Description
Distributed port groups on a vDS are available to all hypervisors that are
connected to the vDS. Members of a single distributed port group can
communicate with each other.
Note: vDS works with ESX 4.0 or higher versions.
To add a vDS, use the command:
Prerequisites
Before adding a vDS on the G8052, ensure the following:
VMware vCenter is fully installed and configured and includes a “bladevm”
administration account and a valid SSL certificate.
A virtual distributed switch instance has been created on the vCenter. The vDS
version must be higher or the same as the hypervisor version on the hosts.
At least two hypervisors are configured.
Guidelines
Before migrating VMs to a vDS, consider the following:
At any one time, a VM NIC can be associated with only one virtual switch: to the
hypervisor’s virtual switch, or to the vDS.
Management connection to the server must be ensured during the migration.
The connection is via the Service Console or the Kernel/Management Interface.
The vDS configuration and migration can be viewed in vCenter at the following
locations:
vDS: Home> Inventory > Networking
vDS Hosts: Home > Inventory > Networking > vDS > Hosts
Note: These changes will not be displayed in the running configuration on the
G8052.
Assigning a vCenter
Assigning a vCenter to the switch requires the following:
The vCenter must have a valid IPv4 address which is accessible to the switch
(IPv6 addressing is not supported for the vCenter).
A user account must be configured on the vCenter to provide access for the
switch. The account must have (at a minimum) the following vCenter user privi-
leges:
Network
Once vCenter requirements are met, the following configuration command can be
used on the G8052 to associate the vCenter with the switch:
This command specifies the IPv4 address and account username that the switch
will use for vCenter access. Once entered, the administrator will be prompted to
enter the password for the specified vCenter account.
The noauth option causes to the switch to ignores SSL certificate authentication.
This is required when no authoritative SSL certificate is installed on the vCenter.
Note: By default, the vCenter includes only a self-signed SSL certificate. If using
the default certificate, the noauth option is required.
Once the vCenter configuration has been applied on the switch, the G8052 will
connect to the vCenter to collect VE information.
The switch completes a vCenter scan approximately every two minutes. Any major
changes made through the vCenter may take up to two minutes to be reflected on
the switch. However, you can force an immediate scan of the vCenter by using one
of the following ISCLI privileged EXEC commands:
VM migration requires that the target hypervisor includes all the virtual switch
port groups to which the VM connects on the source hypervisor. The VM profile
export feature can be used to distribute the associated port groups to all the
potential hosts for a given VM.
A VM profile can be exported to a host using the following ISCLI privileged EXEC
command:
RS G8052# virt vmware export <VM profile name> <host list> <virtual switch name>
The host list can include one or more target hosts, specified by host name, IPv4
address, or UUID, with each list item separated by a space.
Once executed, the requisite port group will be created on the specified virtual
switch. If the specified virtual switch does not exist on the target host, the port
group will not be created.
Undiscovered VEs are added to or removed from VM groups using the following
configuration commands:
RS G8052(config)# [no] virt vmgroup <VM group number> vm <VE MAC address>
N/OS 8.3 supports up to 128 VMAPsIndividual VMAP filters are configured in the
same fashion as regular ACLs, except that VLANs cannot be specified as a filtering
criteria (unnecessary, since VMAPs are assigned to a specific VLAN or associated
with a VM group VLAN).
VMAPs are configured using the following ISCLI configuration command path:
Once a VMAP filter is created, it can be assigned or removed using the following
commands:
For regular VLANs, use config-vlan mode:
Note: Each VMAP can be assigned to only one VLAN or VM group. However,
each VLAN or VM group may have multiple VMAPs assigned to it.
The optional serverports or nonserverports parameter can be specified to
apply the action (to add or remove the VMAP) for either the switch server ports
(serverports) or switch uplink ports (nonserverports). If omitted, the
operation will be applied to all ports in the associated VLAN or VM group.
Note: VMAPs have a lower priority than port-based ACLs. If both an ACL and a
VMAP match a particular packet, both filter actions will be applied as long as there
is no conflict. In the event of a conflict, the port ACL will take priority, though
switch statistics will count matches for both the ACL and VMAP.
Bandwidth allocation can be defined for transmit (TX) traffic or receive (RX) traffic.
Because bandwidth allocation is specified from the perspective of the VE, the
switch command for TX Rate Control (txrate) sets the data rate to be sent from
the VM to the switch, and the RX rate sets the data rate to be received by the VM
from the switch.
The committed rate is specified in multiples of 64 kbps, from 64 to 40,000,000. The
maximum burst rate is specified as 32, 64, 128, 256, 1024, 2048, or 4096 kb. If both
the committed rate and burst are set to 0, bandwidth control will be disabled.
When txrate is specified, the switch automatically selects an available ACL for
internal use with bandwidth control. Optionally, if automatic ACL selection is not
desired, a specific ACL may be selected. If there are no unassigned ACLs available,
txrate cannot be configured.
VM Profile Bandwidth Shaping (see “VM Profiles” on page 279) is configured per
VM group and is enforced on the server by a virtual switch in the hypervisor.
Shaping is unidirectional and limits traffic transmitted from the virtual switch to
the G8052. Shaping is performed prior to transmit VM Policy Bandwidth Control.
If the egress traffic for a virtual switch port group exceeds shaping parameters, the
traffic is dropped by the virtual switch in the hypervisor. Shaping uses server CPU
resources, but prevents extra traffic from consuming bandwidth between the
server and the G8052.
VM Policy Bandwidth Control is configured per VE, and can be set independently
for transmit traffic. Bandwidth policies are enforced by the G8052. VE traffic that
exceeds configured levels is dropped by the switch upon ingress. Setting txrate
uses ACL resources on the switch.
Local VE Information
A concise list of local VEs and pre-provisioned VEs is available with the following
ISCLI privileged EXEC command:
Number of entries: 6
~ indicates inactive VMs
[Link] indicates IP address not yet available
Note: The Index numbers shown in the VE information displays can be used to
specify a particular VE in configuration commands.
3 of 3 entries printed
[Link] indicates IP Address is not available
Use the "v r" options to refresh data before displaying results
To view additional detail regarding any specific VE, see “vCenter VE Details” on
page 296).
Using the following command, the administrator can view more detailed vCenter
host information, including a list of virtual switches and their port groups, as well
as details for all associated VEs:
vCenter VE Details
If a vCenter is available, the following ISCLI privileged EXEC command displays
detailed information about a specific VE:
RS G8052# show virt vmware showvm {<VM UUID>|<VM IPv4 address>|<VM name>}
MAC Address 00:50:56:9c:21:2f
Port 4
Type Virtual Machine
VM vCenter Name halibut
VM OS hostname [Link]
VM IP Address [Link]
VM UUID 001c41f3ccd894bb1b946b94b03b9200
Current VM Host [Link]
Vswitch vSwitch0
Port Group Lenovo_Default
VLAN ID 0
When prompted, enter the user password that the switch must use for access to the
vCenter.
When VMs are added, the server ports on which they appear are automatically
added to the VM group. In this example, there is no need to manually add ports 1
and 2.
Note: If the VM group contains ports that also exist in other VM groups, make sure
tagging is enabled in both VM groups. In this example configuration, no ports exist
in more than one VM group.
7. Save the configuration.
Lenovo Network Operating System EVB features are compliant with the IEEE
802.1Qbg Authors Group Draft 0.2. For a list of documents on this feature, see:
[Link]
1. Define VSI types in the VSIDB. The VSIDB exports the database when the G8052
meteringsends a request.
2. Create a VM. Specify VSI type for each VM interface. See the SNSC, FSM, or IBM
System Networking Distributed Switch 5000V guide for details on how to specify
the VSI type.
The hypervisor sends a VSI ASSOCIATE, which contains the VSI type ID, to the
switch port after the VM is started. The switch updates its configuration based on
the requested VSI type. The switch configures the per-VM bandwidth using the
VMpolicy.
VSIDB Synchronization
The switch periodically checks for VSIDB changes based on the configured
interval. You can configure this interval using the following command:
If the switch finds that the VSIDB has changed, it updates the local VSIDB cache.
When the cache is successfully updated, it sends a syslog message.
After updating the local VSIDB cache, the switch disassociates any VM whose type
ID or VLAN no longer exists in the updated cache.
The switch updates the local VSIDB cache when any of the following takes place:
When, at the configured refresh interval, the switch finds that the VSIDB
configuration has changed since the last poll.
When a VM sends an ASSOCIATE message, but the VSI type does not exist in
the local VSIDB cache.
When a VM sends an ASSOCIATE message, and the VSI type exists but the VSI
type’s VLAN ID does not exist in the local VSIDB cache.
VLAN Behavior
When a VM gets associated, the corresponding VLAN is dynamically created on
the switch port if the VLAN does not already exist.
VLANs that are dynamically created will be automatically removed from the
switch port when there are no VMs using that VLAN on the port.
If you configure any Layer 2/Layer 3 features on dynamically created VLANs, the
VLAN information is displayed in the running configuration.
Deleting a VLAN
If you delete a VLAN that has a VM associated with it, you will see a warning
message similar to the following:
If a VM is associated with a port, and you remove this port from a VLAN, you will
see a warning message similar to the following:
When the switch interoperates with devices that do not support IEEE 802.1QBG
protocols, RR can be manually configured using the following command:
Manual RR and EVB profile cannot be configured on a port at the same time.
If a port belongs to an isolated VLAN, Manual RR will not work for the respective
port.
Note: VSI Database can be accessed via HTTP or HTTPS. The manager IP can
be configured with an IPv4 or IPv6 address.
1. Create an EVB profile.
RS G8052(confevbprof)# reflectiverelay
RS G8052(confevbprof)# vsidiscovery
RS G8052(conf-evbprof)# exit
Note: This port must be a server port (verify using the system
serverports port <port number> command.
5. Configure ECP retransmission interval.
HTTPS:
Port: 40443
Docpath: snsc/rest/vsitypes
7. Enable LLDP.
Unsupported features
The following features are not supported with EVB:
LAG/VLAG
Stacking
To avoid the ARP resolution, you must create a static ARP entry with multicast
MAC address. You must also specify the list of ports through which the multicast
packet must be sent out from the gateway or Layer 2/Layer 3 node.
With these configurations, a packet with a unicast IPv4 destination address and
multicast MAC address can be sent out as per the multicast MAC address
configuration. NLB maps the unicast IP address and multicast MAC address as
follows:
Cluster multicast MAC address: 03-BF-W-X-Y-Z; where W.X.Y.Z is the cluster
unicast IP address.
You must configure the static multicast ARP entry only at the Layer 2/Layer 3 or
Router node, and not at the Layer 2-only node.
Configure the static multicast ARP entry: Multicast ARP static entries should be
configured without specifying the list of ports to be used. Use the following
command:
Configuration Example
Consider the following example:
Cluster unicast IP address: [Link]
Cluster multicast MAC address: 03:bf:0A:0A:0A:2A
Cluster VLAN: 42
List of individual or port trunks to which traffic should be forwarded: 54 and 56
Following are the steps to configure the static multicast ARP based on the given
example:
Limitations
You must configure the ARP only in the Layer 2/Layer 3 node or the router node
but not in the Layer 2-only node. Networking OS cannot validate if the node is
Layer 2-only.
The packet is always forwarded to all the ports as specified in the Multicast
MAC address configuration. If VLAN membership changes for the ports, you
must update this static multicast MAC entry. If not, the ports, whose
membership has changed, will report discards.
ACLs take precedence over static multicast ARP. If an ACL is configured to
match and permit ingress of unicast traffic, the traffic will be forwarded based
on the ACL rule, and the static multicast ARP will be ignored.
For example, in Figure 26, the attacker (Host C) can send an ARP Reply to Host A
pretending to be Host B. As a result, Host A populates its ARP cache with a
poisoned entry having IP address IB and MAC address MC. Host A will use the
MAC address MC as the destination MAC address for traffic intended for Host B.
Host C then intercepts that traffic. Because Host C knows the true MAC addresses
associated with Host B, it forwards the intercepted traffic to that host by using the
correct MAC address as the destination, keeping the appearance of regular
behavior.
Figure 26. ARP Cache Poisoning
A B
Host A Host B
(IA, MA) (IB, MB)
C
Host C (man-in-the-middle)
(IC, MC)
Understanding DAI
Dynamic ARP Inspection (DAI) is an addition to the feature DHCP Snooping.
Dynamic ARP Inspection is a security feature that lets the switch intercept and
examine all ARP request and response packets in a subnet, discarding those
packets with invalid IP to MAC address bindings. This capability protects the
network from man-in-the-middle attacks.
DAI determines the validity of an ARP packet based on valid IP-to-MAC address
bindings stored in a trusted database, the DHCP snooping binding database. This
database is built by DHCP snooping if DHCP snooping is enabled on the VLANs
and on the switch. As shown in Figure 27, if the ARP packet is received on a
trusted interface, the switch forwards the packet without any checks. On untrusted
interfaces, the switch forwards the packet only if it is valid.
For hosts with statically configured IP addresses, static DHCP snooping binding
entries can be configured with a big lease time.
Figure 27. Dynamic ARP inspection at work
Valid
Packets
ARP ARP
Packets Packets
DAI
DHCP
Interface
Untrusted
Interface
Trusted
Snooping/
Binding
DB
Invalid
Packet
In a typical network configuration, you configure all switch ports connected to host
ports as untrusted and configure all switch ports connected to switches as trusted.
With this configuration, all ARP packets entering the network from a given switch
bypass the security check.
In Figure 28, assume that both Switch A and Switch B are running DAI on the
VLAN that includes Host 1 and Host 2. If Host 1 and Host 2 acquire their IP
addresses from the DHCP server connected to Switch A, only Switch A has the
DHCP IP-to-MAC binding of Host 1. Therefore, if the interface between Switch A
and Switch B is untrusted, the ARP packets from Host 1 are dropped by Switch B.
Connectivity between Host 1 and Host 2 is lost.
DHCP server
Port 2 Port 2
Port 3 Port 3
Host 1 Host 2
If Switch A is not running DAI, Host 1 can easily poison the ARP caches of Switch
B and Host 2, if the link between the switches is configured as trusted. This
condition can occur even though Switch B is running DAI.
The best option for the setup from Figure 28 is to have DAI running on both
switches and to have the link between the switches configured as trusted.
In cases in which some switches in a VLAN run DAI and other switches do not,
configure the interfaces connecting such switches as untrusted. However, to
validate the bindings of packets from switches where DAI is not configured,
configure static DHCP snooping binding entries on the switch running DAI. When
you cannot determine such bindings, isolate switches running DAI at Layer 3 from
switches not running DAI.
DAI ensures that hosts (on untrusted interfaces) connected to a switch running
DAI do not poison the ARP caches of other hosts in the network. However, DAI
does not prevent hosts in other portions of the network connected through a
trusted interface from poisoning the caches of the hosts that are connected to a
switch running DAI.
Vlan Configuration
2 Enabled
Vlan ForwardedDropped
2 100 200
When Host 1 tries to send an ARP with an IP address of [Link] that is not present in
the DHCP Binding table, the packet is dropped and an error message similar to the
following is logged:
The combination of faster routing and switching in a single device allows you to
build versatile topologies that account for legacy configurations.
For example, consider a corporate campus that has migrated from a router-centric
topology to a faster, more powerful, switch-based topology. As is often the case, the
legacy of network growth and redesign has left the system with a mix of illogically
distributed subnets.
This is a situation that switching alone cannot cure. Instead, the router is flooded
with cross-subnet communication. This compromises efficiency in two ways:
Routers can be slower than switches. The cross-subnet side trip from the switch
to the router and back again adds two hops for the data, slowing throughput
considerably.
Traffic to the router increases, increasing congestion.
IF 1
VLAN 1
IF 2 IF 4
VLAN 2 VLAN 4
IF 3
VLAN 3
Server subnet 2:
[Link]-254
The switch connects the Gigabit Ethernet and Fast Ethernet trunks from various
switched subnets throughout one building. Common servers are placed on another
subnet attached to the switch. A primary and backup router are attached to the
switch on yet another subnet.
Configuration Example
This section describes the steps used to configure the example topology shown in
Figure 29 on page 319.
1. Assign an IP address (or document the existing one) for each router and each
server.
The following IP addresses are used:
Since there are four IP subnets connected to the switch, four IP interfaces are
needed:
Default router 1 22 1
RS G8052(config)# vlan 1
RS G8052(configvlan)# exit
RS G8052(config)# interface port 22 (Add ports to VLAN 1)
RS G8052(configif)# switchport mode trunk
RS G8052(configif)# switchport trunk allowed vlan 1
RS G8052(configif)# exit
RS G8052(config)# vlan 2
RS G8052(configvlan)# exit
RS G8052(config)# interface port 1,2 (Add ports to VLAN 2)
RS G8052(configif)# switchport mode trunk
RS G8052(configif)# switchport trunk allowed vlan 2
RS G8052(configif)# exit
RS G8052(config)# vlan 3
RS G8052(configvlan)# exit
RS G8052(config)# interface port 3,4 (Add ports to VLAN 3)
RS G8052(configif)# switchport mode trunk
RS G8052(configif)# switchport trunk allowed vlan 3
RS G8052(configif)# exit
RS G8052(config)# vlan 4
RS G8052(configvlan)# exit
RS G8052(config)# interface port 5,6 (Add ports to VLAN 4)
RS G8052(configif)# switchport mode trunk
RS G8052(configif)# switchport trunk allowed vlan 4
RS G8052(configif)# exit
Each time you add a port to a VLAN, you may get the following prompt:
Now that the ports are separated into VLANs, the VLANs are assigned to the
appropriate IP interface for each subnet. From Table 29 on page 320, the settings
are made as follows:
The default gateway allows the switch to send outbound traffic to the router:
7. Enable IP routing.
RS G8052(config)# ip routing
Examine the resulting information. If any settings are incorrect, make the
appropriate changes.
1. Add a static route (IP address, subnet mask, gateway, and interface number).
2. Add another static route with the same IP address and mask, but a different
gateway address.
Use the following commands to check the status of ECMP static routes:
The switch accepts gateway configuration parameters if they have not been
configured manually. The switch ignores DHCP gateway parameters if the
gateway is configured.
DHCP defines the methods through which clients can be assigned an IP address
for a finite lease period and allowing reassignment of the IP address to another
client later. Additionally, DHCP provides the mechanism for a client to gather
other IP configuration parameters it needs to operate in the TCP/IP network.
In the DHCP environment, the G8052 acts as a relay agent. The DHCP relay feature
enables the switch to forward a client request for an IP address to two BOOTP
servers with IP addresses that have been configured on the switch.
When a switch receives a UDP broadcast on port 67 from a DHCP client requesting
an IP address, the switch acts as a proxy for the client, replacing the client source IP
(SIP) and destination IP (DIP) addresses. The request is then forwarded as a UDP
Unicast MAC layer message to two BOOTP servers whose IP addresses are
configured on the switch. The servers respond as a UDP Unicast message back to
the switch, with the default gateway and IP address for the client. The destination
IP address in the server response represents the interface address on the switch
that received the client request. This interface address tells the switch on which
VLAN to send the server response to the client.
To enable the G8052 to be the BOOTP forwarder, you need to configure the
DHCP/BOOTP server IP addresses on the switch. Generally, it is best to configure
the switch IP interface on the client side to match the client’s subnet, and configure
VLANs to separate client and server subnets. The DHCP server knows from which
IP subnet the newly allocated IP address will come.
Use the following commands to configure the switch as a DHCP relay agent:
PBR can be applied only to the ingress traffic. You can configure a PBR policy using
route maps and apply the route map to an ingress interface. You need to specify the
match (using ACLs) and set (using route maps) criteria in the policy. Based on the
defined rules, an action is triggered. If no match is found, or the policy rule
specifies that the packet be denied, the packet is routed based on an entry in the
routing table.
ACLs are prioritized based on the ACL number. Lower numbers have higher
priority. You must configure regular ACLs with lower numbers and PBR ACLs
with higher numbers.
Note: You cannot apply an ACL directly to an interface and using a PBR policy at
the same time.
PBR and dynamic routing protocols, such as Border Gateway Protocol (BGP) and
Open Shortest Path First (OSPF), use route maps. You can define a maximum of
255 route maps. Route maps used by a PBR policy cannot be used by a dynamic
routing protocol. You can configure a maximum of 32 access list statements in a
route map. You can assign only one route map to a non-management IP interface.
You must define route map criteria using match and set commands. All
sequential match clauses must be met by the packets for the set clauses to be
applied.
Match Clauses
IPv4 ACLs can be used to specify the match criteria. The following match criteria
can be used in a PBR ACL:
Source IP
Destination IP
Protocol
ToS
TCP/UDP source port
TCP/UDP destination port
If criteria other than the above are used in a PBR ACL, the switch will display an
error message.
If ingress packets do not meet any of the match criteria, or if a deny statement is
configured in the ACL, then the packets are routed based on the entries in the
routing table.
Set Clauses
When the match clause(s) is satisfied, one of the following set clauses can be used
to specify the packet forwarding criteria:
Next hop IP address: This must be the IP address of an interface on the adjacent
router. A remote router interface cannot be used to specify the next hop. Packets
are forwarded to the next hop IP address. The PBR policy uses the next hops in
the order you specify. If the first next hop is down, then the second next hop is
used, and so on. If you specify the next hop addresses using separate statements,
then the next hops are used in the order you specify, starting from top to down.
A maximum of 64 unique next hops can be configured across all route maps.
IP Differentiated Services Code Point (DSCP) value: A value used to set the
DSCP value of the matching packets.
You can use a combination of set commands. However, you cannot use the set
commands for DSCP and precedence together in the same route map.
Following are the basic steps and commands for configuring route maps.
2. Define an access list statement and assign an ACL to the route map.
OR
OR
Default values:
Protocol: ARP
Interval: 2 seconds
Retry: 3 times
You must configure a separate statement for verifying health check of each next
hop. A maximum of four health check statements can be included in a route map.
Note: When you configure next hops using set ip nexthop command and
health check using the set ip nexthop verifyavailability command
in the same route map, only the health check statements will be considered.
Following is an example of a route map health check statement:
Similarly, if there are inconsistent tracking parameters for a particular next hop IP
address among multiple route maps, the route map with the lowest route map
number is considered.
Note: We strongly recommend that you configure health check if all/multiple next
hops specified in the route map belong to the same Spanning Tree Group (STG).
This is required in case of an STP topology change where all forwarding database
(FDB) entries on all the ports in an STG are cleared. In such a scenario, the
associated ARP entries are purged and the next hop specified in the PBR policy
will not get resolved. When health check is configured, the PBR policy will route
the traffic based on the second next hop that you have specified.
RS G8052(config)# interface ip 11
RS G8052(configipif)# ip policy routemap 126
RS G8052(configipif)# exit
RS G8052(config)# exit
Unsupported Features
PBR cannot be configured for:
Routed ports
Multicast traffic
IPv6 packets
Simple Network Management Protocol (SNMP)
Stacking
Virtual Network Interface Card (vNIC)
Loopback Interface
1.
However, G8052 ports can also be configured as routed ports. Routed ports are
configured with their own IP address belonging to a unique Layer 3 network, and
behave similar to a port on a conventional router. Routed ports are typically used
for connecting to a server or to a router.
When a switch port is configured as a routed port, it forwards Layer 3 traffic and
no longer performs Layer 2 switching functions.
Notes:
Note: The maximum number of VLANs you can configure on the RackSwitch
G8052 is 2048. This maximum number will be reduced by the number of
routed ports you configure.
When a routed port is changed back to a switch port, the following changes take
place:
All the IP configuration is lost.
The ARP entry corresponding to the IP address is lost.
The switch port is added to the default VLAN and STG. In case of MSTP, it is
added to the CIST.
STP is turned on.
The switch port can participate in STG and VLAN flooding.
Can participate in bridging.
LACP port attributes are set to default.
Multicast threshold remains disabled.
BPDU guard remains disabled.
IGMP configuration is lost.
Note: When you configure a routed port to back to a switch port, it does not
restore the Layer 2 configuration it had before it was changed to a routed port.
Note: You must enter only one port number. If you need to change multiple ports
to routed ports, repeat the configuration steps for each port.
2. Enable routing.
RS G8052(configif)# no switchport
3. Assign an IP address.
RS G8052(configif)# ip {<ospf>|<pim>|<rip>}
RS G8052(configif)# ip ospf ?
See Chapter 29, “Open Shortest Path First,” for details on the OSPF protocol and its
configuration.
RS G8052(configif)# ip rip ?
See Chapter 25, “Routing Information Protocol,” for details on the RIP protocol
and its configuration.
RS G8052(configif)# ip pim ?
See Chapter 30, “Protocol Independent Multicast” for details on the PIM protocol
and its configuration.
To configure IGMP snooping on a routed port, enter the following command in the
Global Configuration mode:
To configure fastleave on routed ports, enter the following command in the Global
Configuration mode:
This chapter describes the basic configuration of IPv6 addresses and how to
manage the switch via IPv6 host management.
IPv6 Limitations
The following IPv6 features are not supported in this release:
Dynamic Host Control Protocol for IPv6 (DHCPv6)
Border Gateway Protocol for IPv6 (BGP)
Routing Information Protocol for IPv6 (RIPng)
Most other Lenovo Network Operating System 8.3 features permit IP addresses to
be configured using either IPv4 or IPv6 address formats. However, the following
switch features support IPv4 only:
Bootstrap Protocol (BOOTP) and DHCP
RADIUS, TACACS+ and LDAP
Stacking
VMware Virtual Center (vCenter) for VMready
Routing Information Protocol (RIP)
Border Gateway Protocol (BGP)
Virtual Router Redundancy Protocol (VRRP)
sFlow
Some addresses can contain long sequences of zeros. A single contiguous sequence
of zeros can be compressed to :: (two colons). For example, consider the following
IPv6 address:
FE80:0:0:0:2AA:FF:FA:4CA2
Unlike IPv4, a subnet mask is not used for IPv6 addresses. IPv6 uses the subnet
prefix as the network identifier. The prefix is the part of the address that indicates
the bits that have fixed values or are the bits of the subnet prefix. An IPv6 prefix is
written in address/prefix-length notation. For example, in the following address,
64 is the network prefix:
21DA:D300:0000:2F3C::/64
Unicast Address
Unicast is a communication between a single host and a single receiver. Packets
sent to a unicast address are delivered to the interface identified by that address.
IPv6 defines the following types of unicast address:
Global Unicast address: An address that can be reached and identified globally.
Global Unicast addresses use the high-order bit range up to FF00, therefore all
non-multicast and non-link-local addresses are considered to be global unicast.
A manually configured IPv6 address must be fully specified. Autoconfigured
IPv6 addresses are comprised of a prefix combined with the 64-bit EUI. RFC
4291 defines the IPv6 addressing architecture.
The interface ID must be unique within the same subnet.
Link-local unicast address: An address used to communicate with a neighbor on
the same link. Link-local addresses use the format FE80::EUI
Link-local addresses are designed to be used for addressing on a single link for
purposes such as automatic address configuration, neighbor discovery, or when
no routers are present.
Routers must not forward any packets with link-local source or destination
addresses to other links.
Multicast
Multicast is communication between a single host and multiple receivers. Packets
are sent to all interfaces identified by that address. An interface may belong to any
number of multicast groups.
The following well-known multicast addresses are pre-defined. The group IDs
defined in this section are defined for explicit scope values, as follows:
FF00:::::::0 through FF0F:::::::0
Anycast
Packets sent to an anycast address or list of addresses are delivered to the nearest
interface identified by that address. Anycast is a communication between a single
sender and a list of addresses.
Anycast addresses are allocated from the unicast address space, using any of the
defined unicast address formats. Thus, anycast addresses are syntactically
indistinguishable from unicast addresses. When a unicast address is assigned to
You can manually configure two IPv6 addresses for each interface, as follows:
Initial IPv6 address is a global unicast or anycast address.
Note that you cannot configure both addresses as anycast. If you configure an
anycast address on the interface you must also configure a global unicast
address on that interface.
Second IPv6 address can be a unicast or anycast address.
Each IPv6 interface can belong to only one VLAN. Each VLAN can support only
one IPv6 interface. Each VLAN can support multiple IPv4 interfaces.
To add or remove entries in the static neighbor cache, use the following command:
If you set the request version to ipv4, the DNS application sends an A query
first, to resolve the hostname with an IPv4 address. If no A record is found for
that hostname (no IPv4 address for that hostname) an AAAA query is sent to
resolve the hostname with a IPv6 address.
If you set the request version to ipv6, the DNS application sends an AAAA query
first, to resolve the hostname with an IPv6 address. If no AAAA record is found
for that hostname (no IPv6 address for that hostname) an A query is sent to
resolve the hostname with an IPv4 address.
Configuration Guidelines
When you configure an interface for IPv6, consider the following guidelines:
Support for subnet router anycast addresses is not available.
A single interface can accept either IPv4 or IPv6 addresses, but not both IPv4
and IPv6 addresses.
A single interface can accept multiple IPv6 addresses.
A single interface can accept only one IPv4 address.
If you change the IPv6 address of a configured interface to an IPv4 address, all
IPv6 settings are deleted.
A single VLAN can support only one IPv6 interface.
Health checks are not supported for IPv6 gateways.
IPv6 interfaces support Path MTU Discovery. The CPU’s MTU is fixed at 1500
bytes.
Support for jumbo frames (1,500 to 9,216 byte MTUs) is limited. Any jumbo
frames intended for the CPU must be fragmented by the remote node. The
switch can re-assemble fragmented packets up to 9k. It can also fragment and
transmit jumbo packets received from higher layers.
IPv6 Example 1
The following example uses IPv6 host mode to autoconfigure an IPv6 address for
the interface. By default, the interface is assigned to VLAN 1.
RS G8052(config)# interface ip 2
RS G8052(configipif)# ip6host
RS G8052(configipif)# enable
RS G8052(configipif)# exit
IPv6 Example 2
Use the following example to manually configure IPv6 on an interface.
RS G8052(config)# interface ip 3
RS G8052(configipif)# ipv6 address
2001:BA98:7654:BA98:FEDC:1234:ABCD:5214
RS G8052(configipif)# ipv6 prefixlen 64
RS G8052(configipif)# ipv6 seccaddr6 2003::1 32
RS G8052(configipif)# vlan 2
RS G8052(configipif)# enable
RS G8052(configipif)# exit
The secondary IPv6 address is compressed, and the prefix length is 32.
RS G8052(config)# interface ip 3
RS G8052(configipif)# no ipv6 nd suppressra
Both ESP and AH rely on security associations. A security association (SA) is the
bundle of algorithms and parameters (such as keys) that encrypt and authenticate
a particular flow in one direction.
The security protocol for the session key is either ESP or AH. Outgoing packets are
labeled with the SA SPI (Security Parameter Index), which the remote device will
use in its verification and decryption process.
Every outgoing IPv6 packet is checked against the IPsec policies in force. For each
outbound packet, after the packet is encrypted, the software compares the packet
size with the MTU size that it either obtains from the default minimum maximum
transmission unit (MTU) size (1500) or from path MTU discovery. If the packet size
is larger than the MTU size, the receiver drops the packet and sends a message
containing the MTU size to the sender. The sender then fragments the packet into
smaller pieces and retransmits them using the correct MTU size.
The maximum traffic load for each IPsec packet is limited to the following:
IKEv2 SAs: 5
IPsec SAs: 10 (5 SAs in each direction)
SPDs: 20 (10 policies in each direction)
Setting up Authentication
Before you can use IPsec, you need to have key policy authentication in place.
There are two types of key policy authentication:
Preshared key (default)
The parties agree on a shared, secret key that is used for authentication in an
IPsec policy. During security negotiation, information is encrypted before
transmission by using a session key created by using a Diffie-Hellman
calculation and the shared, secret key. Information is decrypted on the receiving
end using the same key. One IPsec peer authenticates the other peer's packet by
decryption and verification of the hash inside the packet (the hash inside the
packet is a hash of the preshared key). If authentication fails, the packet is
discarded.
Digital certificate (using RSA algorithms)
The peer being validated must hold a digital certificate signed by a trusted
Certificate Authority and the private key for that digital certificate. The side
performing the authentication only needs a copy of the trusted certificate
authorities digital certificate. During IKEv2 authentication, the side being
validated sends a copy of the digital certificate and a hash value signed using the
private key. The certificate can be either generated or imported.
Source file name: <path and filename of host private key file>
Confirm download operation [y/n]: y
1. Create an HTTPS certificate defining the information you want to be used in the
various fields.
The certificate is valid only until the switch is rebooted. To save the certificate so
that it is retained beyond reboot or power cycles, use the following command:
3. Set up the IKEv2 identification type by entering one of the following commands:
2. Decide whether to use tunnel or transport mode. The default mode is transport.
3. To describe the packets to which this policy applies, create a traffic selector using
the following command:
Permitted traffic that matches the policy in force is encrypted, while denied traffic
that matches the policy in force is dropped. Traffic that does not match the policy
bypasses IPsec and passes through clear (unencrypted).
3. After you configure the IPSec policy, you need to apply it to the interface to enforce
the security policies on that interface and save it to keep it in place after a reboot. To
accomplish this, enter:
Stability
RIP includes a number of other stability features that are common to many routing
protocols. For example, RIP implements the split horizon and hold-down
mechanisms to prevent incorrect routing information from being propagated.
RIP is often used in stub networks and in small autonomous systems that do not
have many redundant paths.
For more information, see the Configuration section, Routing Information Protocol
Configuration in the Lenovo Network Operating System Command Reference.
RIPv1
RIP version 1 use broadcast User Datagram Protocol (UDP) data packets for the
regular routing updates. The main disadvantage is that the routing updates do not
carry subnet mask information. Hence, the router cannot determine whether the
route is a subnet route or a host route. It is of limited usage after the introduction of
RIPv2. For more information about RIPv1 and RIPv2, refer to RFC 1058 and RFC
2453.
RIPv2
RIPv2 is the most popular and preferred configuration for most networks. RIPv2
expands the amount of useful information carried in RIP messages and provides a
measure of security. For a detailed explanation of RIPv2, refer to RFC 1723 and
RFC 2453.
RIPv2 improves efficiency by using multicast UDP (address [Link]) data packets
for regular routing updates. Subnet mask information is provided in the routing
updates. A security option is added for authenticating routing updates, by using a
shared password. N/OS supports using clear password for RIPv2.
Poison
Simple split horizon in RIP scheme omits routes learned from one neighbor in
updates sent to that neighbor. That is the most common configuration used in RIP,
that is setting this Poison to DISABLE. Split horizon with poisoned reverse
includes such routes in updates, but sets their metrics to 16. The disadvantage of
using this feature is the increase of size in the routing updates.
Triggered Updates
Triggered updates are an attempt to speed up convergence. When Triggered
Updates is enabled, whenever a router changes the metric for a route, it sends
update messages almost immediately, without waiting for the regular update
interval. It is recommended to enable Triggered Updates.
Multicast
RIPv2 messages use IPv4 multicast address ([Link]) for periodic broadcasts.
Multicast RIPv2 announcements are not processed by RIPv1 routers. IGMP is not
needed since these are inter-router messages which are not forwarded.
To configure RIPv2 in RIPv1 compatibility mode, set multicast to disable, and set
version to both.
Default
The RIP router can listen and supply a default route, usually represented as IPv4
[Link] in the routing table. When a router does not have an explicit route to a
destination network in its routing table, it uses the default route to forward those
packets.
Metric
The metric field contains a configurable value between 1 and 15 (inclusive) which
specifies the current metric for the interface. The metric value typically indicates
the total number of hops to the destination. The metric value of 16 represents an
unreachable destination.
Authentication
RIPv2 authentication uses plaintext password for authentication. If configured
using Authentication password, then it is necessary to enter an authentication key
value.
>> # interface ip 2
>> (configipif)# enable
>> (configipif)# ip address [Link]
>> (configipif)# vlan 2
>> (configipif)# exit
>> # interface ip 3
>> (configipif)# enable
>> (configipif)# ip address [Link]
>> (configipif)# vlan 3
For those RIP routes learned within the garbage collection period, that are routes
phasing out of the routing table with metric 16, use the following command:
Locally configured static routes do not appear in the RIP Routes table.
The G8052 can perform IGMP Snooping, and connect to static [Link] G8052
can act as a Querier, and participate in the IGMP Querier election process.
Note: Unknown multicast traffic is sent to all ports if the flood option is enabled
and no Membership Report was learned for that specific IGMP group. If the flood
option is disabled, unknown multicast traffic is discarded if no hosts or Mrouters
are learned on a switch.
© Copyright Lenovo 2015 Chapter 26: Internet Group Management Protocol 373
IGMP Capacity and Default Values
The following table lists the maximum and minimum values of the G8052
variables.
Table 30. G8052 Capacity Table
Variable Maximum
VLANs - Relay 8
The following table lists the default settings for IGMP features and variables.
Table 31. IGMP Default Configuration Settings
IGMPv3 Disabled
Valid range: 1 - 64
The switch can sense IGMP Membership Reports from attached hosts and acts as a
proxy to set up a dedicated path between the requesting host and a local IPv4
Mrouter. After the path is established, the switch blocks the IPv4 multicast stream
from flowing through any port that does not connect to a host member, thus
conserving bandwidth.
IGMP Querier
For IGMP Snooping to function, you must have an Mrouter on the network that
generates IGMP Query packets. Enabling the IGMP Querier feature on the switch
allows it to participate in the Querier election process. If the switch is elected as the
Querier, it will send IGMP Query packets for the LAN segment.
Querier Election
If multiple Mrouters exist on the network, only one can be elected as a Querier. The
Mrouters elect the one with the lowest source IPv4 address or MAC address as the
Querier. The Querier performs all periodic membership queries. All other
Mrouters (non-Queriers) do not send IGMP Query packets.
Note: When IGMP Querier is enabled on a VLAN, the switch performs the role of
an IGMP Querier only if it meets the IGMP Querier election criteria.
Each time the Querier switch sends an IGMP Query packet, it initializes a general
query timer. If a Querier receives a General Query packet from an Mrouter with a
lower IP address or MAC address, it transitions to a non-Querier state and
initializes an other querier present timer. When this timer expires, the Mrouter
transitions back to the Querier state and sends a General Query packet.
1. Enable IGMP and configure the source IPv4 address for IGMP Querier on a VLAN.
© Copyright Lenovo 2015 Chapter 26: Internet Group Management Protocol 375
4. Verify the configuration.
IGMP Groups
When the switch is in stacking mode, one IGMP entry is allocated for each unique
join request, based on the combination of the port, VLAN, and IGMP group
address. If multiple ports join the same IGMP group, they require separate IGMP
entries, even if using the same VLAN.
In stand-alone (non-stacking) mode, oOne IGMP entry is allocated for each unique
join request, based on the VLAN and IGMP group address only (regardless of the
port). If multiple ports join the same IGMP group using the same VLAN, only a
single IGMP entry is used.
IGMPv3 Snooping
IGMPv3 includes new Membership Report messages that extend IGMP
functionality. The switch provides snooping capability for all types of IGMPv3
Membership Reports.
The IGMPv3 implementation keeps records on the multicast hosts present in the
network. If a host is already registered, when it receives a new IS_INC, TO_INC,
IS_EXC, or TO_EXC report from same host, the switch makes the correct transition
to new (port-host-group) registration based on the IGMPv3 RFC. The registrations
of other hosts for the same group on the same port are not changed.
The IGMPv3 implementation keeps records on the multicast hosts present in the
network. If a host is already registered, when it sends an
IS_INC/TO_INC/IS_EXC/TO_EXC report, the switch overwrites the existing
(port-host-group) registration with the new registration; the registrations of other
hosts on the same group, same port are not changed. IS_INCLUDE/TO_INCLUDE
reports with no source are not registered.
By default, the G8052 snoops the first eight sources listed in the IGMPv3 Group
Record. Use the following command to change the number of snooping sources:
© Copyright Lenovo 2015 Chapter 26: Internet Group Management Protocol 377
IGMP Snooping Configuration Guidelines
Consider the following guidelines when you configure IGMP Snooping:
IGMP operation is independent of the routing method. You can use RIP, OSPF,
or static routes for Layer 3 routing.
When multicast traffic flood is disabled, the multicast traffic sent by the
multicast server is discarded if no hosts or Mrouters are learned on the switch.
The Mrouter periodically sends IGMP Queries.
The switch learns the Mrouter on the port connected to the router when it sees
Query messages. The switch then floods the IGMP queries on all other ports
including a Trunk Group, if any.
Multicast hosts send IGMP Reports as a reply to the IGMP Queries sent by the
Mrouter.
The switch can also learn an Mrouter when it receives a PIM hello packet from
another device. However, an Mrouter learned from a PIM packet has a lower
priority than an Mrouter learned from an IGMP Query. A switch overwrites an
Mrouter learned from a PIM packet when it receives an IGMP Query on the
same port.
A host sends an IGMP Leave message to its multicast group. The expiration
timer for this group is updated to 10 seconds. The Layer 3 switch sends IGMP
Group-Specific Query to the host that had sent the Leave message. If the host
does not respond with an IGMP Report during these 10 seconds, all the groups
expire and the switch deletes the host from the IGMP groups table. The switch
then proxies the IGMP Leave messages to the Mrouter.
These commands display information about IGMP Groups and Mrouters learned
by the switch.
© Copyright Lenovo 2015 Chapter 26: Internet Group Management Protocol 379
Advanced Configuration Example: IGMP Snooping
Figure 30 shows an example topology. Switches B and C are configured with IGMP
Snooping.
Figure 30. Topology
Multicast Multicast Multicast Multicast
Host 1 Host 2 Host 3 Router
Multicast
Server
Prerequisites
Before you configure IGMP Snooping, ensure you have performed the following
actions:
Configured VLANs.
Enabled IGMP.
Added VLANs to IGMP Snooping.
Configured a switch or Mrouter as the Querier.
Identified the IGMP version(s) you want to enable.
Disabled IGMP flooding.
Configuration
This section provides the configuration details of the switches shown in Figure 30.
Switch A Configuration
1. Configure VLANs and tagging.
RS G8052(config)# interface ip 1
RS G8052(configipif)# ip address [Link] enable
RS G8052(configipif)# vlan 2
RS G8052(configipif)# exit
3. Assign a bridge priority lower than the default bridge priority to enable the switch
to become the STP root in STG 2 and 3.
© Copyright Lenovo 2015 Chapter 26: Internet Group Management Protocol 381
4. Configure LACP dynamic trunk groups (portchannels).
Switch B Configuration
1. Configure VLANs and tagging.
RS G8052(config)# interface ip 1
RS G8052(configipif)# ip address [Link] enable
RS G8052(configipif)# vlan 2
RS G8052(configipif)# exit
3. Configure STP. Reset the ports to make the edge configuration operational.
RS G8052(config)# vlan 2
RS G8052(configvlan)# no flood
RS G8052(configvlan)# exit
RS G8052(config)# vlan 3
RS G8052(configvlan)# no flood
RS G8052(configvlan)# exit
Switch C Configuration
1. Configure VLANs and tagging.
RS G8052(config)# interface ip 1
RS G8052(configipif)# ip address [Link] enable
RS G8052(configipif)# vlan 2
RS G8052(configipif)# exit
3. Configure STP. Reset the ports to make the edge configuration operational.
© Copyright Lenovo 2015 Chapter 26: Internet Group Management Protocol 383
6. Configure IGMP Snooping.
RS G8052(config)# vlan 2
RS G8052(configvlan)# no flood
RS G8052(configvlan)# exit
RS G8052(config)# vlan 3
RS G8052(configvlan)# no flood
RS G8052(configvlan)# exit
Check the egress port’s VLAN membership. The ports to which the hosts and
Mrouter are connected must be used only for VLAN 2 and VLAN 3.
Note: To avoid such a scenario, disable IPMC flooding for all VLANs enabled on
the switches (if this is an acceptable configuration).
Check IGMP Reports on switches B and C for information about the IGMP
groups.
If the non-member IGMP groups are displayed in the table, close the application
that may be sending the IGMP Reports for these groups.
Identify the traffic source by using a sniffer on the hosts and reading the source
IP/MAC address. If the source IP/MAC address is unknown, check the port
statistics to find the ingress port.
Ensure no static multicast MACs, static multicast groups, or static Mrouters are
configured.
Ensure IGMP Relay and PIM are not configured.
If some of the groups are not displayed, ensure the multicast application is
running on the host device and the generated IGMP Reports are correct.
© Copyright Lenovo 2015 Chapter 26: Internet Group Management Protocol 385
Ensure multicast traffic reaches the switch to which the host is connected.
Close the application sending the IGMP Reports. Clear the IGMP groups by
disabling, then re-enabling the port.
However, this will clear all the IGMP groups and will influence other
hosts.
Check if the multicast traffic reaches the switch.
If the multicast traffic group is not displayed in the table, check the link state,
VLAN membership, and STP convergence.
Ensure multicast server is sending all the multicast traffic.
Ensure no static multicast MACs, static multicast groups, or static multicast
routes are configured.
If it is not learned on switch B but is learned on switch C, check the link state of
the trunk group, VLAN membership, and STP convergence.
If it is not learned on any switch, ensure the multicast application is running and
is sending correct IGMP Query packets.
If it is learned on both switches, check the link state, VLAN membership, and
STP port states for the ports connected to the hosts.
Ensure the host’s multicast application is started and is sending correct IGMP
Reports/Leaves.
© Copyright Lenovo 2015 Chapter 26: Internet Group Management Protocol 387
IGMP Relay
The G8052 can act as an IGMP Relay (or IGMP Proxy) device that relays IGMP
multicast messages and traffic between an Mrouter and end stations. IGMP Relay
allows the G8052 to participate in network multicasts with no configuration of the
various multicast routing protocols, so you can deploy it in the network with
minimal effort.
To an Mrouter, IGMP Relay appears as a host. The Mrouter sends IGMP host
queries to IGMP Relay, and IGMP Relay responds by forwarding IGMP host
reports and unsolicited Join messages from its attached hosts.
IGMP Relay also forwards multicast traffic between the Mrouter and end stations,
similar to IGMP Snooping.
You can configure up to two Mrouters to use with IGMP Relay. One Mrouter acts
as the primary Mrouter, and one is the backup Mrouter. The G8052 uses health
checks to select the primary Mrouter.
Configuration Guidelines
Consider the following guidelines when you configure IGMP Relay:
IGMP Relay and IGMP Snooping are mutually exclusive—if you enable IGMP
Relay, you must turn off IGMP Snooping/Querier.
Add the upstream Mrouter VLAN to the IGMP Relay list, using the following
command:
RS G8052(config)# interface ip 2
RS G8052(configipif)# ip address [Link]
RS G8052(configipif)# ip netmask [Link]
RS G8052(configipif)# vlan 2
RS G8052(configipif)# enable
RS G8052(configipif)# exit
RS G8052(config)# interface ip 3
RS G8052(configipif)# ip address [Link]
RS G8052(configipif)# ip netmask [Link]
RS G8052(configipif)# vlan 3
RS G8052(configipif)# enable
RS G8052(configipif)# exit
© Copyright Lenovo 2015 Chapter 26: Internet Group Management Protocol 389
Advanced Configuration Example: IGMP Relay
Figure 31 shows an example topology. Switches B and C are configured with IGMP
Relay.
Figure 31. Topology
Multicast
Server
Prerequisites
Before you configure IGMP Relay, ensure you have performed the following
actions:
Configured VLANs.
Enabled IGMP.
Configuration
This section provides the configuration details of the switches in Figure 31.
Switch A Configuration
1. Configure a VLAN.
RS G8052(config)# interface ip 2
RS G8052(configipif)# ip address [Link] enable
RS G8052(configipif)# vlan 2
RS G8052(configipif)# exit
3. Assign a bridge priority lower than the default bridge priority to enable the switch
to become the STP root in STG 2 and 3.
© Copyright Lenovo 2015 Chapter 26: Internet Group Management Protocol 391
Switch B Configuration
1. Configure VLANs and tagging.
RS G8052(config)# interface ip 2
RS G8052(configipif)# ip address [Link] enable
RS G8052(configipif)# vlan 2
RS G8052(configipif)# exit
RS G8052(config)# interface ip 3
RS G8052(configipif)# ip address [Link] enable
RS G8052(configipif)# vlan 3
RS G8052(configipif)# exit
3. Configure STP.
RS G8052(config)# vlan 2
RS G8052(configvlan)# no flood
RS G8052(configvlan)# exit
RS G8052(config)# vlan 3
RS G8052(configvlan)# no flood
RS G8052(configvlan)# exit
Switch C Configuration
1. Configure VLANs.
RS G8052(config)# interface ip 2
RS G8052(configipif)# ip address [Link] enable
RS G8052(configipif)# vlan 2
RS G8052(configipif)# exit
RS G8052(config)# interface ip 3
RS G8052(configipif)# ip address [Link] enable
RS G8052(configipif)# vlan 5
RS G8052(configipif)# exit
3. Configure STP.
© Copyright Lenovo 2015 Chapter 26: Internet Group Management Protocol 393
5. Configure a static trunk group (portchannel).
6. Enable IGMP.
RS G8052(config)# vlan 2
RS G8052(configvlan)# no flood
RS G8052(configvlan)# exit
RS G8052(config)# vlan 5
RS G8052(configvlan)# no flood
RS G8052(configvlan)# exit
Multicast traffic from non-member groups reaches the hosts or the Mrouter
Ensure IPMC flood is disabled.
Check the egress port’s VLAN membership. The ports to which the hosts and
Mrouter are connected must be used only for VLAN 2, VLAN 3, or VLAN 5.
Note: To avoid such a scenario, disable IPMC flooding for all VLANs enabled on
the switches (if this is an acceptable configuration).
Check IGMP Reports on switches B and C for information about IGMP groups.
If non-member IGMP groups are displayed in the table, close the application
that may be sending the IGMP Reports for these groups.
Identify the traffic source by using a sniffer on the hosts and reading the source
IP address/MAC address. If the source IP address/MAC address is unknown,
check the port statistics to find the ingress port.
If some of the groups are not displayed, ensure the multicast application is
running on the host device and the generated IGMP Reports are correct.
Ensure the multicast traffic reaches the switch to which the host is connected.
Close the application sending the IGMP Reports. Clear the IGMP groups by
flapping (disabling, then re-enabling) the port.
© Copyright Lenovo 2015 Chapter 26: Internet Group Management Protocol 395
Note: To clear all IGMP groups, use the following command:
RS G8052(config)# clear ip igmp groups
However, this will clear all the IGMP groups and will influence other
hosts.
Check if the multicast traffic reaches the switch.
If the multicast traffic group is not displayed in the table, check the link state,
VLAN membership, and STP convergence.
Ensure the multicast server is sending all the multicast traffic.
Ensure no static multicast MACs or static multicast routes are configured.
Ensure PIM is not enabled on the switches.
Ensure the host’s multicast application is started and is sending correct IGMP
Reports/Leaves.
FastLeave
In normal IGMP operation, when the switch receives an IGMPv2 Leave message, it
sends a Group-Specific Query to determine if any other devices in the same group
(and on the same port) are still interested in the specified multicast group traffic.
The switch removes the affiliated port from that particular group, if the switch
does not receive an IGMP Membership Report within the query-response-interval.
With FastLeave enabled on the VLAN, a port can be removed immediately from
the port list of the group entry when the IGMP Leave message is received.
Note: Only IGMPv2 supports FastLeave. Enable FastLeave on ports that have only
one host connected. If more than one host is connected to a port, you may lose
some hosts unexpectedly.
Use the following command to enable FastLeave.
IGMP Filtering
With IGMP filtering, you can allow or deny certain IGMP groups to be learned on
a port.
If access to a multicast group is denied, IGMP Membership Reports from the port are
dropped, and the port is not allowed to receive IPv4 multicast traffic from that
group. If access to the multicast group is allowed, Membership Reports from the
port are forwarded for normal processing.
To configure IGMP filtering, you must globally enable IGMP filtering, define an
IGMP filter, assign the filter to a port, and enable IGMP filtering on the port. To
define an IGMP filter, you must configure a range of IPv4 multicast groups, choose
whether the filter will allow or deny multicast traffic for groups within the range,
and enable the filter.
© Copyright Lenovo 2015 Chapter 26: Internet Group Management Protocol 397
Configuring the Action
Each IGMP filter can allow or deny IPv4 multicasts to the range of IPv4 addresses
configured. If you configure the filter to deny IPv4 multicasts, then IGMP
Membership Reports from multicast groups within the range are dropped. You can
configure a secondary filter to allow IPv4 multicasts to a small range of addresses
within a larger range that a primary filter is configured to deny. The two filters
work together to allow IPv4 multicasts to a small subset of addresses within the
larger range of addresses.
Note: Lower-numbered filters take precedence over higher-number filters. For
example, the action defined for IGMP filter 1 supersedes the action defined for
IGMP filter 2.
MLDv2 protocol, when compared to MLDv1, adds support for source filtering—
the ability for a node to report interest in listening to packets only from specific
source addresses, or from all but specific source addresses, sent to a particular
multicast address. MLDv2 is interoperable with MLDv1. See RFC 3569 for details
on Source-Specific Multicast (SSM).
Without MLD, the switch forwards IPv6 multicast traffic through all ports,
increasing network load. Following is an overview of operations when MLD is
configured on the G8052:
The switch acts as an Mrouter when MLDv1/v2 is configured and enabled on
each of its directly attached links. If the switch has multiple interfaces connected
to the same link, it operates the protocol on any one of the interfaces.
If there are multiple Mrouters on the subnet, the Mrouter with the numerically
lowest IPv6 address is elected as the Querier.
The Querier sends general queries at short intervals to learn multicast address
listener information from an attached link.
Hosts respond to these queries by reporting their per-interface Multicast
Address Listening state, through Current State Report messages sent to a
specific multicast address that all MLD routers on the link listen to.
If the listening state of a host changes, the host immediately reports these
changes through a State Change Report message.
The Querier sends a Multicast Address Specific Query to verify if hosts are
listening to a specified multicast address or not. Similarly, if MLDv2 is
configured, the Querier sends a Multicast Address and Source Specific Query to
verify, for a specified multicast address, if hosts are listening to a specific set of
sources, or not. MLDv2 listener report messages consists of Multicast Address
Records:
INCLUDE: to receive packets from source specified in the MLDv2 message
EXCLUDE: to receive packets from all sources except the ones specified in the
MLDv2 message
A host can send a State Change Report to indicate its desire to stop listening to a
particular multicast address (or source in MLDv2). The Querier then sends a
multicast address specific query to verify if there are other listeners of the
multicast address. If there aren’t any, the Mrouter deletes the multicast address
from its Multicast Address Listener state and stops sending multicast traffic.
Similarly in MLDv2, the Mrouter sends a Multicast Address and Source Specific
Query to verify if, for a specified multicast address, there are hosts still listening
to a specific set of sources.
The flooding parameters must be configured per VLAN. Enter the following
command to set the flood or cpu option:
MLD Querier
An Mrouter acts as a Querier and periodically (at short query intervals) sends
query messages in the subnet. If there are multiple Mrouters in the subnet, only
one can be the Querier. All Mrouters on the subnet listen to the messages sent by
the multicast address listeners, and maintain the same multicast listening
information state.
All MLDv2 queries are sent with the FE80::/64 link-local source address prefix.
Querier Election
Only one Mrouter can be the Querier per subnet. All other Mrouters will be
non-Queriers. MLD versions 1 and 2 elect the Mrouter with the numerically lowest
IPv6 address as the Querier.
Table 33 lists the default settings for MLD features and variables.
Table 33. MLD Timers and Default Values
Other Querier Present Interval [OQPT] 255 seconds [derived: RV*QI + ½ QRI]
Older Version Querier Present Timeout: 260 seconds [derived: RV*QI+ QRI]
[OVQPT]
Older Version Host Present Interval 260 seconds [derived: RV* QI+QRI]
[OVHPT]
RS G8052(config)# interface ip 2
RS G8052(configipif)# enable
RS G8052(configipif)# ipv6 address 2002:1:0:0:0:0:0:3
RS G8052(configipif)# ipv6 prefixlen 64
RackSwitch G8052es can advertise their IP interfaces and IPv4 addresses using
BGP and take BGP feeds from as many as 12 BGP router peers. This allows more
resilience and flexibility in balancing traffic from the Internet.
Note: Lenovo Network Operating System 8.3 does not support IPv6 for BGP.
The following topics are discussed in this section:
“Internal Routing Versus External Routing” on page 408
“Forming BGP Peer Routers” on page 411
“Loopback Interfaces” on page 413
“What is a Route Map?” on page 413
“Aggregating Routes” on page 417
“Redistributing Routes” on page 417
“BGP Attributes” on page 419
“Selecting Route Paths in BGP” on page 421
“BGP Failover Configuration” on page 422
“Default Redistribution and Route Aggregation Example” on page 424
Internet
When there are many iBGP peers, having a full-mesh configuration results in large
number of sessions between the iBGP peers. In such situations, configuring a route
reflector eliminates the full-mesh configuration requirement, prevents route
propagation loops, and provides better scalability to the peers. For details, see
“Route Reflector” on page 409.
Route Reflector
The Networking OS implementation conforms to the BGP Route Reflection
specification defined in RFC 4456.
As per RFC 1771 specification, a route received from an iBGP peer cannot be
advertised to another iBGP peer. This makes it mandatory to have full-mesh iBGP
sessions between all BGP routers within an AS. A route reflector—a BGP router—
breaks this iBGP loop avoidance rule. It does not affect the eBGP behavior. A route
reflector is a BGP speaker that advertises a route learnt from an iBGP peer to
another iBGP peer. The advertised route is called the reflected route.
A route reflector has two groups of internal peers: clients and non-clients. A route
reflector reflects between these groups and among the clients. The non-client peers
must be fully meshed. The route reflector and its clients form a cluster.
When a route reflector receives a route from an iBGP peer, it selects the best path
based on its path selection rule. It then does the following based on the type of peer
it received the best path from:
A route received from a non-client iBGP peer is reflected to all clients.
A route received from an iBGP client peer is reflected to all iBGP clients and
iBGP non-clients.
Cluster
RR Client RR Client
iBGP iBGP
Route Reflector
iBGP iBGP
iBGP
RR Non-Client RR Non-Client
1. Configure an AS.
Once configured as a route reflector, the switch, by default, passes routes between
clients. If required, you can disable this by using the following command:
You can view the route reflector BGP attributes attached to a BGP route using the
following command:
You can view BGP advertised routes to a specific neighbor or to all neighbors using
the command:
Restrictions
Consider the following restrictions when configuring route reflection
functionality:
When a CLUSTER ID is changed, all iBGP sessions are restarted.
When a route reflector client is enabled/disabled, the session is restarted.
For each Internet host, you must be able to send a packet to that host, and that host
has to have a path back to you. This means that whoever provides Internet
connectivity to that host must have a path to you. Ultimately, this means that they
must “hear a route” which covers the section of the IPv4 space you are using;
otherwise, you will not have connectivity to the host in question.
A route map allows you to match attributes, such as metric, network address, and
AS number. It also allows users to overwrite the local preference metric and to
append the AS number in the AS route. See “BGP Failover Configuration” on
page 422.
Networking OS allows you to configure 255 route maps. Each route map can have
up to 32 access lists. Each access list consists of a network filter. A network filter
defines an IPv4 address and subnet mask of the network that you want to include
in the filter. Figure 34 illustrates the relationship between route maps, access lists,
and network filters.
1 9
---
Route Map 2 ---
---
32 16
1 249
---
Route Map 255 ---
---
32 256
If a route map is not configured in the incoming route map list, the router imports
all BGP updates. If a route map is configured in the incoming route map list, the
router ignores all unmatched incoming updates. If you set the action to deny, you
must add another route map to permit all unmatched updates.
Route maps in an outgoing route map list behave similar to route maps in an
incoming route map list. If a route map is not configured in the outgoing route
map list, all routes are advertised or permitted. If a route map in the outgoing route
map list is set to permit, matched routes are advertised and unmatched routes are
ignored.
The smaller the value the higher the precedence. If two route maps have the same
precedence value, the smaller number has higher precedence.
Configuration Overview
To configure route maps, you need to do the following:
Enter a filter number from 1 to 256. Specify the IPv4 address and subnet mask of
the network that you want to match. Enable the network filter. You can distribute
up to 256 network filters among 64 route maps each containing 32 access lists.
Steps 2 and 3 are optional, depending on the criteria that you want to match. In
Step 2, the network filter number is used to match the subnets defined in the
network filter. In Step 3, the autonomous system number is used to match the
subnets. Or, you can use both (Step 2 and Step 3) criteria: access list (network filter)
and access path (AS filter) to configure the route maps.
2. (Optional) Define the criteria for the access list and enable it.
Specify the access list and associate the network filter number configured in Step 1.
RS G8052(config)# routemap 1
RS G8052(configroutemap)# accesslist 1 matchaddress 1
RS G8052(configroutemap)# accesslist 1 metric <metric value>
RS G8052(configroutemap)# accesslist 1 action deny
RS G8052(configroutemap)# accesslist 1 enable
RS G8052(configroutemap)# aspathlist 1 as 1
RS G8052(configroutemap)# aspathlist 1 action deny
RS G8052(configroutemap)# aspathlist 1 enable
If you want to overwrite the attributes that the peer router is sending, define the
following BGP attributes:
Specify up to 32 AS numbers that you want to prepend to a matched route. Use
one space between each of the entries in the list.
Specify the local preference for the matched route.
RS G8052(configroutemap)# enable
RS G8052(configroutemap)# exit
Select the peer router and then add the route map to the incoming route map list,
RS G8052(configrouterbgp)# exit
To define an aggregate route in the BGP routing table, use the following
commands:
Redistributing Routes
In addition to running multiple routing protocols simultaneously, N/OS software
can redistribute information from one routing protocol to another. For example,
you can instruct the switch to use BGP to re-advertise static routes. This applies to
all of the IP-based routing protocols.
You can also conditionally control the redistribution of routes between routing
domains by defining a method known as route maps between the two domains.
For more information on route maps, see “What is a Route Map?” on page 413.
Redistributing routes is another way of providing policy control over whether to
export OSPF routes, fixed routes, and static routes. For an example configuration,
see “Default Redistribution and Route Aggregation Example” on page 424.
The RackSwitch G8052 can be configured to manage the community tags applied
to the outgoing route updates. It does not, however, modify any routing decisions
based on the community tags.
To remove all community tags from prefixes that pass the route-map, use the
following command:
The following commands use the route map local preference method, which
affects both inbound and outbound directions.
RS G8052(config)# routemap 1
RS G8052(config_route_map)# localpreference
RS G8052(config_router_map)# exit
Unlike local preference, the metric attribute is exchanged between ASs; however, a
metric attribute that comes into an AS does not leave the AS.
When an update enters the AS with a certain metric value, that value is used for
decision making within the AS. When BGP sends that update to another AS, the
metric is reset to 0.
Unless otherwise specified, the router compares metric attributes for paths from
external neighbors that are in the same AS.
To avoid routing failures, you can manually configure the next hop IP address. In
case of NBMA networks, you can configure the external BGP speaker to advertise
its own IP address as the next hop. In case of iBGP updates, you can configure the
edge iBGP router to send its IP address as the next hop.
Next hop can be configured on a BGP peer. Use the following command:
Next Hop for a BGP Peer
1. Local fixed and static routes are preferred over learned routes.
2. With iBGP peers, routes with higher local preference values are selected.
3. In the case of multiple routes of equal preference, the route with lower AS path
weight is selected.
4. In the case of equal weight and routes learned from peers that reside in the same
AS, the lower metric is selected.
Note: A route with a metric is preferred over a route without a metric.
5. The lower cost to the next hop of routes is selected.
6. In the case of equal cost, the eBGP route is preferred over iBGP.
7. If all routes have same route type (eBGP or iBGP), the route with the lower router
ID is selected.
When the path is selected, BGP puts the selected path in its routing table and
propagates the path to its neighbors.
Multipath Relax
BGP multipath relax functionality allows load balancing across routes with
different autonomous system paths, but equal in length (same as-path length).
With this option disabled, both autonomous system paths and as-path length must
be identical for load sharing. This functionality can be enabled using the
command:
Note: The BGP multipath relax feature does not apply to the G8052 in stacking
mode..
As shown in Figure 35, the switch is connected to ISP 1 and ISP 2. The customer
negotiates with both ISPs to allow the switch to use their peer routers as default
gateways. The ISP peer routers will then need to announce themselves as default
gateways to the G8052.
Figure 35. BGP Failover Configuration Example
Switch
IP: [Link]
IP: [Link]
BladeCenter
Server 1 Server 2
IP: [Link] IP: [Link]
On the G8052, one peer router (the secondary one) is configured with a longer AS
path than the other, so that the peer with the shorter AS path will be seen by the
switch as the primary default gateway. ISP 2, the secondary peer, is configured
with a metric of “3,” thereby appearing to the switch to be three router hops away.
For simplicity, both default gateways are configured in the same VLAN in this
example. The gateways could be in the same VLAN or different VLANs.
RS G8052(config)# vlan 1
The switch will need an IP interface for each default gateway to which it will be
connected. Each interface must be placed in the appropriate VLAN. These
interfaces will be used as the primary and secondary default gateways for the
switch.
RS G8052(config)# interface ip 1
RS G8052(configipif)# ip address [Link]
RS G8052(configipif)# ip netmask [Link]
RS G8052(configipif)# enable
RS G8052(configipif)# exit
RS G8052(config)# interface ip 2
RS G8052(configipif)# ip address [Link]
RS G8052(configipif)# ip netmask [Link]
RS G8052(configipif)# enable
RS G8052(configipif)# exit
3. Enable IP forwarding.
RS G8052(config)# ip routing
Note: To help eliminate the possibility for a Denial of Service (DoS) attack, the
forwarding of directed broadcasts is disabled by default.
4. Configure BGP peer router 1 and 2 with IPv4 addresses.
As illustrated in Figure 36, you have two peer routers: an internal and an external
peer router. Configure the G8052 to redistribute the default routes from AS 200 to
AS 135. At the same time, configure for route aggregation to allow you to condense
the number of routes traversing from AS 135 to AS 200.
Figure 36. Route Aggregation and Default Route Redistribution
Switch
[Link]
3. Configure internal peer router 1 and external peer router 2 with IPv4 addresses.
All routing devices maintain link information in their own Link State Database
(LSDB). OSPF allows networks to be grouped together into an area. The topology
of an area is hidden from the rest of the AS, thereby reducing routing traffic.
Routing within an area is determined only by the area’s own topology, thus
protecting it from bad routing data. An area can be generalized as an IP
subnetwork.
Backbone
Area 0
(Also a Transit Area)
ABR ABR
ABR
Internal LSA
Routes Virtual
Stub Area Transit Area Link
External LSA
Routes
ASBR
Stub Area, NSSA,
ABR = Area Border Router or Transit Area
ASBR = Autonomous System Connected to Backbone
Non-OSPF Area Boundary Router via Virtual Link
RIP/BGP AS
© Copyright Lenovo 2015 Chapter 29: Open Shortest Path First 429
Figure 38. OSPF Domain and an Autonomous System
BGP Backbone
Area 3
Area 0
Inter-Area Routes
External ABR
ASBR (Summary Routes)
Routes
RIP
ABR ABR
Internal
ASBR Router
Area 1 Area 2
Neighbors are routing devices that maintain information about each others’ state. To
establish neighbor relationships, routing devices periodically send hello packets
on each of their interfaces. All routing devices that share a common network
segment, appear in the same area, and have the same health parameters (hello
and dead intervals) and authentication parameters respond to each other’s hello
packets and become neighbors. Neighbors continue to send periodic hello packets
to advertise their health to neighbors. In turn, they listen to hello packets to
determine the health of their neighbors and to establish contact with new
neighbors.
The hello process is used for electing one of the neighbors as the network segment’s
Designated Router (DR) and one as the network segment’s Backup Designated
Router (BDR). The DR is adjacent to all other neighbors on that specific network
segment and acts as the central contact for database exchanges. Each neighbor
sends its database information to the DR, which relays the information to the other
neighbors.
The BDR is adjacent to all other neighbors (including the DR). Each neighbor sends
its database information to the BDR just as with the DR, but the BDR merely stores
this data and does not distribute it. If the DR fails, the BDR will take over the task
of distributing database information to the other neighbors.
When LSAs result in changes to the routing device’s LSDB, the routing device
forwards the changes to the adjacent neighbors (the DR and BDR) for distribution
to the other neighbors.
OSPF routing updates occur only when changes occur, instead of periodically. For
each new route, if a neighbor is interested in that route (for example, if configured
to receive static routes and the new route is indeed static), an update message
containing the new route is sent to the adjacency. For each route removed from the
route table, if the route has already been sent to a neighbor, an update message
containing the route to withdraw is sent.
© Copyright Lenovo 2015 Chapter 29: Open Shortest Path First 431
The Shortest Path First Tree
The routing devices use a link-state algorithm (Dijkstra’s algorithm) to calculate the
shortest path to all known destinations, based on the cumulative cost required to
reach the destination.
It is also useful to tell routers outside your network (upstream providers or peers)
about the routes you have access to in your network. Sharing of routing
information between autonomous systems is known as external routing.
Typically, an AS will have one or more border routers (peer routers that exchange
routes with other OSPF networks) as well as an internal routing system enabling
every router in that AS to reach every other router and destination within that AS.
Configurable Parameters
In N/OS, OSPF parameters can be configured through the Industry Standard
Command Line Interfaces (ISCLI), Browser-Based Interface (BBI), or through
SNMP. For more information, see Chapter 1, “Switch Administration.”
The ISCLI supports the following parameters: interface output cost, interface
priority, dead and hello intervals, retransmission interval, and interface transmit
delay.
© Copyright Lenovo 2015 Chapter 29: Open Shortest Path First 433
Defining Areas
If you are configuring multiple areas in your OSPF domain, one of the areas must
be designated as area 0, known as the backbone. The backbone is the central OSPF
area and is usually physically connected to all other areas. The areas inject routing
information into the backbone which, in turn, disseminates the information into
other areas.
Since the backbone connects the areas in your network, it must be a contiguous
area. If the backbone is partitioned (possibly as a result of joining separate OSPF
networks), parts of the AS will be unreachable, and you will need to configure
virtual links to reconnect the partitioned areas (see “Virtual Links” on page 437).
An OSPF area is defined by assigning two pieces of information: an area index and
an area ID. The commands to define and enable an OSPF area are as follows:
Note: The area option is an arbitrary index used only on the switch and does not
represent the actual OSPF area number. The actual OSPF area number is defined in
the area portion of the command as explained in the following sections.
For example, both of the following sets of commands define OSPF area 0 (the
backbone) and area 1 because that information is held in the area ID portion of the
command. However, the first set of commands is easier to maintain because the
arbitrary area indexes agree with the area IDs:
Area index and area ID agree
area 0 areaid [Link] (Use index 0 to set area 0 in ID octet
format)
area 1 areaid [Link] (Use index 1 to set area 1 in ID octet
format)
Area index set to an arbitrary value
area 1 areaid [Link] (Use index 1 to set area 0 in ID octet
format)
area 2 areaid [Link] (Use index 2 to set area 1 in ID octet
format)
On the G8052, using the last octet in the area ID, “area 1” is equivalent to
“areaid [Link]”.
Note: Although both types of area ID formats are supported, be sure that the area
IDs are in the same format throughout an area.
Note: OSPFv2 supports IPv4 only. IPv6 is supported in OSPFv3 (see “OSPFv3
Implementation in Networking OS” on page 452).
© Copyright Lenovo 2015 Chapter 29: Open Shortest Path First 435
Interface Cost
The OSPF link-state algorithm (Dijkstra’s algorithm) places each routing device at
the root of a tree and determines the cumulative cost required to reach each
destination. You can manually enter the cost for the output route with the
following command (Interface IP mode):
DR and BDR elections are made through the hello process. The election can be
influenced by assigning a priority value to the OSPF interfaces on the G8052. The
command is as follows:
A priority value of 255 is the highest, and 1 is the lowest. A priority value of 0
specifies that the interface cannot be used as a DR or BDR. In case of a tie, the
routing device with the highest router ID wins. Interfaces configured as passive do
not participate in the DR or BDR election process:
Summarizing Routes
Route summarization condenses routing information. Without summarization,
each routing device in an OSPF network would retain a route to every subnet in the
network. With summarization, routing devices can reduce some sets of routes to a
single advertisement, reducing both the load on the routing device and the
perceived complexity of the network. The importance of route summarization
increases with network size.
Summary routes can be defined for up to 16 IP address ranges using the following
command:
where <range number> is a number 1 to 16, <IP address> is the base IP address for the
range, and <mask> is the IP address mask for the range. For a detailed configuration
example, see “Example 3: Summarizing Routes” on page 450.
Each G8052 acting as an ABR automatically inserts a default route into stub and
NSSA attached areas. In simple OSPF stub areas or NSSAs with only one ABR
leading upstream (see Area 1 in Figure 39), any traffic for IP address destinations
outside the area is forwarded to the switch’s IP interface, and then into the
connected transit area (usually the backbone). Since this is automatic, no further
configuration is required for such areas.
Figure 39. Injecting Default Routes
If the switch is in a transit area and has a configured default gateway, it can inject a
default route into rest of the OSPF domain. Use the following command to
configure the switch to inject OSPF default routes (Router OSPF mode):
In this command, <metric value> sets the priority for choosing this switch for
default route. The value none sets no default and 1 sets the highest priority for
default route. Metric type determines the method for influencing routing decisions
for external routes.
When the switch is configured to inject a default route, an AS-external LSA with
link state ID [Link] is propagated throughout the OSPF routing domain. This LSA
is sent with the configured metric value and metric type.
The OSPF default route configuration can be removed with the command:
RS G8052(configrouterospf)# no defaultinformation
© Copyright Lenovo 2015 Chapter 29: Open Shortest Path First 437
Virtual Links
Usually, all areas in an OSPF AS are physically connected to the backbone. In some
cases where this is not possible, you can use a virtual link. Virtual links are created
to connect one area to the backbone through another non-backbone area (see
Figure 37 on page 429).
The area which contains a virtual link must be a transit area and have full routing
information. Virtual links cannot be configured inside a stub area or NSSA. The
area type must be defined as transit using the following command:
The virtual link must be configured on the routing devices at each endpoint of the
virtual link, though they may traverse multiple routing devices. To configure a
G8052 as one endpoint of a virtual link, use the following command:
where <link number> is a value between 1 and 3, <area index> is the OSPF area index
of the transit area, and <router ID> is the router ID of the virtual neighbor, the
routing device at the target endpoint. Another router ID is needed when
configuring a virtual link in the other direction. To provide the G8052 with a router
ID, see the following section Router ID.
Router ID
Routing devices in OSPF areas are identified by a router ID. The router ID is
expressed in IP address format. The IP address of the router ID is not required to be
included in any IP interface range or in any OSPF area, and may even use the
G8052 loopback interface.
OSPF allows packet authentication and uses IP multicast when sending and
receiving packets. Routers participate in routing domains based on pre-defined
passwords. N/OS supports simple password (type 1 plain text passwords) and
MD5 cryptographic authentication. This type of authentication allows a password
to be configured per interface.
Figure 40 shows authentication configured for area 0 with the password test.
Simple authentication is also configured for the virtual link between area 2 and
area 0. Area 1 is not configured for OSPF authentication.
Figure 40. OSPF Authentication
Switch 2
Switch 1 Switch 3
Switch 5
key=blade
Switch 4
© Copyright Lenovo 2015 Chapter 29: Open Shortest Path First 439
Configuring Plain Text OSPF Passwords
To configure simple plain text OSPF passwords on the switches shown in Figure 40
use the following commands:
2. Configure a simple text password up to eight characters for each OSPF IP interface
in Area 0 on switches 1, 2, and 3.
RS G8052(config)# interface ip 1
RS G8052(configipif)# ip ospf key test
RS G8052(configipif)# exit
RS G8052(config)# interface ip 2
RS G8052(configipif)# ip ospf key test
RS G8052(configipif)# exit
RS G8052(config)# interface ip 3
RS G8052(configipif)# ip ospf key test
RS G8052(configipif)# exit
4. Configure a simple text password up to eight characters for the virtual link
between Area 2 and Area 0 on switches 2 and 4.
RS G8052(config)# interface ip 1
RS G8052(configipif)# ip ospf messagedigestkey 1
RS G8052(configipif)# exit
RS G8052(config)# interface ip 2
RS G8052(configipif)# ip ospf messagedigestkey 1
RS G8052(configipif)# exit
RS G8052(config)# interface ip 3
RS G8052(configipif)# ip ospf messagedigestkey 1
RS G8052(configipif)# exit
5. Configure MD5 key for the virtual link between Area 2 and Area 0 on switches 2
and 4.
© Copyright Lenovo 2015 Chapter 29: Open Shortest Path First 441
Loopback Interfaces in OSPF
A loopback interface is an IP interface which has an IP address, but is not
associated with any particular physical port. The loopback interface is thus always
available to the general network, regardless of which specific ports are in
operation. Because loopback interfaces are always available on the switch,
loopback interfaces may present an advantage when used as the router ID.
If dynamic router ID selection is used (see “Router ID” on page 438) loopback
interfaces can be used to force router ID selection. If a loopback interface is
configured, its IP address is automatically selected as the router ID, even if other IP
interfaces have lower IP addresses. If more than one loopback interface is
configured, the lowest loopback interface IP address is selected.
1. Configure IP interfaces.
One IP interface is required for each desired network (range of IP addresses) being
assigned to an OSPF area on the switch.
© Copyright Lenovo 2015 Chapter 29: Open Shortest Path First 443
Example 1: Simple OSPF Domain
In this example, two OSPF areas are defined—one area is the backbone and the
other is a stub area. A stub area does not allow advertisements of external routes,
thus reducing the size of the database. Instead, a default summary route of IP
address [Link] is automatically inserted into the stub area. Any traffic for IP
address destinations outside the stub area will be forwarded to the stub area’s IP
interface, and then into the backbone.
Figure 41. A Simple OSPF Domain
Network Network
[Link]/24 [Link]/24
RS G8052(config)# interface ip 1
RS G8052(configipif)# ip address [Link]
RS G8052(configipif)# ip netmask [Link]
RS G8052(configipif)# enable
RS G8052(configipif)# exit
RS G8052(config)# interface ip 2
RS G8052(configipif)# ip address [Link]
RS G8052(configipif)# ip netmask [Link]
RS G8052(configipif)# enable
RS G8052(configipif)# exit
Note: OSPFv2 supports IPv4 only. IPv6 is supported in OSPFv3 (see “OSPFv3
Implementation in Networking OS” on page 452).
2. Enable OSPF.
RS G8052(config)# interface ip 1
RS G8052(configipif)# ip ospf area 0
RS G8052(configipif)# ip ospf enable
RS G8052(configipif)# exit
RS G8052(config)# interface ip 2
RS G8052(configipif)# ip ospf area 1
RS G8052(configipif)# ip ospf enable
RS G8052(configipif)# exit
© Copyright Lenovo 2015 Chapter 29: Open Shortest Path First 445
Example 2: Virtual Links
In the example shown in Figure 42, area 2 is not physically connected to the
backbone as is usually required. Instead, area 2 will be connected to the backbone
via a virtual link through area 1. The virtual link must be configured at each
endpoint.
Figure 42. Configuring a Virtual Link
Switch 1 Switch 2
Note: OSPFv2 supports IPv4 only. IPv6 is supported in OSPFv3 (see “OSPFv3
Implementation in Networking OS” on page 452).
RS G8052(config)# interface ip 1
RS G8052(configipif)# ip address [Link]
RS G8052(configipif)# ip netmask [Link]
RS G8052(configipif)# enable
RS G8052(configipif)# exit
RS G8052(config)# interface ip 2
RS G8052(configipif)# ip address [Link]
RS G8052(configipif)# ip netmask [Link]
RS G8052(configipif)# enable
RS G8052(configipif)# exit
A router ID is required when configuring virtual links. Later, when configuring the
other end of the virtual link on Switch 2, the router ID specified here will be used as
the target virtual neighbor (nbr) address.
3. Enable OSPF.
RS G8052(config)# interface ip 1
RS G8052(configipif)# ip ospf area 0
RS G8052(configipif)# ip ospf enable
RS G8052(configipif)# exit
RS G8052(config)# interface ip 2
RS G8052(configipif)# ip ospf area 1
RS G8052(configipif)# ip ospf enable
RS G8052(configipif)# exit
The nbr router ID configured in this step must be the same as the router ID that
will be configured for Switch #2 in Step 2 on page 448.
© Copyright Lenovo 2015 Chapter 29: Open Shortest Path First 447
Interface 2 for the stub area network on [Link]/24
RS G8052(config)# interface ip 1
RS G8052(configipif)# ip address [Link]
RS G8052(configipif)# ip netmask [Link]
RS G8052(configipif)# vlan 10
RS G8052(configipif)# enable
RS G8052(configipif)# exit
RS G8052(config)# interface ip 2
RS G8052(configipif)# ip address [Link]
RS G8052(configipif)# ip netmask [Link]
RS G8052(configipif)# vlan 20
RS G8052(configipif)# enable
RS G8052(configipif)# exit
A router ID is required when configuring virtual links. This router ID must be the
same one specified as the target virtual neighbor (nbr) on switch 1 in Step 8 on
page 447.
3. Enable OSPF.
RS G8052(config)# interface ip 1
RS G8052(configipif)# ip ospf area 1
RS G8052(configipif)# ip ospf enable
RS G8052(configipif)# exit
RS G8052(config)# interface ip 2
RS G8052(configipif)# ip ospf area 2
RS G8052(configipif)# ip ospf enable
RS G8052(configipif)# exit
The nbr router ID configured in this step must be the same as the router ID that
was configured for switch #1 in Step 2 on page 446.
© Copyright Lenovo 2015 Chapter 29: Open Shortest Path First 449
Example 3: Summarizing Routes
By default, ABRs advertise all the network addresses from one area into another
area. Route summarization can be used for consolidating advertised addresses and
reducing the perceived complexity of the network.
The following example shows one summary route from area 1 (stub area) injected
into area 0 (the backbone). The summary route consists of all IP addresses from
[Link] through [Link] except for the routes in the range [Link]
through [Link].
Figure 43. Summarizing Routes
Notes:
Use the following procedure to configure OSPF support as shown in Figure 43:
1. Configure IP interfaces for each network which will be attached to OSPF areas.
RS G8052(config)# interface ip 1
RS G8052(configipif)# ip address [Link]
RS G8052(configipif)# ip netmask [Link]
RS G8052(configipif)# vlan 10
RS G8052(configipif)# enable
RS G8052(configipif)# exit
RS G8052(config)# interface ip 2
RS G8052(configipif)# ip address [Link]
RS G8052(configipif)# ip netmask [Link]
RS G8052(configipif)# vlan 20
RS G8052(configipif)# enable
RS G8052(configipif)# exit
2. Enable OSPF.
7. Configure route summarization by specifying the starting address and mask of the
range of addresses to be summarized.
RS G8052(config)# router ospf
RS G8052(configrouterospf)# arearange 1 address [Link]
[Link]
RS G8052(configrouterospf)# arearange 1 area 1
RS G8052(configrouterospf)# arearange 1 enable
RS G8052(configrouterospf)# exit
8. Use the hide command to prevent a range of addresses from advertising to the
backbone.
RS G8052(config)# router ospf
RS G8052(configrouterospf)# arearange 2 address [Link]
[Link]
RS G8052(configrouterospf)# arearange 2 area 1
RS G8052(configrouterospf)# arearange 2 hide
RS G8052(configrouterospf)# exit
© Copyright Lenovo 2015 Chapter 29: Open Shortest Path First 451
OSPFv3 Implementation in Networking OS
OSPF version 3 is based on OSPF version 2, but has been modified to support IPv6
addressing. In most other ways, OSPFv3 is similar to OSPFv2: They both have the
same packet types and interfaces, and both use the same mechanisms for neighbor
discovery, adjacency formation, LSA flooding, aging, and so on. The administrator
must be familiar with the OSPFv2 concepts covered in the preceding sections of
this chapter before implementing the OSPFv3 differences as described in the
following sections.
Although OSPFv2 and OSPFv3 are very similar, they represent independent
features on the G8052. They are configured separately, and both can run in parallel
on the switch with no relation to one another, serving different IPv6 and IPv4
traffic, respectively.
See Chapter 23, “Internet Protocol Version 6,” for configuring IPv6 interfaces.
Although Router IDs are written in dotted decimal notation, and may even be
based on IPv4 addresses from an original OSPFv2 network configuration, it is
important to realize that Router IDs are not IP addresses in OSPFv3, and can be
assigned independently of IP address space. However, maintaining Router IDs
consistent with any legacy OSPFv2 IPv4 addressing allows for easier
implementation of both protocols.
For an interface network type that is not broadcast or NBMA, link LSA
suppression can be enabled so link LSA is not originated for the interface. Use
the command: RS G8052(configipif)# ipv6 ospf linklsasuppress
OSPFv3 Limitations
N/OS 8.3 does not currently support the following OSPFv3 features:
Multiple interfaces of OSPFv3 on the same link.
In this example, one summary route from area 1 (stub area) is injected into area 0
(the backbone). The summary route consists of all IP addresses from the 36::0/32
portion of the 36::0/56 network, except for the routes in the 36::0/8 range.
Figure 44. Summarizing Routes
Backbone Stub Area
Area 0 Area 1
([Link]) ([Link])
IF 3 IF 4
10::1 36::1
ABR 36::0/32
Summary Route (- 36::0/8)
10::0/56 36::0/56
Network Network
© Copyright Lenovo 2015 Chapter 29: Open Shortest Path First 453
Note: You can specify a range of addresses to prevent advertising by using the
hide option. In this example, routes in the 36::0/8 range are kept private.
Use the following procedure to configure OSPFv3 support as shown in Figure 43:
1. Configure IPv6 interfaces for each link which will be attached to OSPFv3 areas.
This is equivalent to configuring the IP address and netmask for IPv4 interfaces.
2. Enable OSPFv3.
This is equivalent to the OSPFv2 enable option in the router ospf command
path.
The ipv6 command path is used instead of the OSPFv2 ip command path
The ipv6 command path is used instead of the OSPFv2 ip command path
This differs from OSPFv2 only in that the OSPFv3 command path is used, and the
address and prefix are specified in IPv6 format.
8. Use the hide command to prevent a range of addresses from advertising to the
backbone.
RS G8052(configrouterospf)# arearange 2 address 36:0:0:0:0:0:0:0 8
RS G8052(configrouterospf)# arearange 2 area 0
RS G8052(configrouterospf)# arearange 2 hide
RS G8052(configrouterospf)# exit
This differs from OSPFv2 only in that the OSPFv3 command path is used, and the
address and prefix are specified in IPv6 format.
© Copyright Lenovo 2015 Chapter 29: Open Shortest Path First 455
Neighbor Configuration Example
When using NBMA or point to multipoint interfaces, you must manually configure
neighbors. Following example includes the steps for neighbor configuration.
2. Enable OSPFv3:
RS G8052(config# ipv6 router ospf
RS G8052(configrouterospf3)# routerid [Link]
RS G8052(configrouterospf3)# enable
PIM is used by multicast source stations, client receivers, and intermediary routers
and switches, to build and maintain efficient multicast routing trees. PIM is
protocol independent; It collects routing information using the existing unicast
routing functions underlying the IPv4 network, but does not rely on any particular
unicast protocol. For PIM to function, a Layer 3 routing protocol (such as BGP,
OSPF, RIP, or static routes) must first be configured on the switch.
Some routing and switching devices perform special PIM-SM functions. Within
each receiver domain, one router is elected as the Designated Router (DR) for
handling multicasts for the domain. DRs forward information to a similar device,
the Rendezvous Point (RP), which holds the root tree for the particular multicast
group.
Receiver join requests as well as sender multicast content initially converge at the
RP, which generates and distributes multicast routing data for the DRs along the
delivery path. As the multicast content flows, DRs use the routing tree information
obtained from the RP to optimize the paths both to and from send and receive
stations, bypassing the RP for the remainder of content transactions if a more
efficient route is available.
DRs continue to share routing information with the RP, modifying the multicast
routing tree when new receivers join, or pruning the tree when all the receivers in
any particular domain are no longer part of the multicast group.
The following PIM modes and features are not currently supported in N/OS 8.3:
Hybrid Sparse-Dense Mode (PIM-SM/DM). Sparse Mode and Dense Mode may
be configured on separate IP interfaces on the switch, but are not currently sup-
ported simultaneously on the same IP interface.
PIM Source-Specific Multicast (PIM-SSM)
Anycast RP
PIM RP filters
Only configuration via the switch ISCLI is supported. PIM configuration is cur-
rently not available using the menu-based CLI, the BBI, or via SNMP.
The sparse option will place the component in Sparse Mode (PIM-SM). The
dense option will place the component in Dense Mode (PIM-DM). By default, PIM
component 1 is configured for Sparse Mode. PIM component 2 is unconfigured by
default.
Note: A component using PIM-SM must also be configured with a dynamic or
static Rendezvous Point (see “Specifying the Rendezvous Point” on page 463).
Note: The PIM feature currently supports only one VLAN for each IP interface.
Configurations where different interfaces on different VLANs share IP addresses
are not supported.
Next, PIM must be enabled on the interface, and the PIM network component ID
must be specified:
To ensure that only the appropriate PIM neighbors are accepted by the switch, the
administrator can use PIM neighbor filters to specify which PIM neighbors may be
accepted or denied on a per-interface basis.
To turn PIM neighbor filtering on or off for a particular IP interface, use the
following commands:
When filtering is enabled, all PIM neighbor requests on the specified IP interface
will be denied by default. To allow a specific PIM neighbor, use the following
command:
To remove a PIM neighbor from the accepted list, use the following command.
2. Configure the IPv4 address of the switch interface which will be advertised as a
candidate RP for the specified multicast group:
The switch interface will participate in the election of the RP that occurs on the
Bootstrap Router, or BSR (see “Specifying a Bootstrap Router” on page 464).
3. If using dynamic RP candidates, configure the amount of time that the elected
interface will remain the RP for the group before a re-election is performed:
Static RP
If RP no election is desired, the switch can provide a static RP. Use the following
commands:
Note: A value of 0 (zero) specifies that the G8052 will not act as the DR. This
setting requires the G8052 to be connected to a peer that has a DR priority setting of
1 or higher to ensure that a DR will be present in the network.
A value of 255 highly prefers the local interface as a BSR. A value of -1 indicates
that the PIM CBSR preference is not configured on the switch.
interface loopback 1
ip address [Link] [Link]
enable
exit
ip pim component 1
rpstatic rpaddress [Link] [Link] [Link]
interface loopback 1
ip pim enable
exit
interface loopback 1
ip address [Link] [Link]
enable
exit
ip pim component 1
rpcandidate holdtime 60
rpcandidate rpaddress [Link] [Link] [Link]
interface loopback 1
ip pim enable
exit
As a BSR
interface loopback 1
ip address [Link] [Link]
enable
exit
interface loopback 1
ip pim enable
ip pim cbsrpreference 2
exit
2. Configure a PIM network component with dynamic RP settings, and set it for PIM
Sparse Mode:
Where [Link] is the multicast group base IP address, [Link] is the multicast
group address mask, and [Link] is the switch RP candidate address.
Note: Because, Sparse Mode is set by default for PIM component 1, the mode
command is needed only if the mode has been previously changed.
3. Define an IP interface for use with PIM:
The IP interface represents the PIM network being connected to the switch. The
IPv4 addresses in the defined range must not be included in another IP interface on
the switch under a different VLAN.
4. Enable PIM on the IP interface and assign the PIM component:
Where [Link] [Link] is the multicast group base address and mask, and
[Link] is the static RP address.
Note: The same static RP address must be configured for all switches in the group.
Example 3: PIM-DM
This example configures PIM Dense Mode (PIM-DM) on one IP interface. PIM-DM
can be configured independently, or it can be combined with the prior PIM-SM
examples (which are configured on a different PIM component) as shown in
Figure 45.
Figure 45. Network with both PIM-DM and PIM-SM Components
PIM-SM PIM-DM
Multicast Multicast
[Link]/16 [Link]/16
PIM Enabled
Switch
IP Interface 11 IP Interface 22
IP [Link] IP [Link]
VLAN 101 VLAN 102
Component 1 Component 2
Media
Servers
RS G8052(config)# interface ip 22
RS G8052(configipif)# ip address [Link] [Link]
RS G8052(configipif)# vlan 102
RS G8052(configipif)# enable
5. (Optional) Configure PIM border router if the IPMC traffic is flowing between PIM
domains:
Note: For PIM Dense Mode, the DR, RP, and BSR settings do not apply.
In Figure 46, four ports are trunked together between the switch and the enterprise
routing device. Connectivity is maintained as long as one of the links remain
active. The links to the server are also trunked, allowing the secondary NIC to take
over in the event that the primary NIC link fails.
Figure 46. Trunking Ports for Link Redundancy
Enterprise
Server
Routing Switch
NIC 1
Internet NIC 2
Trunk Trunk
VLAGs are useful in multi-layer environments for both uplink and downlink
redundancy to any regular LAG-capable device. They can also be used in for
active-active VRRP connections.
For more information on VLAGs, see Chapter 11, “Virtual Link Aggregation
Groups.”
You may select a physical port, static trunk, or an LACP adminkey as a Hot Link
interface.
Forward Delay
The Forward Delay timer allows Hot Links to monitor the Master and Backup
interfaces for link stability before selecting one interface to transition to the active
state. Before the transition occurs, the interface must maintain a stable link for the
duration of the Forward Delay interval.
For example, if you set the Forward delay timer to 10 seconds, the switch will select
an interface to become active only if a link remained stable for the duration of the
Forward Delay period. If the link is unstable, the Forward Delay period starts
again.
Preemption
You can configure the Master interface to resume the active state whenever it
becomes available. With Hot Links preemption enabled, the Master interface
transitions to the active state immediately upon recovery. The Backup interface
immediately transitions to the standby state. If Forward Delay is enabled, the
transition occurs when an interface has maintained link stability for the duration of
the Forward Delay period.
FDB Update
Use the FDB update option to notify other devices on the network about updates to
the Forwarding Database (FDB). When you enable FDB update, the switch sends
multicasts of addresses in the forwarding database (FDB) over the active interface,
so that other devices on the network can learn the new path. The Hot Links FBD
update option uses the station update rate to determine the rate at which to send
FDB packets.
Configuration Guidelines
The following configuration guidelines apply to Hot links:
When Hot Links is turned on, STP must be disabled on the hotlink ports.
RS G8052(config)# [no] hotlinks bpdu (Enable or disable Hot Links BPDU flood)
RS G8052(config)# [no] hotlinks enable (Enable or disable Hot Links globally)
RS G8052(config)# [no] hotlinks fdbupdate (Enable or disable Hot Links FDB update)
RS G8052(config)# hotlinks fdbupdaterate (Configure FDB update rate in packets per
second)
RS G8052(config)# hotlinks trigger 1 enable (Enable Hot Links Trigger 1)
RS G8052(config)# hotlinks trigger 1 master port 1 (Add port to Master interface)
RS G8052(config)# hotlinks trigger 1 backup port 2 (Add port to Backup interface)
RS G8052(config)# hotlinks enable (Turn on Hot Links)
When the appropriate number of links in a monitor group return to service, the
switch enables the control ports. This causes the NIC team on the affected servers
to fail back to the primary switch (unless Auto-Fallback is disabled on the NIC
team). The backup switch processes traffic until the primary switch’s control links
come up, which can take up to five seconds.
Figure 47 is a simple example of Layer 2 Failover. One G8052 is the primary, and
the other is used as a backup. In this example, all ports on the primary switch
belong to a single trunk group, with Layer 2 Failover enabled, and Failover Limit
set to 2. If two or fewer links in trigger 1 remain active, the switch temporarily
disables all control ports. This action causes a failover event on Server 1 and Server
2.
Figure 47. Basic Layer 2 Failover
Enterprise Primary
Routing Switches Switch Server 1
Trigger 1
NIC 1
NIC 2
Backup
Internet Switch Server 2
Trigger 1
NIC 1
NIC 2
The switch automatically enables the control list items when the monitor list items
return to service.
If any of these conditions is false, the monitor port is considered to have failed.
A control port is considered to have failed only if the monitor trigger is in the Down
state.
To view the state of any port, use one of the following commands:
LACP
Link Aggregation Control Protocol allows the switch to form dynamic trunks. You
can use the admin key to add up to 52 LACP trunks to a failover trigger using
manual monitoring. When you add an admin key to a trigger, any LACP trunk with
that admin key becomes a member of the trigger.
When the switch determines that ports in the trigger are in STP Forwarding state in
any one of the STGs it belongs to, then it automatically enables the appropriate
control ports. The switch fails back to normal operation.
For example, if a monitor port is a member of STG1, STG2, and STG3, a failover
will be triggered only if the port is not in a forwarding state in all the three STGs.
When the port state in any of the three STGs changes to forwarding, then the
control port is enabled and normal switch operation is resumed.
With VRRP, Virtual Interface Routers (VIR) allow two VRRP routers to share an IP
interface across the routers. VIRs provide a single Destination IPv4 (DIP) address
for upstream routers to reach various servers, and provide a virtual default
Gateway for the servers.
VRRP Components
Each physical router running VRRP is known as a VRRP router.
Virtual Router
Two or more VRRP routers can be configured to form a virtual router (RFC 2338).
Each VRRP router may participate in one or more virtual routers. Each virtual
router consists of a user-configured virtual router identifier (VRID) and an IPv4
address.
There is no requirement for any VRRP router to be the IPv4 address owner. Most
VRRP installations choose not to implement an IPv4 address owner. For the
purposes of this chapter, VRRP routers that are not the IPv4 address owner are
called renters.
Within a virtual router, the VRRP routers not selected to be the master are known
as virtual router backups. If the virtual router master fails, one of the virtual router
backups becomes the master and assumes its responsibilities.
VRRP Operation
Only the virtual router master responds to ARP requests. Therefore, the upstream
routers only forward packets destined to the master. The master also responds to
ICMP ping requests. The backup does not forward any traffic, nor does it respond
to ARP requests.
If the master is not available, the backup becomes the master and takes over
responsibility for packet forwarding and responding to ARP requests.
© Copyright Lenovo 2015 Chapter 33: Virtual Router Redundancy Protocol 485
Selecting the Master VRRP Router
Each VRRP router is configured with a priority between 1–254. A bidding process
determines which VRRP router is or becomes the master—the VRRP router with
the highest priority.
If, at any time, a backup determines that it has higher priority than the current
master does, it can preempt the master and become the master itself, unless
configured not to do so. In preemption, the backup assumes the role of master and
begins to send its own advertisements. The current master sees that the backup has
higher priority and will stop functioning as the master.
A backup router can stop receiving advertisements for one of two reasons—the
master can be down, or all communications links between the master and the
backup can be down. If the master has failed, it is clearly desirable for the backup
(or one of the backups, if there is more than one) to become the master.
Note: If the master is healthy but communication between the master and the
backup has failed, there will then be two masters within the virtual router. To
prevent this from happening, configure redundant links to be used between the
switches that form a virtual router.
Active-Active Redundancy
In an active-active configuration, shown in Figure 48, two switches provide
redundancy for each other, with both active at the same time. Each switch
processes traffic on a different subnet. When a failure occurs, the remaining switch
can process traffic on all subnets.
Servers
Internet
Enterprise
Routing Switch
Switch 2
Active (subnet B and D)
Each VRRP advertisement can include up to 128 addresses. All virtual routers are
advertised within the same packet, conserving processing and buffering resources.
© Copyright Lenovo 2015 Chapter 33: Virtual Router Redundancy Protocol 487
Networking OS Extensions to VRRP
This section describes VRRP enhancements that are implemented in N/OS.
N/OS supports a tracking function that dynamically modifies the priority of a
VRRP router, based on its current state. The objective of tracking is to have,
whenever possible, the master bidding processes for various virtual routers in a
LAN converge on the same switch. Tracking ensures that the selected switch is the
one that offers optimal network performance. For tracking to have any effect on
virtual router operation, preemption must be enabled.
N/OS can track the attributes listed in Table 34 (Router VRRP mode):
Table 34. VRRP Tracking Parameters
Parameter Description
Each tracked parameter has a user-configurable weight associated with it. As the
count associated with each tracked item increases (or decreases), so does the VRRP
router's priority, subject to the weighting associated with each tracked item. If the
priority level of a standby is greater than that of the current master, then the
standby can assume the role of the master.
See “Configuring the Switch for Tracking” on page 489 for an example on how to
configure the switch for tracking VRRP priority.
You can implement this behavior by configuring the switch for tracking as follows:
3. On both switches, enable tracking based on ports, interfacesor virtual routers. You
can choose any combination of tracking parameters, based on your network
configuration.
Note: There is no shortcut to setting tracking parameters. The goals must first be
set and the outcomes of various configurations and scenarios analyzed to find
settings that meet the goals.
© Copyright Lenovo 2015 Chapter 33: Virtual Router Redundancy Protocol 489
High Availability Configurations
VRRP High-Availability Using Multiple VIRs
Figure 49 shows an example configuration where two G8052s are used as VRRP
routers in an active-active configuration. In this configuration, both switches
respond to packets.
Figure 49. Active-Active Configuration using VRRP
VIR 1: [Link] (Master) Server 1
L2 Switch VIR 2: [Link] (Backup)
NIC 1: [Link]/24
1 NIC 2: [Link]/24
Server 2
2 Switch 1
Internet 4 NIC 1: [Link]/24
NIC 2: [Link]/24
Server 3
4 NIC 1: [Link]/24
Enterprise 1 Server 4 NIC 2: [Link]/24
Routing Switch
2
Switch 2
NIC 1: [Link]/24
L2 Switch VIR 1: [Link] (Backup) NIC 2: [Link]/24
VIR 2: [Link] (Master)
Although this example shows only two switches, there is no limit on the number of
switches used in a redundant configuration. It is possible to implement an
active-active configuration across all the VRRP-capable switches in a LAN.
In the scenario illustrated in Figure 49, traffic destined for IPv4 address [Link] is
forwarded through the Layer 2 switch at the top of the drawing, and ingresses
G8052 1 on port 1. Return traffic uses default gateway 1 ([Link]).
If the link between G8052 1 and the Layer 2 switch fails, G8052 2 becomes the
Master because it has a higher priority. Traffic is forwarded to G8052 2, which
forwards it to G8052 1 through port 4. Return traffic uses default gateway 2
([Link]), and is forwarded through the Layer 2 switch at the bottom of the
drawing.
RS G8052(config)# interface ip 1
RS G8052(configipif)# ip address [Link] [Link]
RS G8052(configipif)# vlan 10
RS G8052(configipif)# enable
RS G8052(configipif)# exit
RS G8052(config)# interface ip 2
RS G8052(configipif)# ip address [Link] [Link]
RS G8052(configipif)# vlan 20
RS G8052(configipif)# enable
RS G8052(configipif)# exit
RS G8052(config)# interface ip 3
RS G8052(configipif)# ip address [Link] [Link]
RS G8052(configipif)# enable
RS G8052(configipif)# exit
RS G8052(config)# interface ip 4
RS G8052(configipif)# ip address [Link] [Link]
RS G8052(configipif)# enable
RS G8052(configipif)# exit
2. Configure the default gateways. Each default gateway points to a Layer 3 router.
4. Enable tracking on ports. Set the priority of Virtual Router 1 to 101, so that it
becomes the Master.
© Copyright Lenovo 2015 Chapter 33: Virtual Router Redundancy Protocol 491
5. Configure ports.
RS G8052(config)# vlan 10
RS G8052(configvlan)# exit
RS G8052(config)# interface port 1
RS G8052(configif)# switchport mode trunk
RS G8052(configif)# switchport trunk allowed vlan 10
RS G8052(configif)# exit
RS G8052(config)# vlan 20
RS G8052(configvlan)# exit
RS G8052(config)# interface port 2
RS G8052(configif)# switchport mode trunk
RS G8052(configif)# switchport trunk allowed vlan 20
RS G8052(configif)# exit
RS G8052(config)# interface ip 1
RS G8052(configipif)# ip address [Link] [Link]
RS G8052(configipif)# vlan 10
RS G8052(configipif)# enable
RS G8052(configipif)# exit
RS G8052(config)# interface ip 2
RS G8052(configipif)# ip address [Link] [Link]
RS G8052(configipif)# vlan 20
RS G8052(configipif)# enable
RS G8052(configipif)# exit
RS G8052(config)# interface ip 3
RS G8052(configipif)# ip address [Link] [Link]
RS G8052(configipif)# enable
RS G8052(configipif)# exit
RS G8052(config)# interface ip 4
RS G8052(configipif)# ip address [Link] [Link]
RS G8052(configipif)# enable
RS G8052(configipif)# exit
2. Configure the default gateways. Each default gateway points to a Layer 3 router.
4. Enable tracking on ports. Set the priority of Virtual Router 2 to 101, so that it
becomes the Master.
5. Configure ports.
RS G8052(config)# vlan 10
RS G8052(configvlan)# exit
RS G8052(config)# interface port 1
RS G8052(configif)# switchport mode trunk
RS G8052(configif)# switchport trunk allowed vlan 10
RS G8052(configif)# exit
RS G8052(config)# vlan 20
RS G8052(configvlan)# exit
RS G8052(config)# interface port 2
RS G8052(configif)# switchport mode trunk
RS G8052(configif)# switchport trunk allowed vlan 20
RS G8052(configif)# exit
© Copyright Lenovo 2015 Chapter 33: Virtual Router Redundancy Protocol 493
VRRP High-Availability Using VLAGs
VRRP can be used in conjunction with VLAGs and LACP-capable servers and
switches to provide seamless redundancy.
Figure 50. Active-Active Configuration using VRRP and VLAGs
VRRP Master
VLAG Peer 1 Server 1
Layer 3
Router VIR: [Link] VLAG 1
[Link]
1 10
11
2 Server 2
4 5 12 VLAG 2
Internet ISL [Link]
4 5 10
1 11 VLAG 3
Server 3
12
2
Layer 3 VRRP Backup [Link]
Router
VLAG Peer 2
VIR: [Link] Network [Link]/24
See “VLAGs with VRRP” on page 191 for a detailed configuration example.
With LLDP, the G8052 can advertise the presence of its ports, their major
capabilities, and their current status to other LLDP stations in the same LAN.
LLDP transmissions occur on ports at regular intervals or whenever there is a
relevant change to their status. The switch can also receive LLDP information
advertised from adjacent LLDP-capable network devices.
The LLDP transmit function and receive function can be independently configured
on a per-port basis. The administrator can allow any given port to transmit only,
receive only, or both transmit and receive LLDP information.
The LLDP information to be distributed by the G8052 ports, and that which has
been collected from other LLDP stations, is stored in the switch’s Management
Information Base (MIB). Network Management Systems (NMS) can use Simple
Network Management Protocol (SNMP) to access this MIB information.
LLDP-related MIB information is read-only.
Changes, either to the local switch LLDP information or to the remotely received
LLDP information, are flagged within the MIB for convenient tracking by
SNMP-based management systems.
For LLDP to provide expected benefits, all network devices that support LLDP
must be consistent in their LLDP configuration.
To view the LLDP transmit and receive status, use the following commands:
© Copyright Lenovo 2015 Chapter 34: Link Layer Discovery Protocol 499
LLDP Transmit Features
Numerous LLDP transmit options are available, including scheduled and
minimum transmit interval, expiration on remote systems, SNMP trap notification,
and the types of information permitted to be shared.
Scheduled Interval
The G8052 can be configured to transmit LLDP information to neighboring devices
once each 5 to 32768 seconds. The scheduled interval is global; the same interval
value applies to all LLDP transmit-enabled ports. However, to help balance LLDP
transmissions and keep them from being sent simultaneously on all ports, each
port maintains its own interval clock, based on its own initialization or reset time.
This allows switch-wide LLDP transmissions to be spread out over time, though
individual ports comply with the configured interval.
The global transmit interval can be configured using the following command:
where interval is the number of seconds between LLDP transmissions. The range is
5 to 32768. The default is 30 seconds.
Minimum Interval
In addition to sending LLDP information at scheduled intervals, LLDP
information is also sent when the G8052 detects relevant changes to its
configuration or status (such as when ports are enabled or disabled). To prevent
the G8052 from sending multiple LLDP packets in rapid succession when port
status is in flux, a transmit delay timer can be configured.
The transmit delay timer represents the minimum time permitted between
successive LLDP transmissions on a port. Any interval-driven or change-driven
updates will be consolidated until the configured transmit delay expires.
The minimum transmit interval can be configured using the following command:
where multiplier is a value between 2 and 10. The default value is 4, meaning that
remote systems will hold the port’s LLDP information for 4 x the 30-second
msgtxint value, or 120 seconds, before removing it from their MIB.
Trap Notifications
If SNMP is enabled on the G8052 (see “Using Simple Network Management
Protocol” on page 37), each port can be configured to send SNMP trap notifications
whenever LLDP transmissions are sent. By default, trap notification is disabled for
each port. The trap notification state can be changed using the following
commands (Interface Port mode):
The trap delay timer represents the minimum time permitted between successive
trap notifications on any port. Any interval-driven or change-driven trap notices
from the port will be consolidated until the configured trap delay expires.
The minimum trap notification interval can be configured using the following
command:
If SNMP trap notification is enabled, the notification messages can also appear in
the system log. This is enabled by default. To change whether the SNMP trap
notifications for LLDP events appear in the system log, use the following
command:
© Copyright Lenovo 2015 Chapter 34: Link Layer Discovery Protocol 501
Changing the LLDP Transmit State
When the port is disabled, or when LLDP transmit is turned off for the port using
the LLDP admin-status command options (see “Transmit and Receive Control” on
page 499), a final LLDP packet is transmitted with a time-to-live value of 0.
Neighbors that receive this packet will remove the LLDP information associated
with the G8052 port from their MIB.
In addition, if LLDP is fully disabled on a port and then later re-enabled, the G8052
will temporarily delay resuming LLDP transmissions on the port to allow the port
LLDP information to stabilize. The reinitialization delay interval can be globally
configured for all ports using the following command:
© Copyright Lenovo 2015 Chapter 34: Link Layer Discovery Protocol 503
LLDP Receive Features
Types of Information Received
When the LLDP receive option is enabled on a port (see “Enabling or Disabling
LLDP” on page 499), the port may receive the following information from
LLDP-capable remote systems:
Chassis Information
Port Information
LLDP Time-to-Live
Port Description
System Name
System Description
System Capabilities Supported/Enabled
Remote Management Address
The G8052 stores the collected LLDP information in the MIB. Each remote
LLDP-capable device is responsible for transmitting regular LLDP updates. If the
received updates contain LLDP information changes (to port state, configuration,
LLDP MIB structures, deletion), the switch will set a change flag within the MIB for
convenient notification to SNMP-based management systems.
Using the isCLI the following command displays remote LLDP information:
To view a summary of remote information, omit the Index number parameter. For
example:
System Name :
System Description: Lenovo RackSwitch G8052, Lenovo Networking
OS: version 8.3, Boot Image: version 8.3
Note: Received LLDP information can change very quickly. When using show
commands, it is possible that flags for some expected events may be too short-lived
to be observed in the output.
© Copyright Lenovo 2015 Chapter 34: Link Layer Discovery Protocol 505
To view detailed information of all remote devices, use the following command:
System Name :
System Description : Lenovo RackSwitch G8052, Lenovo
Networking OS: version 8.3, Boot Image: version [Link]
System Capabilities Supported : bridge, router
System Capabilities Enabled : bridge, router
System Name :
System Description : Lenovo RackSwitch G8052, Lenovo
Networking OS: version 8.3, Boot Image: version [Link]
System Capabilities Supported : bridge, router
System Capabilities Enabled : bridge, router
© Copyright Lenovo 2015 Chapter 34: Link Layer Discovery Protocol 507
LLDP Example Configuration
1. Turn LLDP on globally.
The read and write community strings on the switch can be changed using the
following commands on the CLI:
The SNMP manager must be able to reach the management interface or any one of
the IP interfaces on the switch.
For the SNMP manager to receive the SNMPv1 traps sent out by the SNMP agent
on the switch, configure the trap host on the switch with the following command:
Note: You can use a loopback interface to set the source IP address for SNMP
traps. Use the following command to apply a configured loopback interface:
RS G8052(config)# snmpserver trapsource loopback <1-5>
RS G8052(config)# snmpserver ?
For more information on SNMP MIBs and the commands used to configure SNMP
on the switch, see the Lenovo Network Operating System 8.3 Command Reference.
Default Configuration
Networking OS has three SNMPv3 users by default. All the three users have access
to all the MIBs supported by the switch:
User 1 name is adminmd5 (password adminmd5). Authentication used is MD5.
Privacy protocol used is DES.
User 2 name is adminsha (password adminsha). Authentication used is SHA.
Privacy protocol used is DES.
User 3 name is adminshaaes (password Edpq132x!#9Zpx432w). Authentica-
tion used is SHA. Privacy protocol used is AES-128.
In boot strict mode (See “Boot Strict Mode” on page 46), Networking OS has one
SNMPv3 user:
User 1 name is adminshaaes (password Edpq132x!#9Zpx432w). Authentica-
tion used is SHA. Privacy protocol used is AES-128.
Up to 17 SNMP users can be configured on the switch. To modify an SNMP user,
enter the following commands:
2. Configure a user access group, along with the views the group may access. Use the
access table to configure the group’s access level.
Because the read view, write view, and notify view are all set to “iso,” the user type
has access to all private and public MIBs.
3. Assign the user to the user group. Use the group table to link the user to a
particular access group.
© Copyright Lenovo 2015 Chapter 35: Simple Network Management Protocol 511
Configuring SNMP Trap Hosts
SNMPv1 Trap Host
1. Configure a user with no authentication and password.
2. Configure an access group and group table entries for the user. Use the following
menu to specify which traps can be received by the user:
In the following example the user will receive the traps sent by the switch.
4. Specify the IPv4 address and other trap parameters in the targetAddr and
targetParam tables. Use the following commands to specify the user name
associated with the targetParam table:
Note: N/OS 8.3 supports only IPv4 addresses for SNMPv1 and SNMPv2 trap
hosts.
5. Use the community table to specify which community string is used in the trap.
Note: N/OS 8.3 supports only IPv4 addresses for SNMPv1 and SNMPv2 trap
hosts.
© Copyright Lenovo 2015 Chapter 35: Simple Network Management Protocol 513
SNMPv3 Trap Host Configuration
To configure a user for SNMPv3 traps, you can choose to send the traps with both
privacy and authentication, with authentication only, or without privacy or
authentication.
It is not necessary to configure the community table for SNMPv3 traps because the
community string is not used by SNMPv3.
The following example shows how to configure a SNMPv3 user v3trap with
authentication only:
The SNMP agent also supports two Spanning Tree traps as defined in RFC 1493:
NewRoot
TopologyChange
© Copyright Lenovo 2015 Chapter 35: Simple Network Management Protocol 515
The following are the enterprise SNMP traps supported in N/OS:
Table 36. Networking OS-Supported Enterprise SNMP Traps
© Copyright Lenovo 2015 Chapter 35: Simple Network Management Protocol 517
Table 36. Networking OS-Supported Enterprise SNMP Traps (continued)
© Copyright Lenovo 2015 Chapter 35: Simple Network Management Protocol 519
Table 36. Networking OS-Supported Enterprise SNMP Traps (continued)
© Copyright Lenovo 2015 Chapter 35: Simple Network Management Protocol 521
Switch Images and Configuration Files
This section describes how to use MIB calls to work with switch images and
configuration files. You can use a standard SNMP tool to perform the actions, using
the MIBs listed in the table below.
The table lists the MIBS used to perform operations associated with the Switch
Image and Configuration files.
Table 37. MIBs for Switch Image and Configuration Files
agTransferServer [Link].4.1.26534.[Link].1.7.1
agTransferImage [Link].4.1.26534.[Link].1.7.2
agTransferImageFileName [Link].4.1.26534.[Link].1.7.3
agTransferCfgFileName [Link].4.1.26534.[Link].1.7.4
agTransferDumpFileName [Link].4.1.26534.[Link].1.7.5
agTransferAction [Link].4.1.26534.[Link].1.7.6
agTransferLastActionStatus [Link].4.1.26534.[Link].1.7.7
agTransferUserName [Link].4.1.26534.[Link].1.7.9
agTransferPassword [Link].4.1.26534.[Link].1.7.10
agTransferTSDumpFileName [Link].4.1.26534.[Link].1.7.11
The following SNMP actions can be performed using the MIBs listed in the table:
Load a new Switch image (boot or running) from an FTP, SFTP, or TFTP server
Load a previously saved switch configuration from an FTP, SFTP, or TFTP server
Save the switch configuration to an FTP, SFTP, or TFTP server
Save a switch dump to an FTP, SFTP, or TFTP server
1. Set the FTP, SFTP, or TFTP server address where the switch image resides:
1. Set the FTP, SFTP, or TFTP server address where the switch Configuration File
resides:
© Copyright Lenovo 2015 Chapter 35: Simple Network Management Protocol 523
Saving the Switch Configuration
To save the switch configuration to a file server, follow these steps. This example
shows an FTP, SFTP, or TFTP server at IPv4 address [Link], though IPv6 is
also supported.
1. Set the FTP, SFTP, or TFTP server address where the configuration file is saved:
1. Set the FTP, SFTP, or TFTP server address where the configuration will be saved:
SLP defines specialized components called agents that perform tasks and support
services as follows:
User Agent (UA) supports service query functions. It requests service
information for user applications. The User Agent retrieves service information
from the Service Agent or Directory Agents. A Host On-Demand client is an
example of a User Agent.
Service Agent (SA) provides service registration and service advertisement.
Note: In this release, SA supports UA/DA on Linux with SLPv2 support.
Directory Agent (DA) collects service information from Service Agents to
provide a repository of service information in order to centralize it for efficient
access by User Agents. There can only be one Directory Agent present per given
host.
The Directory Agent acts as an intermediate tier in the SLP architecture, placed
between the User Agents and the Service Agents, so they communicate only with
the Directory Agent instead of with each other. This eliminates a large portion of
the multicast request or reply traffic on the network, and it protects the Service
Agents from being overwhelmed by too many service requests.
Active DA Discovery
When a Service Agent or User Agent initializes, it can perform Active Directory
Agent Discovery using a multicast service request and specifies the special,
reserved service type (service:directory-agent). Active DA Discovery is
achieved through the same mechanism as any other discovery using SLP.
The Directory Agent replies with unicast service replies, which provides the URLs
and attributes of the requested service.
The NETCONF protocol defines basic operations that are equivalent to the switch
ISCLI commands.
Note: The current implementation of NETCONF supports only ISCLI commands.
NETCONF is a connection-oriented protocol. See Figure 51 for an overview of
NETCONF operation.
Figure 51. NETCONF Operations Procedure
<hello>
<capabilities/>
</hello>
<hello>
<capabilities/>
</hello>
<rpc>
<operation/>
</rpc>
<rpc-reply>
<operation-response/>
NETCONF </rpc-reply> NETCONF
Client <rpc> Server
<close-session/>
</rpc>
<rpc-reply>
<ok/>
</rpc-reply>
Session
• Session-ID
2. The client and switch exchange hello messages to declare their capabilities.
Before installing the NETCONF client, ensure you have completed the following
tasks:
Install a supported version of Python (Python 2.6 or higher, up to but not
including Python 3.0) in the folder C:\.
Install the PyCrypto application appropriate to the Python version you are
using.
Note: The following steps are for the Windows operating systems.
Follow these steps to install the Blade NETCONF Python Client (BNClient):
C:\
python C:\bladenetconfpythonclientv0.1\pythonsshlibrary\
paramiko1.7.6\[Link] install
Note: If the python command does not work from the command prompt, you
may need to add a system variable to set the path to the directory where you have
installed Python. You can add the system variable at the following location: My
Computer > Properties > Advanced > Environment Variables
As a python script:
a. Enter the following command for help:
python C:\bladenetconfpythonclientv0.1\bladenetconfpython
client\bnclient\[Link] –h
python C:\bladenetconfpythonclientv0.1\bladenetconfpython
client\bnclient\[Link] {switch IP address} –u admin –p admin –o
get
python C:\bladenetconfpythonclientv0.1\bladenetconfpython
client\bnclient\[Link] {switch IP address}:22 –u admin –p admin –o
get
As a python library:
a. Open the file
C:\bladenetconfpythonclientv0.1\bladenetconf
pythonclient\example\[Link] in a Python editor (For example, IDLE).
b. Change the IP address in the hostname field to the switch IP address, and save
the file.
c. Enter the following command to establish a session:
python C:\bladenetconfpythonclientv0.1\bladenetconfpython
client\[Link] install
python C:\bladenetconfpythonclientv0.1\bladenetconfpython
client\example\[Link]
Note: [Link] is an example of a NETCONF operation python script. You can edit
the script or write a new script as per your requirements.
/home/user/
As a Perl library:
a. Change to the following directory:
/home/user/junipernetconfperlclient
b. Extract the following file:
netconfperl[Link]
c. Change to the following directory:
/home/user/junipernetconfperlclient/netconfperl10.0R2
.10
d. Install the client as per the instructions in the README file.
Note: If the prerequisites package installation fails, manually install each file in
/home/user/junipernetconfperlclient\netconfperlprereqs
patch.
As a Perl script:
a. Change to the following directory:
/home/user/bladenetconfperlscripts/
b. Enter the following command:
Note: [Link] is an example of a NETCONF operation Perl script. You can edit the
script or write a new script as per your requirement.
Follow these steps to establish a NETCONF session. Enter commands in the client
Linux Shell.
Note: You can open a maximum of four simultaneous sessions.
1. Enter the following command to open an SSH connection:
<hello>
<capabilities>
<capability>urn:ietf:params:netconf:base:1.0</capability>
</capabilities>
</hello>
]]>]]>
<hello xmlns=“urn:ietf:params:xml:ns:netconf:base:1.0”>
<capabilities>
<capability>urn:ietf:params:netconf:base:1.0</capability>
<capability>urn:ietf:params:netconf:capability:writablerunning:1.0</capab
ility>
<capability>urn:ietf:params:netconf:capability:rollbackonerror:1.0</capa
bility>
<capability>urn:ietf:params:netconf:capability:startup:1.0</capability>
</capabilities>
<sessionid>102</sessionid>
</hello>
]]>]]>
3. Type or paste the following rpc message. The get operation is used as an example.
<rpc messageid=“100”>
<get>
<filter type=“subtree”>
<configurationtext/>
</filter>
</get>
</rpc>
]]>]]>
<rpcreply messageid=“100”>
<data>
<configurationtext
xmlns=“[Link] version “8.3.1”
switchtype “Lenovo RackSwitch G8052”
!
!
no system dhcp mgta
!
!
interface ip 127
ip address [Link]
enable
exit
!
ip gateway 3 address [Link]
ip gateway 3 enable
!
!
end
</configurationtext>
</data>
</rpcreply>
]]>]]>
Note: Repeat Step 3 for each request you need to send to the switch.
4. Type or paste the following closesession message to close the NETCONF
session and terminate the SSH connection.
<rpc messageid=“101”>
<closesession/>
</rpc>
]]>]]>
<rpcreply messageid=“101”>
<ok/>
</rpcreply>
]]>]]>
Operation Description
<get-config>
Usage:
<rpcreply messageid=“101”
xmlns=“urn:ietf:params:xml:ns:netconf:base:1.0”>
<data>
<configurationtext
xmlns=“[Link]
<! configuration text... >
</configurationtext>
</data>
</rpcreply>
<rpcreply messageid=“101”
xmlns=“urn:ietf:params:xml:ns:netconf:base:1.0”>
<ok/>
</rpcreply>
<rpcreply messageid=“101”
xmlns=“urn:ietf:params:xml:ns:netconf:base:1.0”>
<ok/>
</rpcreply>
<rpcreply messageid=“101”
xmlns=“urn:ietf:params:xml:ns:netconf:base:1.0”>
<ok/>
</rpcreply>
<lock>
Usage:
<rpcreply messageid=“101”
xmlns=“urn:ietf:params:xml:ns:netconf:base:1.0”>
<ok/>
</rpcreply>
<rpcreply messageid=“101”
xmlns=“urn:ietf:params:xml:ns:netconf:base:1.0”>
<ok/>
</rpcreply>
<rpcreply messageid=“101”
xmlns=“urn:ietf:params:xml:ns:netconf:base:1.0”>
<data>
<configurationtext
xmlns=“[Link]
<! configuration text... >
</configuration text>
</data>
</rpcreply>
<rpcreply messageid=“101”
xmlns=“urn:ietf:params:xml:ns:netconf:base:1.0”>
<ok/>
</rpcreply>
<kill-session>
Usage:
<rpcreply messageid=“101”
xmlns=“urn:ietf:params:xml:ns:netconf:base:1.0”>
<ok/>
</rpcreply>
<rpcreply messageid=“101”
xmlns=“urn:ietf:params:xml:ns:netconf:base:1.0”>
<data>
<configurationtext
xmlns=“[Link]
<! configuration text... >
</configuration text>
</data>
</rpcreply>
<rpc messageid=“101”>
<getinterfaceinformation>
<interfacename> port xx </interfacename>
<brief/>
</getinterfaceinformation>
</rpc>
<rpcreply messageid=“101”
xmlns=“urn:ietf:params:xml:ns:netconf:base:1.0”>
<interfaceinformation>
<physicalinterface>
<name></name>
<adminstatus></adminstatus>
<operstatus></operstatus>
<localindex></localindex>
<iftype></iftype>
<linkleveltype></linkleveltype>
<mtu></mtu>
<speed></speed>
<linktype></linktype>
<trafficstatistics>
<inputbytes></inputbytes>
<outputbytes></outputbytes>
<inputpackets></inputpackets>
<outputpackets></outputpackets>
</trafficstatistics>
<inputerrorlist>
<inputerrors></inputerrors>
<framingerrors></framingerrors>
<inputgiants></inputgiants>
<inputdiscards></inputdiscards>
</inputerrorlist>
<outputerrorlist>
<outputcollisions></outputcollisions>
<outputerrors></outputerrors>
<outputdrops></outputdrops>
</outputerrorlist>
</physicalinterface>
</interfaceinformation>
</rpcreply>
<rpcreply messageid=“101”
xmlns=“urn:ietf:params:xml:ns:netconf:base:1.0”>
<interfaceinformation>
<physicalinterface>
<logicalinterface>
<name></name>
<localindex></localindex>
<addressfamily>
<addressfamilyname></addressfamilyname>
<mtu></mtu>
<interfaceaddress>
<ifadestination></ifadestination>
<ifalocal></ifalocal>
<ifabroadcast></ifabroadcast>
</interfaceaddress>
</addressfamily>
</logicalinterface>
</physicalinterface>
</interfaceinformation>
</rpcreply>
linkleveltype Ethernet
RMON Overview
The RMON MIB provides an interface between the RMON agent on the switch and
an RMON management application. The RMON MIB is described in RFC 1757.
The RMON standard defines objects that are suitable for the management of
Ethernet networks. The RMON agent continuously collects statistics and
proactively monitors switch performance. RMON allows you to monitor traffic
flowing through the switch.
The switch supports the following RMON Groups, as described in RFC 1757:
Group 1: Statistics
Group 2: History
Group 3: Alarms
Group 9: Events
RMON statistics are sampled every second, and new data overwrites any old data
on a given port.
Note: RMON port statistics must be enabled for the port before you can view
RMON statistics.
Example Configuration
1. Enable RMON on a port.
RS G8052(config)# interface port 1
RS G8052(configif)# rmon
Requested buckets are the number of buckets, or data slots, requested by the user
for each History Group. Granted buckets are the number of buckets granted by the
system, based on the amount of system memory available. The system grants a
maximum of 50 buckets.
The last digit (x) represents the number of the port to monitor.
where <x> is the number of the port to monitor. For example, the full OID for port
1 would be:
[Link].[Link].1.1.1
Index Owner
1 rmon port 1 history
Each Alarm index consists of a variable to monitor, a sampling time interval, and
parameters for rising and falling thresholds. The Alarm Group can be used to track
rising or falling values for a MIB object. The object must be a counter, gauge,
integer, or time interval.
Use one of the following commands to correlate an Alarm index to an Event index:
RS G8052(config)# rmon alarm <alarm number> risingcrossingindex
<event number>
RS G8052(config)# rmon alarm <alarm number> fallingcrossingindex
<event number>
The last digit (x) represents the interface on which to monitor, which corresponds
to the interface number, or port number, as follows:
1128 = IF 1128
129 = port 1
130 = port 2
…
172 = port 44
This value represents the alarm’s MIB OID, as a string. Note that for non-tables,
you must supply a .0 to specify end node.
Example 1
Configure the RMON Alarm parameters to track the number of packets received
on port 1.
RS G8052(config)# rmon alarm 1 oid [Link].[Link].1.10.129
RS G8052(config)# rmon alarm 1 alarmtype rising
RS G8052(config)# rmon alarm 1 risingcrossingindex 100
RS G8052(config)# rmon alarm 1 interval 3600
RS G8052(config)# rmon alarm 1 risinglimit 2000000000
RS G8052(config)# rmon alarm 1 owner "Alarm for ifInOctets"
Example 2
Configure the RMON Alarm parameters to track ICMP messages.
RS G8052(config)# rmon alarm 1 oid [Link].[Link].0
RS G8052(config)# rmon alarm 1 alarmtype rising
RS G8052(config)# rmon alarm 1 risingcrossingindex 110
RS G8052(config)# rmon alarm 1 intervaltime 60
RS G8052(config)# rmon alarm 1 risinglimit 200
RS G8052(config)# rmon alarm 1 sample delta
RS G8052(config)# rmon alarm 1 owner "Alarm for icmpInEchos"
RMON events use SNMP and syslogs to send notifications. Therefore, an SNMP
trap host must be configured for trap event notification to work properly.
RMON uses a syslog host to send syslog messages. Therefore, an existing syslog
host must be configured for event log notification to work properly. Each log event
generates a syslog of type RMON that corresponds to the event.
This configuration creates an RMON event that sends a syslog message each time it
is triggered by an alarm.
To disable sFlow features across all ports, use the no sflow enable command.
Specify a sampling rate between 256 and 65536 packets, or 0 to disable. By default,
the sampling rate is 0 (disabled) for each port.
The G8052 supports a “many to one” mirroring model. As shown in Figure 52,
selected traffic for ports 1 and 2 is being monitored by port 3. In the example, both
ingress traffic and egress traffic on port 2 are copied and forwarded to the monitor.
However, port 1 mirroring is configured so that only ingress traffic is copied and
forwarded to the monitor. A device attached to port 3 can analyze the resulting
mirrored traffic.
Figure 52. Mirroring Ports
1 2 3 4
Ingress and egress traffic is duplicated and sent to the monitor port after
processing.
1. Specify the monitoring port, the mirroring port(s), and the port-mirror direction.
VIR Virtual Interface Router. A VRRP address is an IP interface address shared between
two or more virtual routers.
Virtual Router A shared address between two devices utilizing VRRP, as defined in RFC 2338. One
virtual router is associated with an IP interface. This is one of the IP interfaces that the
switch is assigned. All IP interfaces on the G8052s must be in a VLAN. If there is more
than one VLAN defined on the Web switch, then the VRRP broadcasts will only be
sent out on the VLAN of which the associated IP interface is a member.
If you have a VRRP address that two switches are sharing, then the VRID number
needs to be identical on both switches so each virtual router on each switch knows
with whom to share.
VRRP Virtual Router Redundancy Protocol. A protocol that acts very similarly to Cisco's
proprietary HSRP address sharing protocol. The reason for both of these protocols is
so devices have a next hop or default gateway that is always available. Two or more
devices sharing an IP interface are either advertising or listening for advertisements.
These advertisements are sent via a broadcast message to an address such as
[Link].
With VRRP, one switch is considered the master and the other the backup. The master
is always advertising via the broadcasts. The backup switch is always listening for the
broadcasts. If the master stops advertising, the backup will take over ownership of the
VRRP IP and MAC addresses as defined by the specification. The switch announces
this change in ownership to the devices around it by way of a Gratuitous ARP, and
advertisements. If the backup switch didn't do the Gratuitous ARP the Layer 2
devices attached to the switch would not know that the MAC address had moved in
the network. For a more detailed description, refer to RFC 2338.
Use this information to obtain additional information about Lenovo and Lenovo
products, and determine what to do if you experience a problem with your Lenovo
system or optional device.
Note: This section includes references to IBM web sites and information about
obtaining service. IBM is Lenovo's preferred service provider for the System x, Flex
System, and NeXtScale System products.
Before you call, make sure that you have taken these steps to try to solve the
problem yourself.
If you believe that you require warranty service for your Lenovo product, the
service technicians will be able to assist you more efficiently if you prepare before
you call.
Check all cables to make sure that they are connected.
Check the power switches to make sure that the system and any optional
devices are turned on.
Check for updated software, firmware, and operating-system device drivers for
your Lenovo product. The Lenovo Warranty terms and conditions state that
you, the owner of the Lenovo product, are responsible for maintaining and
updating all software and firmware for the product (unless it is covered by an
additional maintenance contract). Your service technician will request that you
upgrade your software and firmware if the problem has a documented solution
within a software upgrade.
If you have installed new hardware or software in your environment, check the
IBM ServerProven website to make sure that the hardware and software is
supported by your product.
Go to the IBM Support portal to check for information to help you solve the
problem.
Gather the following information to provide to the service technician. This data
will help the service technician quickly provide a solution to your problem and
ensure that you receive the level of service for which you might have contracted.
Hardware and Software Maintenance agreement contract numbers, if
applicable
Machine type number (if applicable–Lenovo 4-digit machine identifier)
Model number
Serial number
Current system UEFI and firmware levels
Other pertinent information such as error messages and logs
You can solve many problems without outside assistance by following the
troubleshooting procedures that Lenovo provides in the online help or in the
Lenovo product documentation. The Lenovo product documentation also
describes the diagnostic tests that you can perform. The documentation for most
systems, operating systems, and programs contains troubleshooting procedures
and explanations of error messages and error codes. If you suspect a software
problem, see the documentation for the operating system or program.
Lenovo may have patents or pending patent applications covering subject matter
described in this document. The furnishing of this document does not give you any
license to these patents. You can send license inquiries, in writing, to:
Lenovo (United States), Inc.
1009 Think Place - Building One
Morrisville, NC 27560
U.S.A.
Attention: Lenovo Director of Licensing
The products described in this document are not intended for use in implantation
or other life support applications where malfunction may result in injury or death
to persons. The information contained in this document does not affect or change
Lenovo product specifications or warranties.
Lenovo may use or distribute any of the information you supply in any way it
believes appropriate without incurring any obligation to you.
Any references in this publication to non-Lenovo Web sites are provided for
convenience only and do not in any manner serve as an endorsement of those Web
sites. The materials at those Web sites are not part of the materials for this Lenovo
product, and use of those Web sites is at your own risk.
Intel and Intel Xeon are trademarks of Intel Corporation in the United States, other
countries, or both.
Internet Explorer, Microsoft, and Windows are trademarks of the Microsoft group
of companies.
CD or DVD drive speed is the variable read rate. Actual speeds vary and are often
less than the possible maximum.
When referring to processor storage, real and virtual storage, or channel volume,
KB stands for 1 024 bytes, MB stands for 1 048 576 bytes, and GB stands for 1 073
741 824 bytes.
Maximum internal hard disk drive capacities assume the replacement of any
standard hard disk drives and population of all hard-disk-drive bays with the
largest currently supported drives that are available from Lenovo.
Each solid-state memory cell has an intrinsic, finite number of write cycles that the
cell can incur. Therefore, a solid-state device has a maximum number of write
cycles that it can be subjected to, expressed as total bytes written (TBW). A device
that has exceeded this limit might fail to respond to system-generated commands
or might be incapable of being written to. Lenovo is not responsible for
replacement of a device that has exceeded its maximum guaranteed number of
program/erase cycles, as documented in the Official Published Specifications for
the device.
Some software might differ from its retail version (if available) and might not
include user manuals or all program functionality.
[Link]
Particulate • The room air must be continuously filtered with 40% atmospheric
dust spot efficiency (MERV 9) according to ASHRAE Standard 52.21.
• Air that enters a data center must be filtered to 99.97% efficiency or
greater, using high-efficiency particulate air (HEPA) filters that meet
MIL-STD-282.
• The deliquescent relative humidity of the particulate contamination
must be more than 60%2.
• The room must be free of conductive contamination such as zinc whis-
kers.
Properly shielded and grounded cables and connectors must be used to meet FCC
emission limits. Lenovo is not responsible for any radio or television interference
caused by using other than recommended cables and connectors or by
unauthorized changes or modifications to this equipment. Unauthorized changes
or modifications could void the user’s authority to operate the equipment.
This device complies with Part 15 of the FCC Rules. Operation is subject to the
following two conditions: (1) this device may not cause harmful interference, and
(2) this device must accept any interference received, including interference that
might cause undesired operation.
Dieses Gerät ist berechtigt, in übereinstimmung mit dem Deutschen EMVG das
EG-Konformitätszeichen - CE - zu führen. Verantwortlich für die
Konformitätserklärung nach Paragraf 5 des EMVG ist die Lenovo (Deutschland)
GmbH, Gropiusplatz 10, D-70563 Stuttgart.
Das Gerät erfüllt die Schutzanforderungen nach EN 55024 und EN 55022 Klasse
A.
Nach der EN 55022: “Dies ist eine Einrichtung der Klasse A. Diese Einrichtung
kann im Wohnbereich Funkstörungen verursachen; in diesem Fall kann vom
Betreiber verlangt werden, angemessene Maßnahmen durchzuführen und dafür
aufzukommen.”
Deutschland:
Dieses Gerät ist berechtigt, in übereinstimmung mit dem Deutschen EMVG das
EG-Konformitätszeichen - CE - zu führen. Verantwortlich für die
Konformitätserklärung nach Paragraf 5 des EMVG ist die Lenovo (Deutschland)
GmbH, Gropiusplatz 10, D-70563 Stuttgart.
Nach der EN 55022: “Dies ist eine Einrichtung der Klasse A. Diese Einrichtung
kann im Wohnbereich Funkstörungen verursachen; in diesem Fall kann vom
Betreiber verlangt werden, angemessene Maßnahmen durchzuführen und dafür
aufzukommen."
Nach dem EMVG: “Geräte dürfen an Orten, für die sie nicht ausreichend entstört
sind, nur mit besonderer Genehmigung des Bundesministers für Post und
Telekommunikation oder des Bundesamtes für Post und Telekommunikation
betrieben werden. Die Genehmigung wird erteilt, wenn keine elektromagnetischen
Störungen zu erwarten sind.” (Auszug aus dem EMVG, Paragraph 3, Abs. 4).
Dieses Genehmigungsverfahren ist nach Paragraph 9 EMVG in Verbindung mit
der entsprechenden Kostenverordnung (Amtsblatt 14/93) kostenpflichtig.
Anmerkung: Um die Einhaltung des EMVG sicherzustellen sind die Geräte, wie in
den Handbüchern angegeben, zu installieren und zu betreiben.
This is a Class A product based on the standard of the Voluntary Control Council
for Interference (VCCI). If this equipment is used in a domestic environment, radio
interference may occur, in which case the user may be required to take corrective
actions.