- About this Guide
- Ultra Services Platform Overview
- Introduction to UGP
- System Operation and Configuration
- Getting Started
- System Settings
- Config Mode Lock Mechanisms
- Management Settings
- Verifying and Saving Your Configuration
- System Interfaces and Ports
- System Security
- Secure System Configuration File
- Software Management Operations
- Smart Licensing
- Monitoring the System
- Bulk Statistics
- System Logs
- Troubleshooting
- Packet Capture (PCAP) Trace
- System Recovery
- Access Control Lists
- Congestion Control
- Routing
- VLANs
- BGP MPLS VPNs
- Content Service Steering
- Session Recovery
- Interchassis Session Recovery
- Support Data Collector
- Engineering Rules
- StarOS Tasks
- NETCONF and ConfD
- ICSR Checkpointing
- UGP SDR CLI Command Strings
- VPC Commands
- KPI Descriptions
System Interfaces
and Ports
This chapter describes how to create a context and configure system interfaces and ports within the context. Before beginning these procedures, refer to your product-specific administration guide for configuration information for your product.
Contexts
Even though multiple contexts can be configured to perform specific functions, they are all created using the same procedure.
Creating Contexts
Commands used in the configuration examples in this section represent the most common or likely commands and/or keyword options. In many cases, other commands and/or keyword options are available. Refer to the Command Line Interface Reference for complete information regarding all commands.
To create a context, apply the following example configuration:
configure context name end
Repeat to configure additional contexts.
Viewing and Verifying Contexts
Ethernet Interfaces and Ports
Regardless of the type of application interface, the procedure to create and configure it consists of the following:
Step 1 | Create an interface and assign an IP address and subnet mask to it by applying the example configuration in Creating an Interface. |
Step 2 | Assign a physical port for use by the interface and bind the port to the interface by applying the example configuration in Configuring a Port and Binding It to an Interface. |
Step 3 | Optionally configure a static route for the interface by applying the example configuration in Configuring a Static Route for an Interface. |
Step 4 | Repeat the above
steps for each interface to be configured.
This section provides the minimum instructions for configuring interfaces and ports to allow the system to communicate on the network. Commands that configure additional interface or port properties are described in the Ethernet Port Configuration Mode Commands and Ethernet Interface Configuration Mode Commands chapters of the Command Line Interface Reference. To ensure that system line card and port-level redundancy mechanisms function properly, the Spanning Tree protocol must be disabled on devices connected directly to any system port. Failure to turn off the Spanning Tree protocol may result in failures in the redundancy mechanisms or service outage. |
Creating an Interface
Use the following example to create a new interface in a context:
configure context name interface name { ip | ipv6 } address address subnetmask [ secondary ] end
Optional: Add the loopback keyword option to the interface name command, to set the interface type as "loopback" which is always UP and not bound to any physical port.
Optional: Add the secondary keyword to the { ip | ipv6 } address command, to assign multiple IP addresses to the interface. IP addresses can be entered using IPv4 dotted-decimal or IPv6 colon-separated-hexadecimal notation.
Optional: In the interface config mode, add the port-switch-on-L3-fail address command, to configure the interface for switchover to the port on the redundant line card if connectivity to a specified IP address is lost. This IP address can be entered using IPv4 dotted-decimal or IPv6 colon-separated-hexadecimal notation.
Configuring a Port and Binding It to an Interface
Use the following example configuration to configure and assign a port to an interface:
configure port ethernet slot#/port# description description no shutdown bind interface interface_name context_name end
-
Optional: In the Ethernet Port configuration mode, add the preferred slot slot# command if you want to specify a port preference.
-
Binding associates the port and all of its settings to the named interface.
Configuring a Static Route for an Interface
Use the following example to configure a static route for an interface:
configure context name { ip | ipv6 } route ip_address netmask next-hop gw_address interface_name end
ip_address and netmask are the IP address and subnet mask of the target network. This IP address can be entered using IPv4 dotted-decimal or IPv6 colon-separated-hexadecimal notation.
gw_address is the IP address of the default gateway or next-hop route. This IP address can be entered using IPv4 dotted-decimal or IPv6 colon-separated-hexadecimal notation.
To configure a route to the gateway router, use 0.0.0.0 for the network and mask variables.
Repeat as needed. Multiple static routes can be configured to the same destination to provide an alternative means of communication in case the preferred route fails.
Viewing and Verifying Port Configuration
VLANs
Virtual LANs (VLANs) allow two logically separated networks to use the same physical medium. VLAN segmentation, also called 802.1q tagging, works by appending a tag identifying the VLAN ID to each Ethernet frame.
For information on how to create VLANs to handle specific packet types, see the VLANs chapter.
Hypervisors
VLAN usage under KVM is an extension to bridge interface sharing. The difference lies in which interface participates in the bridge set. The physical interfaces (such as eth0, eth1) are bound to the bridge, which is used by each guest. These interfaces carry unmodified packets coming externally or being generated internally, with or without a VLAN ID tag.
VMware supports the use of virtual switches that allow virtual machines on one vSphere host to communicate with each other using the same protocols as physical switches. The vSwitch emulates a traditional physical Ethernet network switch by forwarding frames at the data-link layer. A vSphere host can have numerous virtual switches, each with more than 1,000 internal virtual ports for virtual machines. The vSphere platform supports the vSphere Standard Switch virtual switch configuration at the host level and the vSphere Distributed Switch, a single virtual switch that spans multiple associated hosts.
VLANs and Management Ports
The management interface supports VLAN configuration. This support extends to the local context.
Bulkstats can be sent out an interface other than the normal management interface. This interface also supports VLANs.
You can also configure other OA&M services on separate VLANs.
Yo can assign separate source IP addresses for the OA&M services. OA&M services should not be bound to the same VLAN as service VLANs. Other services include SGi, Gi, Pi, eGTP or other packet core-specific interfaces and services.
configure port ethernet 1/1 vlan 184 no shutdown bind interface 19/3-UHA foo