
Configuring IP
December 2000
15 - 19
Configuring IP Parameters – Layer 3 Switches
The following sections describe how to configure IP parameters. Some parameters can be configured globally
while others can be configured on individual interfaces. Some parameters can be configured globally and
overridden for individual interfaces.
NOTE:
This section describes how to configure IP parameters for Layer 3 Switches. For IP configuration
information for Layer 2 Switches, see “Configuring IP Parameters – Layer 2 Switches” on page 15-76.
Configuring IP Addresses
You can configure an IP address on the following types of Layer 3 Switch interfaces:
•
Ethernet port
•
Packet Over SONET (POS) port
•
Virtual routing interface (also called a Virtual Ethernet or “VE”)
•
Loopback interface
By default, you can configure up to 24 IP addresses on each interface. On Stackable Layer 3 Switches, you can
increase this amount to up to 64 IP sub-net addresses per port by increasing the size of the subnet-per-interface
table. See “Displaying and Modifying System Parameter Default Settings” on page 10-70.
Foundry devices support both classical IP network masks (Class A, B, and C sub-net masks, and so on) and
Classless Interdomain Routing (CIDR) network prefix masks.
•
To enter a classical network mask, enter the mask in IP address format. For example, enter
“209.157.22.99 255.255.255.0” for an IP address with a Class-C sub-net mask.
•
To enter a prefix network mask, enter a forward slash ( / ) and the number of bits in the mask immediately
after the IP address. For example, enter “209.157.22.99/24” for an IP address that has a network mask with
24 significant bits (ones).
By default, the CLI displays network masks in classical IP address format (example: 255.255.255.0). You can
change the display to prefix format. See “Changing the Network Mask Display to Prefix Format” on page 15-83.
Assigning an IP Address to an Ethernet Port
To assign an IP address to an Ethernet port, use either of the following methods.
USING THE CLI
To assign an IP address to port 1/1, enter the following commands:
BigIron(config)# interface ethernet 1/1
BigIron(config-if-1/1)# ip address 192.45.6.1 255.255.255.0
Syntax:
ip address <ip-addr> <ip-mask> [secondary]
or
Syntax:
ip address <ip-addr>/<mask-bits> [secondary]
Use the
secondary
parameter if you have already configured an IP address within the same sub-net on the
interface.
NOTE:
You also can enter the IP address and mask in CIDR format, as follows:
BigIron(config-if-1/1)# ip address 192.45.6.1/24
Содержание Switch and Router
Страница 2: ...December 2000 Copyright 2000 by Foundry Networks Inc ...
Страница 26: ...Foundry Switch and Router Installation and Configuration Guide xxvi December 2000 ...
Страница 64: ...Foundry Switch and Router Installation and Configuration Guide 2 34 December 2000 ...
Страница 162: ...Foundry Switch and Router Installation and Configuration Guide 5 38 December 2000 ...
Страница 196: ...Foundry Switch and Router Installation and Configuration Guide 6 34 December 2000 ...
Страница 208: ...Foundry Switch and Router Installation and Configuration Guide 7 12 December 2000 ...
Страница 236: ...Foundry Switch and Router Installation and Configuration Guide 8 28 December 2000 ...
Страница 258: ...Foundry Switch and Router Installation and Configuration Guide 9 22 December 2000 ...
Страница 420: ...Foundry Switch and Router Installation and Configuration Guide 13 32 December 2000 ...
Страница 442: ...Foundry Switch and Router Installation and Configuration Guide 14 22 December 2000 ...
Страница 554: ...Foundry Switch and Router Installation and Configuration Guide 15 112 December 2000 ...
Страница 574: ...Foundry Switch and Router Installation and Configuration Guide 16 20 December 2000 ...
Страница 626: ...Foundry Switch and Router Installation and Configuration Guide 17 52 December 2000 ...
Страница 682: ...Foundry Switch and Router Installation and Configuration Guide 18 56 December 2000 ...
Страница 826: ...Foundry Switch and Router Installation and Configuration Guide 20 20 December 2000 ...
Страница 994: ...Foundry Switch and Router Installation and Configuration Guide 26 10 December 2000 ...
Страница 1004: ...Foundry Switch and Router Installation and Configuration Guide B 6 December 2000 ...
Страница 1044: ...Foundry Switch and Router Installation and Configuration Guide C 40 December 2000 ...
Страница 1048: ...Foundry Switch and Router Installation and Configuration Guide D 4 December 2000 ...
Страница 1070: ...Foundry Switch and Router Installation and Configuration Guide Index 18 December 2000 ...