- Print
- PDF
IP Management for Out-of-Band Management
Initial Configuration Guidelines
The following steps must be done from the console port.
When configuring Skylight Flex 100, use Configure Static IP and Default Gateway or DHCP Client Configuration Procedure.
Configure Static IP and Default Gateway
To configure the IP address
- After software installation, use the following command on the Skylight Flex 100 console:
Your Product# configure terminal
Your Product (config)# interface cpu0
Your Product (config)# shutdown
Your Product (config)# ip address <flex-ip-address> <netmask: 255.255....>
Your Product (config)# no shutdown
- The following command adds a default static route to the out-of-band (OOB) management interface.
Your Product# configure terminal
Your Product(config)# ip route 0.0.0.0 0.0.0.0 cpu0
Your Product(config)#end
Your Product#
- The following command adds a default static route to the gateway address.
Your Product# configure terminal
Your Product(config)# ip route 0.0.0.0 0.0.0.0 <ip-default-gateway>
Your Product(config)#end
Your Product#
- If needed, the no form of the following command deletes a static route.
Your Product# configure terminal
Your Product(config)# no ip route 0.0.0.0 0.0.0.0 cpu0
Your Product(config)#end
Your Product#
Your Product# configure terminal
Your Product(config)# no ip route 0.0.0.0 0.0.0.0 <ip-default-gateway>
Your Product(config)#end
Your Product#
The following command verifies the routing table.
Your Product# show ip route
Codes: C - connected, S - static, R - rip, B - bgp, O - ospf, I - isis, E - ECMP
IA - OSPF inter area, N1 - OSPF NSSA external type 1,
N2 - OSPF NSSA external type 2, E1 - OSPF external type 1,
E2 - OSPF external type 2 L1 - ISIS Level1, L2 - ISIS Level2, ia - ISIS Inter Area
Vrf Name: default
---------
0.0.0.0/0 [0/1] via 16.0.0.254
C 16.0.0.0/8 is directly connected, cpu0
Your Product#
DHCP Client Configuration Procedure
The following command configures the OOB management interface to dynamically acquire IP address from the DHCP server.
Your Product# configure terminal
Your Product(config)# interface cpu0
Your Product(config-if)# ip address dhcp
Your Product(config-if)# end
Your Product#
- The following command verifies the OOB management interface dynamic address allocation.
Your Product# show ip interface
cpu0 is up, line protocol is up
Internet Address is 0.0.0.0/0
Broadcast Address 255.255.255.255
IP address allocation method is dynamic
IP address allocation protocol is dhcp
Your Product# show ip interface
cpu0 is up, line protocol is up
Internet Address is
Broadcast Address 16.255.255.255
IP address allocation method is dynamic
IP address allocation protocol is dhcp
Your Product#
- The following command verifies the routing table.
Your Product# show ip route
Codes: C - connected, S - static, R - rip, B - bgp, O - ospf, I - isis, E - ECMP
IA - OSPF inter area, N1 - OSPF NSSA external type 1,
N2 - OSPF NSSA external type 2, E1 - OSPF external type 1,
E2 - OSPF external type 2 L1 - ISIS Level1, L2 - ISIS Level2, ia - ISIS Inter Area
Vrf Name: default
---------
0.0.0.0/0 [0/1] via 16.0.0.254
C 16.0.0.0/8 is directly connected, cpu0
Your Product#
- The following command verifies the DHCP client statistics for the OOB management interface.
Your Product# show ip dhcp client stats
Dhcp Client Statistics
--------------------------
Interface : cpu0
Client IP Address : 16.0.0.10
Client Lease Time : 600
Client Remain Lease Time : 584
Message Statistics
------------------
DHCP DISCOVER : 1
DHCP REQUEST : 2
DHCP DECLINE : 0
DHCP RELEASE : 0
DHCP INFORM : 0
DHCP OFFER : 1
DHCP ACKS IN REQ : 1
DHCP NACKS IN REQ : 0
DHCP ACKS IN RENEW : 1
DHCP NACKS IN RENEW : 0
DHCP ACKS IN REBIND : 0
DHCP NACKS IN REBIND : 0
DHCP ACKS IN REBOOT : 0
DHCP NACKS IN REBOOT : 0
DHCP COUNT ERROR IN HEADER : 0
DHCP COUNT ERROR IN XID : 0
DHCP COUNT ERROR IN OPTIONS : 0
Your Product#
CAUTION: The management connectivity will be lost if the following commands are executed:
#release dhcp cpu0
#renew dhcp cpu0
- The following command enables an OOB interface.
Your Product# configure terminal
Your Product(config)# interface cpu0
Your Product(config-if)# no shutdown
Your Product(config-if)# end
Your Product#
- MIB Config Save and Restore
- The following command writes the running-config to a startup-configuration file:
Your Product# write startup-config
- The following command restarts the switch:
Your Product# reload
Note: Once the IP address is acquired via DHCP and after reboot, the same IP address is incorrectly restored as a static IP address; default gateway is also restored. The management connectivity remains unaffected.
- The no form of the command resets the IP address of the interface to its default value:
Your Product# configure terminal
Your Product(config)# interface cpu0
Your Product(config-if)# no ip address
Your Product(config-if)# end
Your Product#
- The following command sets the static IP address to the OOB interface:
Your Product# configure terminal
Your Product(config)# interface cpu0
Your Product(config-if)# ip address <flex-ip-address>
Your Product(config-if)# end
Note: If the system is left idle after getting the IP address for time equal to ARP refresh timer value (300 seconds), the default route entry is removed. If there is continuous management traffic, this problem is not observed.
Bridge Mode Configuration Procedure
This step is necessary for changing the bridge mode from customer bridge to Provider Edge Bridge.
▶ To configure Bridge Mode
- Shutdown the Spanning Tree on Skylight Flex 100.
Your Product# configure terminal
Your Product(config)# shutdown spanning-tree
Your Product(config)#end
Your Product#
- Disable the ECFM module on Skylight Flex 100.
Your Product# configure terminal
Your Product(config)#no ethernet cfm start
Your Product(config)#end
Your Product#
- Set the bridge mode type to Skylight Flex 100.
Your Product# configure terminal
Your Product(config)# bridge-mode provider-edge
Your Product(config)#end
Your Product#
- Execute the below command to save the running configurations to start-up configuration. This step allows the user to keep the OOB Management interface settings while changing the Bridge Mode.
Your Product# configure terminal
Your Product(config)# write startup-config
Your Product(config)#end
Your Product#
- Reload the Skylight Flex 100 using the below CLI command.
Your Product# configure terminal
Your Product(config)# reload
Your Product(config)#end
Your Product#
- Verify the bridge mode type using the below CLI command.
Your Product# show nvram
© 2024 Cisco and/or its affiliates. All rights reserved.
For more information about trademarks, please visit: Cisco trademarks
For more information about legal terms, please visit: Cisco legal terms
For legal information about Accedian Skylight products, please visit: Accedian legal terms and tradmarks