41
Alternatively, you can choose to manage the switch through the production network, which is known as in-
band management. Because in-band management traffic is mixed in with production network traffic, it is
subject to all of the filtering rules usually applied on a switched/routed port such as ACLs and VLAN tagging.
You can access the in-band network management interface through a connection to any front-panel port.
2.2.1.1. Configuring Service Port Information
To disable DHCP and manually assign an IPv4 address, enter:
serviceport protocol none
serviceport ip ipaddress netmask [gateway]
For example, serviceport ip 192.168.2.23 255.255.255.0 192.168.2.1
To disable DHCP and manually assign an IPv6 address and (optionally) default gateway, enter:
serviceport protocol none
serviceport ipv6 address address/prefix-length [eui64]
serviceport ipv6 gateway gateway
To view the assigned or configured network address, enter:
show serviceport
To enable the DHCP client on the service port, enter:
serviceport protocol dhcp
2.2.1.2. Configuring the In-Band Management Interface
To use a DHCP server to obtain the IP address, subnet mask, and default gateway information, enter:
(QCT) (Config)#interface vlan 1
(QCT) (if-vlan1)#ip address dhcp
To manually configure the IPv4 address, subnet mask, and (optionally) default gateway, enter:
(QCT)(config)#interface vlan 1
(QCT)(if-vlan 1)#ip address ipaddress netmask
(QCT)(if-vlan 1)#exit
(QCT)(Config)#ip default-gateway gateway
For example:
(QCT)(if-vlan 1)#ip address 192.168.1.253 255.255.255.0
(QCT)(Config)#ip default-gateway 192.168.1.254