Syntax: enable [<password>]
Syntax: configure terminal
Syntax: [no] ip address <ip-addr> <ip-mask> [secondary]
or
Syntax: [no] ip address <ip-addr>/<mask-bits> [secondary]
Use the
secondary
parameter if you have already configured an IP address within
the same subnet on the interface.
Configuring IP parameters for devices running Layer 3 software
This section describes how to configure IP parameters for devices running Layer 3
software.
Configuring IP addresses:
You can configure an IP address on the following
types of Layer 3 switch interfaces:
v
Ethernet port
v
Virtual routing interface (also called a Virtual Ethernet or “VE”)
v
Loopback interface
By default, you can have up to 24 IP addresses on each interface except the
out-of-band management port, but you can increase this number to 128 IP
addresses.
Note:
Once you configure a virtual routing interface on a VLAN, you cannot
configure Layer 3 interface parameters on individual ports in the VLAN.
Instead, you must configure the parameters on the virtual routing interface
itself.
y-series devices support both classical IP network masks (Class A, B, and C subnet
masks, and so on) and Classless Interdomain Routing (CIDR) network prefix
masks.
v
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 subnet mask.
v
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 (for
example: 255.255.255.0). You can change the display to prefix format.
Assigning an IP address to an Ethernet port:
Enter the following commands to
assign an IP address to port 1/1/1.
FCX624 Router(config)# interface ethernet 1/1/1
FCX624 Router(config-if-1/1/1)# ip address 192.45.6.1 255.255.255.0
Note:
You also can enter the IP address and mask in CIDR format, as follows:
FCX624 Router(config-if-1/1/1)# ip address 192.45.6.1/24
Syntax: [no] ip address <ip-addr> <ip-mask>
or
Syntax: [no] ip address <ip-addr>/<mask-bits>
32
Ethernet y-series Installation and User Guide: Installation and User Guide
Summary of Contents for 4002-Y2A
Page 2: ......
Page 8: ...vi Ethernet y series Installation and User Guide Installation and User Guide...
Page 10: ...viii Ethernet y series Installation and User Guide Installation and User Guide...
Page 26: ...xxiv Ethernet y series Installation and User Guide Installation and User Guide...
Page 54: ...28 Ethernet y series Installation and User Guide Installation and User Guide...
Page 82: ...56 Ethernet y series Installation and User Guide Installation and User Guide...
Page 92: ...66 Ethernet y series Installation and User Guide Installation and User Guide...
Page 95: ......
Page 96: ...Part Number 45W7657 Printed in USA GC27 2269 00 1P P N 45W7657 53 1001545 01...